IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

[APEC] - mise en place soap


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut [APEC] - mise en place soap
    Bonjour,

    J'aimerai savoir si quelqu'un à déjà mis en place un client soap pour l'apec en PHP. Car j'ai un problème quand j'envoie mon xml sur la methode qui nous permet de créer une offre d'emploi il me retourne que mon xml est mal formé alors que l'apec nous confirme que le xml est correct. Donc je patoge un peu alors si quelqu'un pouvez m'aidé.

  2. #2
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    montre ton code

  3. #3
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Voici mon code :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
     
    $xml  = '<?xml version="1.0" encoding="utf-8" ?>';
    $xml .= "<S:Envelope xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'>";
    $xml .= "<S:Body>";
    $xml .= "<ns2:openPositionRequest xmlns:ns2='http://adep.apec.fr/hrxml/sides' xmlns='http://ns.hr-xml.org/2006-02-28'>";
    $xml .= "<ns2:authentication>";
    $xml .= "<ns2:userId>email</ns2:userId>";
    $xml .= "<ns2:partnerId>id</ns2:partnerId>";
    $xml .= "<ns2:md5Key>a6zd6ad16az16d1az6d16a</ns2:md5Key>";
    $xml .= "</ns2:authentication>";
    $xml .= "<ns2:uniquePayloadTrackingId idOwner='CLIENT'>";
    $xml .= "<IdValue>Client-DAI-3</IdValue>";
    $xml .= "</ns2:uniquePayloadTrackingId>";
    $xml .= "<ns2:position>";
    $xml .= "<ns2:staffingOrder xml:lang='fr'>";
    $xml .= "<OrderId idOwner='CLIENT'>";
    $xml .= "<IdValue>TEST-client-DAI</IdValue>";
    $xml .= "</OrderId>";
    $xml .= "<ReferenceInformation />";
    $xml .= "<CustomerReportingRequirements />";
    $xml .= "<OrderClassification orderStatus='new' orderType='ODD' />";
    $xml .= "<OrderContact contactType='placed by'>";
    $xml .= "<ContactInfo>";
    $xml .= "<PersonName />";
    $xml .= "<ContactMethod>";
    $xml .= "<InternetEmailAddress>e</InternetEmailAddress>";
    $xml .= "</ContactMethod>";
    $xml .= "</ContactInfo>";
    $xml .= "</OrderContact>";
    $xml .= "<PositionQuantity>1</PositionQuantity>";
    $xml .= "<MultiVendorDistribution>true</MultiVendorDistribution>";
    $xml .= "<StaffingPosition>";
    $xml .= "<PositionHeader>";
    $xml .= "<PositionId>";
    $xml .= "<Id>222C</Id>";
    $xml .= "<Domain>";
    $xml .= "<IdIssuer>INSEE</IdIssuer>";
    $xml .= "<IdType>NAF</IdType>";
    $xml .= "</Domain>";
    $xml .= "</PositionId>";
    $xml .= "<PositionTitle>test intitule</PositionTitle>";
    $xml .= "<PositionType>CDI</PositionType>";
    $xml .= "<PositionDescription>Description de test</PositionDescription>";
    $xml .= "<Quantity>1.0</Quantity>";
    $xml .= "</PositionHeader>";
    $xml .= "<CustomerReportingRequirements />";
    $xml .= "<PositionDateRange>";
    $xml .= "<StartDate>2007-01-01</StartDate>";
    $xml .= "</PositionDateRange>";
    $xml .= "<PositionContact contactType='recipient'>";
    $xml .= "<ContactInfo>";
    $xml .= "<PersonName />";
    $xml .= "<ContactMethod>";
    $xml .= "<InternetEmailAddress></InternetEmailAddress>";
    $xml .= "<InternetWebAddress></InternetWebAddress>";
    $xml .= "</ContactMethod>";
    $xml .= "</ContactInfo>";
    $xml .= "</PositionContact>";
    $xml .= "<Rates rateStatus='proposed' rateType='minPayRate'>";
    $xml .= "<Amount currency='EUR' rateAmountPeriod='yearly'>30000</Amount>";
    $xml .= "<Class>regular</Class>";
    $xml .= "<StartDate>2007-01-01</StartDate>";
    $xml .= "</Rates>";
    $xml .= "<Rates rateStatus='proposed' rateType='maxPayRate'>";
    $xml .= "<Amount currency='EUR' rateAmountPeriod='yearly'>40000</Amount>";
    $xml .= "<Class>regular</Class>";
    $xml .= "<StartDate>2007-01-01</StartDate>";
    $xml .= "</Rates>";
    $xml .= "<Rates rateStatus='proposed' rateType='pay'>";
    $xml .= "<Class>regular</Class>";
    $xml .= "<StartDate>2007-01-01</StartDate>";
    $xml .= "<Description>p</Description>";
    $xml .= "</Rates>";
    $xml .= "<WorkSite>";
    $xml .= "<WorkSiteId>";
    $xml .= "<Id>J</Id>";
    $xml .= "<Domain>";
    $xml .= "<IdIssuer>ISO</IdIssuer>";
    $xml .= "<IdType>3166-2</IdType>";
    $xml .= "</Domain>";
    $xml .= "</WorkSiteId>";
    $xml .= "<WorkSiteName>Ile-de-France</WorkSiteName>";
    $xml .= "</WorkSite>";
    $xml .= "<StaffingShift>";
    $xml .= "<Id idOwner='CLIENT'>";
    $xml .= "<IdValue>xxxx</IdValue>";
    $xml .= "</Id>";
    $xml .= "</StaffingShift>";
    $xml .= "<PositionRequirements interviewRequired='false' resumeRequired='false'>";
    $xml .= "<Competency name='GLOBAL_EXPERIENCE_LEVEL'>";
    $xml .= "<CompetencyEvidence>";
    $xml .= "<StringValue>2</StringValue>";
    $xml .= "</CompetencyEvidence>";
    $xml .= "</Competency>";
    $xml .= "<Competency name='INTERNATIONAL_PROFILE' />";
    $xml .= "</PositionRequirements>";
    $xml .= "</StaffingPosition>";
    $xml .= "</ns2:staffingOrder>";
    $xml .= "<ns2:onBehalfOf typeOfOrganization='Customer'>";
    $xml .= "<Organization>";
    $xml .= "<OrganizationName>Entreprise client reel</OrganizationName>";
    $xml .= "<LegalId idOwner='INSEE'>";
    $xml .= "<IdValue>33386886700032</IdValue>";
    $xml .= "</LegalId>";
    $xml .= "<IndustryCode classificationName='INSEE'>222C</IndustryCode>";
    $xml .= "<ContactInfo>";
    $xml .= "<ContactName>";
    $xml .= "<GivenName>Pierre</GivenName>";
    $xml .= "<FamilyName primary='true'>DURAND</FamilyName>";
    $xml .= "<Affix type='formOfAddress'>1</Affix>";
    $xml .= "</ContactName>";
    $xml .= "<ContactMethod>";
    $xml .= "<Telephone>";
    $xml .= "<FormattedNumber>0123455678</FormattedNumber>";
    $xml .= "</Telephone>";
    $xml .= "<Fax>";
    $xml .= "<FormattedNumber>0123455678</FormattedNumber>";
    $xml .= "</Fax>";
    $xml .= "<InternetEmailAddress></InternetEmailAddress>";
    $xml .= "<PostalAddress>";
    $xml .= "<CountryCode>FR</CountryCode>";
    $xml .= "<PostalCode>75014</PostalCode>";
    $xml .= "<Municipality>Paris</Municipality>";
    $xml .= "<DeliveryAddress>";
    $xml .= "<StreetName>rue Didot</StreetName>";
    $xml .= "<BuildingNumber>38</BuildingNumber>";
    $xml .= "</DeliveryAddress>";
    $xml .= "</PostalAddress>";
    $xml .= "</ContactMethod>";
    $xml .= "</ContactInfo>";
    $xml .= "</Organization>";
    $xml .= "</ns2:onBehalfOf>";
    $xml .= "</ns2:position>";
    $xml .= "</ns2:openPositionRequest>";
    $xml .= "</S:Body>";
    $xml .= "</S:Envelope>";
    // -----------------------------------------------------------------------------------------------------------------------------
    // Nouveau Client SOAP
        // Nouvelle instance de la classe soapClient
       $client = new SoapClient('http://testadepsides.apec.fr/tools?wsdl', array('trace' => 1,'encoding'=>'utf-8'));
     
       try{
         $oReturn =   $client->__soapCall("openPosition", array($xml));
        } catch (SoapFault $fault) {
            trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR);
        }
            // affiche le résultat
         var_dump ($oReturn);

  4. #4
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    oula, pour t'envoies du XML, ca marche pas comme ça le SOAP,
    t'as pas non plus avec des try..catch imbrique, un seul suffit dans ton cas,
    faut pas non plus utilise soapCall, c'est direct la méthode, ensuite y'a juste les paramètre de méthode à mettre

  5. #5
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    1- j'ai virer le premier try car s'est du code d'un ancien test.
    2- en gros faudrait que je face un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $client->openPosition($xml)
    3- le xml est bien envoyé puisque leur systeme me renvoie une erreur.

  6. #6
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    Citation Envoyé par amalec78 Voir le message
    1- j'ai virer le premier try car s'est du code d'un ancien test.
    2- en gros faudrait que je face un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $client->openPosition($xml)
    ?
    non c'est pas du XML que t'envoie c'est des valeurs normale

    si mon SOAP a une fonction hello($name)
    tu feras : $client->hello('amalec78')

    c'est à ça que sert le SOAP

    la méthode, openPosition attend un OpenPositionRequestType, donc c'est a toi de le recréer (en array)

  7. #7
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Dans les deux cas j'ai la meme erreur :

    Fatal error: SOAP Fault: (faultcode: ns2:Server, faultstring: API_2004_VALIDATION_ERROR)

  8. #8
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    Citation Envoyé par amalec78 Voir le message
    Dans les deux cas j'ai la meme erreur :

    Fatal error: SOAP Fault: (faultcode: ns2:Server, faultstring: API_2004_VALIDATION_ERROR)
    t'envoie pas les bonnes donnés c'est pour ça, fait bien ton array, en tout ça c'est pas dutout du XML qu'il faut envoyer

    fait un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    print_r($client->__getFunctions());
    print_r($client->__getTypes());
    et tu comprendras

  9. #9
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    petit modification :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $oReturn =   $client->openPosition(array($xml));
    Voici l'erreur :
    Fatal error: SOAP Fault: (faultcode: Client, faultstring: SOAP-ERROR: Encoding: object hasn't 'authentication' property)

  10. #10
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    si je te dis depuis le début de pas envoyer le XML c'est pas pour rien ...

  11. #11
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    premier print (print_r($client->__getFunctions()):

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    Array ( [0] => AcknowledgeType openPosition(OpenPositionRequestType $openPositionRequest) [1] => AcknowledgeType updatePosition(UpdatePositionRequestType $updatePositionRequest) [2] => PositionsType listRecruiterPositionOpenings(ListRecruiterPositionOpeningsRequestType $listRecruiterPositionOpeningsRequest) [3] => string getPositionStatus(GetPositionStatusRequestType $getPositionStatusRequest) [4] => AcknowledgeType updatePositionStatus(UpdatePositionStatusRequestType $updatePositionStatusRequest) [5] => CandidatesType searchCandidates(SearchCandidatesRequestType $searchCandidatesRequest) [6] => SelectedCandidateType getCandidate(GetCandidateRequestType $getCandidateRequest) [7] => dateTime serverTime(NoParamsRequestType $serverTimeRequest) [8] => XmlApecDomainCollectionType listDomains(NoParamsRequestType $listDomainsRequest) [9] => XmlApecDomainType listDomainValues(ListDomainValuesRequestType $listDomainValuesRequest) [10] => OrganizationMembersCollectionType listRecruiters(NoParamsRequestType $listRecruitersRequest) [11] => XmlApecPartnerCollectionType listPartners(ListPartnersRequestType $listPartnersRequest) [12] => AcknowledgeType subscribeRecruiter(SubscribeRecruiterRequestType $subscribeRecruiterRequest) [13] => AcknowledgeType updateRecruiter(UpdateRecruiterRequestType $updateRecruiterRequest) [14] => AcknowledgeType unsubscribeRecruiter(UnsubscribeRecruiterRequestType $unsubscribeRecruiterRequest) )

  12. #12
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Second (print_r($client->__getTypes()); ) :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
     
    Array ( [0] => string NotKnownLiteral [1] => string NotApplicableLiteral [2] => date LocalDateType [3] => union LocalDateNkType {,LocalDateType,NotKnownLiteral} [4] => union LocalDateNaType {,LocalDateType,NotApplicableLiteral} [5] => union LocalDateNkNaType {,LocalDateType,NotKnownLiteral,NotApplicableLiteral} [6] => date DateType [7] => union DateNkType {,DateType,NotKnownLiteral} [8] => union DateNaType {,DateType,NotApplicableLiteral} [9] => union DateNkNaType {,DateType,NotKnownLiteral,NotApplicableLiteral} [10] => time LocalTimeType [11] => union LocalTimeNkType {,LocalTimeType,NotKnownLiteral} [12] => union LocalTimeNaType {,LocalTimeType,NotApplicableLiteral} [13] => union LocalTimeNkNaType {,LocalTimeType,NotKnownLiteral,NotApplicableLiteral} [14] => time TimeType [15] => union TimeNkType {,TimeType,NotKnownLiteral} [16] => union TimeNaType {,TimeType,NotApplicableLiteral} [17] => union TimeNkNaType {,TimeType,NotKnownLiteral,NotApplicableLiteral} [18] => dateTime LocalDateTimeType [19] => union LocalDateTimeNkType {,LocalDateTimeType,NotKnownLiteral} [20] => union LocalDateTimeNaType {,LocalDateTimeType,NotApplicableLiteral} [21] => union LocalDateTimeNkNaType {,LocalDateTimeType,NotKnownLiteral,NotApplicableLiteral} [22] => dateTime DateTimeType [23] => union DateTimeNkType {,DateTimeType,NotKnownLiteral} [24] => union DateTimeNaType {,DateTimeType,NotApplicableLiteral} [25] => union DateTimeNkNaType {,DateTimeType,NotKnownLiteral,NotApplicableLiteral} [26] => union AnyDateTimeType {,LocalDateType,DateType,LocalDateTimeType,DateTimeType} [27] => union AnyDateTimeNkType {,LocalDateType,DateType,LocalDateTimeType,DateTimeType,NotKnownLiteral} [28] => union AnyDateTimeNaType {,LocalDateType,DateType,LocalDateTimeType,DateTimeType,NotApplicableLiteral} [29] => union AnyDateTimeNkNaType {,LocalDateType,DateType,LocalDateTimeType,DateTimeType,NotKnownLiteral,NotApplicableLiteral} [30] => struct EntityIdType { IdValue IdValue; AnyDateTimeNkNaType validFrom; AnyDateTimeNkNaType validTo; string idOwner; } [31] => struct IdValue { string _; string name; } [32] => NCName anonymous32 [33] => struct PersonNameType { string FormattedName; string LegalName; string GivenName; string PreferredGivenName; string MiddleName; FamilyName FamilyName; Affix Affix; AlternateScript AlternateScript; string script; } [34] => struct FamilyName { string _; anonymous35 primary; string prefix; } [35] => string anonymous35 [36] => struct Affix { string _; anonymous37 type; } [37] => string anonymous37 [38] => struct AlternateScript { string FormattedName; string LegalName; string GivenName; string PreferredGivenName; string MiddleName; FamilyName FamilyName; Affix Affix; string script; } [39] => struct FamilyName { string _; anonymous40 primary; string prefix; } [40] => string anonymous40 [41] => struct Affix { string _; anonymous42 type; } [42] => string anonymous42 [43] => struct PostalAddressType { CountryCode CountryCode; string PostalCode; string Region; string Municipality; DeliveryAddress DeliveryAddress; Recipient Recipient; anonymous47 type; } [44] => string CountryCode [45] => struct DeliveryAddress { string AddressLine; string StreetName; string BuildingNumber; string Unit; string PostOfficeBox; } [46] => struct Recipient { PersonNameType PersonName; string AdditionalText; string Organization; string OrganizationName; } [47] => string anonymous47 [48] => string xStringPatternExtensionType [49] => struct TelcomNumberType { string FormattedNumber; string InternationalCountryCode; string NationalNumber; string AreaCityCode; string SubscriberNumber; string Extension; } [50] => struct MobileTelcomNumberType { boolean smsEnabled; } [51] => struct TelcomNumberListType { TelcomNumberType Telephone; MobileTelcomNumberType Mobile; TelcomNumberType Fax; TelcomNumberType Pager; TelcomNumberType TTYTDD; } [52] => string InternetEmailAddressType [53] => string InternetWebAddressType [54] => struct ContactMethodType { contactMethodUsePatternExtensionType Use; contactMethodLocationPatternExtensionType Location; contactMethodWhenAvailableType WhenAvailable; TelcomNumberType Telephone; MobileTelcomNumberType Mobile; TelcomNumberType Fax; TelcomNumberType Pager; TelcomNumberType TTYTDD; InternetEmailAddressType InternetEmailAddress; InternetWebAddressType InternetWebAddress; PostalAddressType PostalAddress; } [55] => string contactMethodUseType [56] => string contactMethodLocationType [57] => string contactMethodWhenAvailableType [58] => union contactMethodUsePatternExtensionType {,contactMethodUseType,xStringPatternExtensionType} [59] => union contactMethodLocationPatternExtensionType {,contactMethodLocationType,xStringPatternExtensionType} [60] => union contactMethodWhenAvailablePatternExtensionType {,contactMethodWhenAvailableType,xStringPatternExtensionType} [61] => struct UserAreaType { any; } [62] => struct ExceptionType { string ExceptionIdentifier; ExceptionSeverity ExceptionSeverity; string ExceptionMessage; string ExceptionScopeSchemaXPath; string SubordinateEntityXPath; Followup Followup; AdditionalData AdditionalData; } [63] => string ExceptionSeverity [64] => struct Followup { EntityIdType OrganizationId; string OrganizationName; PersonNameType PersonName; ContactMethodType ContactInfo; anonymous65 responsibleForFollowup; } [65] => string anonymous65 [66] => struct AdditionalData { string Description; string Value; } [67] => struct EntityExceptionType { anyType EntityXMLFragment; ExceptionType Exception; } [68] => struct AcknowledgeType { PayloadResponseSummaryType PayloadResponseSummary; PayloadDispositionType PayloadDisposition; UserAreaType UserArea; language lang; } [69] => struct PayloadDispositionType { EntityDisposition EntityDisposition; } [70] => struct EntityDisposition { EntityIdType EntityIdentifier; string EntityShortName; string EntitySchemaXPath; string EntityInstanceXPath; EntityNoException EntityNoException; EntityExceptionType EntityException; } [71] => string EntityNoException [72] => struct PayloadResponseSummaryType { EntityIdType ReferenceId; TransportMessageId TransportMessageId; EntityIdType UniquePayloadTrackingId; DateTimeType TransactionReceiptTimestamp; ProcessingTimestamp ProcessingTimestamp; DateTimeType AcknowledgementCreationTimestamp; ReceivedPayloadSummary ReceivedPayloadSummary; } [73] => struct TransportMessageId { string MessageIdType; EntityIdType MessageId; } [74] => struct ProcessingTimestamp { DateTimeType _; string description; } [75] => struct ReceivedPayloadSummary { anyURI ReceivedPayloadSchemaURI; EntityInfo EntityInfo; } [76] => struct EntityInfo { string EntityInstanceAxisXPath; nonNegativeInteger Count; string EntityShortName; } [77] => struct IndustryCodeType { string _; boolean primaryIndicator; string classificationName; } [78] => struct InternetDomainNameType { string _; boolean primaryIndicator; } [79] => struct EntityReferenceType { EntityIdType Id; string Name; } [80] => integer DunsNumberBaseType [81] => struct DunsNumberDataType { DunsNumberBaseType _; anonymous82 dunsNumberType; } [82] => string anonymous82 [83] => integer GenderCodeType [84] => string CurrencyCodeType [85] => string CountryCodeType [86] => language LanguageCodeType [87] => struct LanguageDependentTextType { string _; language lang; } [88] => struct WorkSiteType { string WorkSiteName; EntityIdType WorkSiteId; Details Details; PostalAddressType PostalAddress; LanguageDependentTextType TravelDirections; LanguageDependentTextType ParkingInstructions; WorkSiteEnvironmentType WorkSiteEnvironment; UserAreaType UserArea; } [89] => struct Details { LanguageDependentTextType _; string type; } [90] => struct WorkSiteEnvironmentType { string EnvironmentName; EntityIdType EnvironmentId; EntityIdType WorkSiteId; Description Description; Considerations Considerations; UserAreaType UserArea; } [91] => struct Description { string _; language lang; } [92] => struct Considerations { string General; string Physical; SafetyEquipmentType SafetyEquipment; DressCodeType DressCode; UserAreaType UserArea; language lang; } [93] => struct SafetyEquipmentType { string _; boolean suppliedByOrganization; } [94] => struct DressCodeType { DressCodeContentTypes _; boolean suppliedByOrganization; } [95] => union DressCodeContentTypes {,DressCodeContentType,xStringPatternExtensionType} [96] => string DressCodeContentType [97] => struct Organization { } [98] => struct OrganizationType { string OrganizationName; EntityIdType OrganizationId; EntityIdType TaxId; EntityIdType LegalId; DunsNumberDataType DunsNumber; boolean IsPublicCompany; StockType Stock; string MissionStatement; string ValueStatement; InternetDomainNameType InternetDomainName; LanguageDependentTextType DoingBusinessAs; OrganizationLegalClassificationType LegalClassification; IndustryCodeType IndustryCode; nonNegativeInteger Headcount; string Description; WorkSiteType WorkSite; OrganizationContactType ContactInfo; RelatedOrganizationType RelatedOrganization; OrganizationalUnitType OrganizationalUnit; UserAreaType UserArea; } [99] => struct OrganizationalUnitType { string OrganizationalUnitName; EntityIdType OrganizationalUnitId; EntityIdType OrganizationId; string Description; IndustryCodeType IndustryCode; AccountingCodeType AccountingCode; WorkSiteType WorkSite; RelatedOrganizationalUnitType RelatedOrganizationalUnit; OrganizationalUnitPersonMemberType PersonMember; UserAreaType UserArea; string typeOfGroup; HierarchicalRoleType hierarchicalRole; } [100] => struct RelatedOrganizationType { OrganizationRelationshipType relationship; } [101] => union OrganizationRelationshipType {,BasicOrganizationRelationshipType,xStringPatternExtensionType} [102] => string BasicOrganizationRelationshipType [103] => struct RelatedOrganizationalUnitType { OrganizationalUnitRelationshipType relationship; OrganizationalUnitStructureType natureOfRelationship; } [104] => union OrganizationalUnitRelationshipType {,BasicOrganizationalUnitRelationshipType,xStringPatternExtensionType} [105] => string BasicOrganizationalUnitRelationshipType [106] => union HierarchicalRoleType {,BasicHierarchicalRoleType,xStringPatternExtensionType} [107] => string BasicHierarchicalRoleType [108] => union OrganizationalUnitStructureType {,BasicOrganizationalUnitStructureType,xStringPatternExtensionType} [109] => string BasicOrganizationalUnitStructureType [110] => struct OrganizationLegalClassificationType { string _; CountryCodeType countryCode; OrganizationLegalOwnershipType ownership; } [111] => union OrganizationLegalOwnershipType {,BasicOrganizationLegalOwnershipType,xStringPatternExtensionType} [112] => string BasicOrganizationLegalOwnershipType [113] => struct OrganizationContactType { PersonNameType ContactName; EntityIdType ContactId; ContactMethodType ContactMethod; OrganizationContactPurposeType purpose; } [114] => union OrganizationContactPurposeType {,BasicOrganizationContactPurposeType,xStringPatternExtensionType} [115] => string BasicOrganizationContactPurposeType [116] => struct OrganizationalUnitPersonMemberType { PersonNameType PersonName; EntityIdType PersonId; OrganizationalUnitPersonMemberRoleType PersonRole; ContactMethodType ContactMethod; } [117] => struct OrganizationalUnitPersonMemberRoleType { string RoleName; EntityIdType RoleId; string Description; boolean leader; } [118] => struct AccountingCodeType { string _; string description; } [119] => struct StockType { EntityIdType Id; string Symbol; string Exchange; } [120] => struct CustomerReportingRequirementsType { string ManagerName; string SupervisorName; string ContactName; string PurchaseOrderNumber; string DepartmentCode; string DepartmentName; string LocationCode; string LocationName; string CostCenterCode; string CostCenterName; string CustomerJobCode; string CustomerJobDescription; string AccountCode; string ProjectCode; string ExternalOrderNumber; string ExternalReqNumber; string Entity; string SubEntity; string Shift; string CustomerReferenceNumber; AdditionalRequirement AdditionalRequirement; string PurchaseOrderLineItem; } [121] => struct AdditionalRequirement { string _; string requirementTitle; } [122] => struct NumericValue { double _; double minValue; double maxValue; double interval; string description; } [123] => struct StringValue { string _; string minValue; string maxValue; string description; } [124] => union ExtendedWeightType {,CompetencyWeightType,xStringPatternExtensionType} [125] => string CompetencyWeightType [126] => struct CompetencyType { CompetencyId CompetencyId; TaxonomyId TaxonomyId; CompetencyEvidence CompetencyEvidence; CompetencyWeight CompetencyWeight; CompetencyType Competency; UserAreaType UserArea; string name; string description; boolean required; } [127] => struct CompetencyId { string id; string idOwner; string description; } [128] => struct TaxonomyId { string id; string idOwner; string description; } [129] => struct CompetencyEvidence { EvidenceId EvidenceId; NumericValue NumericValue; StringValue StringValue; string SupportingInformation; AnyDateTimeType dateOfIncident; string name; string typeDescription; AnyDateTimeType expirationDate; string typeId; boolean required; AnyDateTimeType lastUsed; } [130] => struct EvidenceId { string id; string idOwner; string description; } [131] => struct CompetencyWeight { NumericValue NumericValue; StringValue StringValue; string SupportingInformation; ExtendedWeightType type; } [132] => struct PositionHeader { PositionIdentifierType PositionId; PositionIdentifierType JobId; string PositionTitle; string PositionType; string PositionDescription; PositionStatus PositionStatus; PositionIdentifierType ReportToPositionId; string SpecialInstructions; string TypeOfHours; double Quantity; RequestedPerson RequestedPerson; PositionSpecificCondition PositionSpecificCondition; AnyDateTimeType validFrom; AnyDateTimeType validTo; } [133] => struct RequestedPerson { PersonNameType PersonName; EntityIdType PersonId; EntityReferenceType Supplier; boolean mandatory; boolean currentlyAssigned; } [134] => struct PositionSpecificCondition { string ConditionCode; string ConditionDescription; string ConditionValue; } [135] => struct PositionStatus { string Code; string Description; } [136] => struct PositionIdentifierType { string Id; Domain Domain; } [137] => struct Domain { string IdIssuer; string IdType; } [138] => struct StaffingWorkSiteType { WorkSiteId WorkSiteId; string WorkSiteName; WorkSiteDetail WorkSiteDetail; PostalAddressType PostalAddress; string TravelDirections; string ParkingInstructions; } [139] => struct WorkSiteId { string Id; Domain Domain; } [140] => struct Domain { string IdIssuer; string IdType; } [141] => struct WorkSiteDetail { string _; string workSiteType; } [142] => struct StaffingWorkSiteEnvironmentType { EnvironmentId EnvironmentId; string EnvironmentName; string EnvironmentDescription; EnvironmentConsideration EnvironmentConsideration; } [143] => struct EnvironmentId { string Id; Domain Domain; } [144] => struct Domain { string IdIssuer; string IdType; } [145] => struct EnvironmentConsideration { string _; boolean suppliedByOrganization; anonymous146 typeConsideration; } [146] => string anonymous146 [147] => struct RatesType { EntityIdType ExternalRateSetId; Amount Amount; string Class; EntityIdType StaffingShiftId; Multiplier Multiplier; AnyDateTimeNaType StartDate; AnyDateTimeNkType EndDate; string Description; EntityIdType RatesId; EntityIdType CustomerRateClassification; BillingMultiplier BillingMultiplier; RateDataType rateType; RateStatusType rateStatus; language lang; } [148] => struct Amount { decimal _; AmountPeriodType rateAmountPeriod; anonymous149 currency; } [149] => string anonymous149 [150] => struct Multiplier { decimal _; boolean percentIndicator; } [151] => struct BillingMultiplier { decimal _; boolean percentIndicator; } [152] => string KnownRateType [153] => union RateDataType {,KnownRateType,string} [154] => string KnownRateStatus [155] => union RateStatusType {,KnownRateStatus,xStringPatternExtensionType} [156] => string KnownAmountPeriod [157] => union AmountPeriodType {,KnownAmountPeriod,xStringPatternExtensionType} [158] => struct StaffingShiftType { EntityIdType Id; string Name; decimal Hours; LocalTimeNkNaType StartTime; LocalTimeNkNaType EndTime; string TypeHours; string Comment; EntityIdType ExternalStaffingShiftSetId; anonymous159 shiftPeriod; language lang; } [159] => string anonymous159 [160] => struct ContactInfoType { PersonNameType PersonName; ContactMethodType ContactMethod; } [161] => struct EntityContactInfoType { string EntityName; PersonNameType PersonName; ContactMethodType ContactMethod; } [162] => string KnownContactType [163] => union StaffingContactType {,KnownContactType,string} [164] => struct ResourceScreeningType { AnyDateTimeType ScreeningResultDate; string ScreeningResult; string ScreeningComments; StaffingScreeningType screeningType; language lang; } [165] => string KnownScreeningType [166] => union StaffingScreeningType {,KnownScreeningType,string} [167] => union AnyLocalYearMonthDateType {,AnyLocalDateYearMonthDayType,AnyLocalDateYearMonthType,AnyLocalDateYearType} [168] => date AnyLocalDateYearMonthDayType [169] => gYearMonth AnyLocalDateYearMonthType [170] => gYear AnyLocalDateYearType [171] => union AnyLocalYearMonthDateNkType {,NotKnownLiteral,AnyLocalDateYearMonthDayType,AnyLocalDateYearMonthType,AnyLocalDateYearType} [172] => union AnyLocalYearMonthDateNaType {,NotApplicableLiteral,AnyLocalDateYearMonthDayType,AnyLocalDateYearMonthType,AnyLocalDateYearType} [173] => union AnyLocalYearMonthDateNkNaType {,NotKnownLiteral,NotApplicableLiteral,AnyLocalDateYearMonthDayType,AnyLocalDateYearMonthType,AnyLocalDateYearType} [174] => struct FlexibleDatesType { AnyDateTimeNkNaType AnyDate; gYearMonth YearMonth; gYear Year; gMonthDay MonthDay; string StringDate; string dateDescription; } [175] => struct StaffingPositionType { PositionHeader PositionHeader; CustomerReportingRequirementsType CustomerReportingRequirements; string DepartmentName; string PositionReason; PositionDateRange PositionDateRange; ReportToPerson ReportToPerson; PositionContact PositionContact; RatesType Rates; StaffingWorkSiteType WorkSite; StaffingWorkSiteEnvironmentType WorkSiteEnvironment; StaffingShiftType StaffingShift; PositionRequirements PositionRequirements; language lang; } [176] => struct PositionDateRange { AnyDateTimeType StartDate; AnyDateTimeNkType ExpectedEndDate; AnyDateTimeNaType ActualEndDate; FlexibleDatesType MaxStartDate; boolean StartAsSoonAsPossible; FlexibleDatesType MaxNeedEndDate; } [177] => struct ReportToPerson { ContactInfoType ContactInfo; } [178] => struct PositionContact { ContactInfoType ContactInfo; StaffingContactType contactType; } [179] => struct PositionRequirements { CompetencyType Competency; ScreeningRequirements ScreeningRequirements; boolean resumeRequired; boolean interviewRequired; } [180] => struct ScreeningRequirements { StaffingScreeningType screeningType; } [181] => struct StaffingOrderType { EntityIdType OrderId; ReferenceInformation ReferenceInformation; CustomerReportingRequirementsType CustomerReportingRequirements; OrderClassification OrderClassification; BillToAttention BillToAttention; OrderContact OrderContact; AnyDateTimeNaType RequiredResponseDate; string OrderComments; integer PositionQuantity; integer PositionQuantityOpen; boolean MultiVendorDistribution; StaffingPositionType StaffingPosition; UserAreaType UserArea; language lang; } [182] => struct ReferenceInformation { EntityIdType MasterOrderId; EntityIdType StaffingCustomerId; EntityIdType StaffingCustomerOrgUnitId; EntityIdType IntermediaryId; EntityIdType StaffingSupplierId; EntityIdType BillToEntityId; EntityIdType StaffingSupplierOrgUnitId; } [183] => struct OrderClassification { OrderDataType orderType; OrderStatusType orderStatus; } [184] => struct BillToAttention { ContactInfoType ContactInfo; } [185] => struct OrderContact { ContactInfoType ContactInfo; StaffingContactType contactType; } [186] => string KnownOrderType [187] => union OrderDataType {,KnownOrderType,string} [188] => string KnownOrderStatus [189] => union OrderStatusType {,KnownOrderStatus,xStringPatternExtensionType} [190] => struct FRBankAccountInfoType { BankInfoByJurisdiction BankInfoByJurisdiction; string BankAccountForeign; } [191] => struct BankInfoByJurisdiction { string BankCode; string BankWindow; string BankAccountNumber; string BankAccountKey; string bankJurisdiction; } [192] => struct BankAccountInfoType { } [193] => struct StaffingOrganizationType { Organization Organization; PaymentInfoType PaymentInfo; StaffingReferenceIdType ReferenceIdInfo; UserAreaType UserArea; TypeOfOrganizationType typeOfOrganization; language lang; } [194] => string StaffingOrganizationTypes [195] => union TypeOfOrganizationType {,StaffingOrganizationTypes,xStringPatternExtensionType} [196] => struct StaffingReferenceIdType { EntityIdType StaffingCustomerId; EntityIdType StaffingCustomerOrgUnitId; EntityIdType StaffingSupplierId; EntityIdType StaffingSupplierOrgUnitId; EntityIdType OrderId; EntityIdType HumanResourceId; EntityIdType IntermediaryId; EntityIdType PositionId; EntityIdType BillToEntityId; EntityIdType AssignmentId; EntityIdType TimeCardId; EntityIdType InvoiceId; UserAreaType UserArea; } [197] => struct PaymentInfoType { EntityIdType OrganizationId; EntityIdType OrganizationalUnitId; decimal VATRate; PaymentCondition PaymentCondition; BankAccountInfoType BankAccountInfo; Capital Capital; FinancialGuarantee FinancialGuarantee; string CollectiveAgreement; UserAreaType UserArea; } [198] => struct PaymentCondition { Structured Structured; string Description; } [199] => struct Structured { string PaymentMode; decimal PaymentTimeAllowed; string PaymentEvent; decimal PaymentDay; } [200] => struct Capital { decimal _; CurrencyCodeType currencyCode; } [201] => struct FinancialGuarantee { string Name; Amount Amount; } [202] => struct Amount { string _; CurrencyCodeType currencyCode; } [203] => struct SchoolOrInstitutionType { string SchoolName; SchoolDataType School; LocationSummary LocationSummary; PostalAddressType PostalAddress; OrganizationUnit OrganizationUnit; EduDegreeType Degree; string Major; string Minor; EduMeasureType Measure; DeprecatedDatesOfAttendanceType DatesOfAttendance; string Comments; UserAreaType UserArea; SchoolTypeStringExtensionType schoolType; } [204] => struct LocationSummary { string Municipality; string Region; CountryCodeType CountryCode; string PostalCode; } [205] => struct OrganizationUnit { string _; OrgTypeStringExtensionType organizationType; anonymous206 attendanceStatus; } [206] => string anonymous206 [207] => struct SchoolDataType { InternetDomainNameType InternetDomainName; EntityIdType SchoolId; string SchoolName; SchoolTypeType type; } [208] => struct EduDegreeType { DegreeName DegreeName; FlexibleDatesType DegreeDate; OtherHonors OtherHonors; MajorType DegreeMajor; MinorType DegreeMinor; EducationalMeasureType DegreeMeasure; DatesOfAttendanceType DatesOfAttendance; string Comments; UserAreaType UserArea; DegreeTypeStringExtensionType degreeType; boolean examPassed; GraduatingDegreeType graduatingDegree; } [209] => struct DegreeName { string _; string academicHonors; string honorsProgram; } [210] => struct OtherHonors { string _; string type; } [211] => struct MajorType { EntityIdType ProgramId; string DegreeConcentration; string Name; string Option; } [212] => struct MinorType { EntityIdType ProgramId; string Name; } [213] => struct DeprecatedDatesOfAttendanceType { FlexibleDatesType StartDate; FlexibleDatesType EndDate; string enrollmentStatus; boolean currentlyEnrolled; boolean studentInGoodStanding; } [214] => struct DatesOfAttendanceType { FlexibleDatesType StartDate; FlexibleDatesType EndDate; string enrollmentStatus; boolean currentlyEnrolled; boolean studentInGoodStanding; } [215] => string degreeCodeTypes [216] => string graduationCodeTypes [217] => string degreeTypes [218] => union DegreeTypeStringExtensionType {,degreeTypes,degreeCodeTypes,graduationCodeTypes,string} [219] => string orgTypes [220] => union OrgTypeStringExtensionType {,orgTypes,string} [221] => string schoolTypes [222] => union SchoolTypeStringExtensionType {,schoolTypes,string} [223] => string AcademicCreditCodeType [224] => string CourseLevelCodeType [225] => struct MeasureValueType { NumericValue NumericValue; StringValue StringValue; } [226] => struct EduMeasureType { string MeasureSystem; string MeasureValue; string measureType; } [227] => struct EducationMeasureType { string MeasureSystem; MeasureValueType MeasureValue; MeasureValueType LowestPossibleValue; MeasureValueType HighestPossibleValue; boolean ExcessiveValueIndicator; boolean GoodStudentIndicator; } [228] => struct EducationalMeasureType { EducationMeasureType EducationalMeasure; AcademicCreditCodeType AcademicCreditCode; CourseLevelCodeType CourseLevelCode; boolean CumulativeSummaryIndicator; decimal AcademicCreditHoursIncluded; decimal AcademicCreditHoursAttempted; decimal AcademicCreditHoursEarned; ClassRank ClassRank; string measureType; } [229] => struct ClassRank { integer _; integer numberOfStudents; } [230] => string SchoolTypeType [231] => struct EducationHistoryType { SchoolOrInstitutionType SchoolOrInstitution; } [232] => string GraduatingDegreeType [233] => struct MilitaryHistoryType { CountryCodeType CountryServed; EntityIdType ServiceNumber; ServiceDetail ServiceDetail; string ServiceStatus; string Comments; UserAreaType UserArea; } [234] => struct ServiceDetail { string UnitOrDivision; RankAchievedType RankAchieved; DatesOfServiceType DatesOfService; string Campaign; string AreaOfExpertise; string RecognitionAchieved; string DisciplinaryAction; string DischargeStatus; UserAreaType UserArea; string branch; } [235] => struct RankAchievedType { string StartRank; string CurrentOrEndRank; } [236] => struct DatesOfServiceType { FlexibleDatesType StartDate; FlexibleDatesType EndDate; } [237] => struct DistributionGuidelinesType { DistributeTo DistributeTo; DistributionType DoNotDistributeTo; } [238] => struct DistributeTo { ContactMethodType ContactMethod; } [239] => struct DistributionType { EntityIdType Id; string Name; LocalDateNkNaType validFrom; LocalDateNkNaType validTo; } [240] => struct LocationSummaryType { CountryCodeType CountryCode; string PostalCode; string Municipality; string Region; } [241] => struct References { ReferenceType Reference; } [242] => struct ReferenceType { PersonNameType PersonName; string PositionTitle; ContactMethodType ContactMethod; string Comments; ReferenceTypes type; } [243] => union ReferenceTypes {,BasicReferenceType,xStringPatternExtensionType} [244] => string BasicReferenceType [245] => struct Achievements { AchievementType Achievement; } [246] => struct AchievementType { FlexibleDatesType Date; string Description; string IssuingAuthority; } [247] => struct Associations { Association Association; } [248] => struct Association { ExtendedAssociationTypeType type; } [249] => struct AssociationType { string Name; EntityIdType Id; InternetWebAddressType Link; FlexibleDatesType StartDate; FlexibleDatesType EndDate; Role Role; string Comments; } [250] => struct Role { string Name; string Deliverable; FlexibleDatesType StartDate; FlexibleDatesType EndDate; string Comments; } [251] => union ExtendedAssociationTypeType {,AssociationTypeType,xStringPatternExtensionType} [252] => string AssociationTypeType [253] => struct StaffingSupportingMaterialsType { InternetWebAddressType Link; AttachmentReference AttachmentReference; string Description; } [254] => struct AttachmentReference { string _; string context; string mimeType; } [255] => struct Language { LanguageCodeType LanguageCode; boolean Read; boolean Write; boolean Speak; string Comments; } [256] => struct JobLevelInfoType { string JobPlan; string JobGrade; string JobStep; string Comments; } [257] => struct OccupationalCategoryType { TaxonomyName TaxonomyName; string CategoryCode; string CategoryDescription; string Comments; OccupationalCategoryType JobCategory; } [258] => struct TaxonomyName { string _; string version; } [259] => struct PositionPostingsType { PositionPosting PositionPosting; } [260] => struct PositionPosting { EntityIdType Id; string Title; InternetWebAddressType Link; } [261] => struct SupplierType { EntityIdType SupplierId; string EntityName; PersonNameType ContactName; ContactMethodType ContactMethod; SourceTypeType SourceType; RelationshipsType relationship; } [262] => struct PositionSupplierType { EntityIdType SupplierId; string EntityName; PersonNameType ContactName; ContactMethodType ContactMethod; string Role; RelationshipsType relationship; } [263] => struct SourceDataType { EntityIdType SourceId; string SourceName; SourceTypeType SourceType; } [264] => struct SourceTypeType { SourceEnumType StandardValue; string NonStandardValue; } [265] => string SourceEnumType [266] => union RelationshipsType {,RelationshipType,xStringPatternExtensionType} [267] => string RelationshipType [268] => struct RecordInfoType { EntityIdType Id; Status Status; } [269] => struct Status { ExtendedBasicStatusType _; AnyDateTimeNkNaType validFrom; AnyDateTimeNkNaType validTo; } [270] => union ExtendedBasicStatusType {,BasicStatusType,xStringPatternExtensionType} [271] => string BasicStatusType [272] => struct PositionDateInfoType { boolean StartAsSoonAsPossible; AnyDateTimeType StartDate; AnyDateTimeNkNaType ExpectedEndDate; AnyDateTimeNkNaType MaximumStartDate; AnyDateTimeNkNaType MaximumEndDate; } [273] => struct EmploymentHistoryType { EmployerOrgDataType EmployerOrg; } [274] => struct EmployerOrgDataType { string EmployerOrgName; EmpContactInfoType EmployerContactInfo; PositionHistory PositionHistory; UserAreaType UserArea; EmpOrgTypeStringExtensionType employerOrgType; } [275] => struct PositionHistory { } [276] => struct EmpContactInfoType { PersonNameType PersonName; ContactMethodType ContactMethod; EmploymentLocationSummaryType LocationSummary; InternetDomainNameType InternetDomainName; ContactTypeStringExtensionType contactType; } [277] => struct PositionHistoryType { string Title; PositionOrgNameType OrgName; PositionOrgInfoType OrgInfo; PositionOrgIndustryType OrgIndustry; string OrgSize; string Description; FlexibleDatesType StartDate; FlexibleDatesType EndDate; PositionCompensationType Compensation; string Comments; VerificationType Verification; JobLevelInfoType JobLevelInfo; OccupationalCategoryType JobCategory; CompetencyType Competency; UserAreaType UserArea; PositionTypexStringPatternExtensionType positionType; boolean currentEmployer; } [278] => struct VerificationType { ContactInfo ContactInfo; string ReasonForLeaving; boolean PermissionToContact; boolean VerifyEmployment; boolean EligibleForRehire; RatingType AttendanceRating; RatingType OverallPerformanceRating; EmploymentQuestionAnswerPairType QuestionAnswerPair; } [279] => struct ContactInfo { PersonNameType PersonName; ContactMethodType ContactMethod; } [280] => struct RatingType { NumericValue NumericValue; StringValue StringValue; } [281] => struct NumericValue { double _; double minValue; double maxValue; string description; } [282] => struct StringValue { string _; string minValue; string maxValue; string description; } [283] => string contactTypes [284] => union ContactTypeStringExtensionType {,contactTypes,string} [285] => string employerOrgTypes [286] => union EmpOrgTypeStringExtensionType {,employerOrgTypes,string} [287] => string organizationTypes [288] => union OrganizationTypeStringExtensionType {,organizationTypes,string} [289] => string positionTypes [290] => union PositionTypexStringPatternExtensionType {,positionTypes,xStringPatternExtensionType} [291] => string intervalTypes [292] => union IntervalTypeStringExtensionType {,intervalTypes,string} [293] => struct PositionOrgNameType { string OrganizationName; PositionOrgNameType OrgName; OrganizationTypeStringExtensionType organizationType; } [294] => struct PositionOrgInfoType { PostalAddressType PositionLocation; InternetWebAddressType WebSite; EmploymentLocationSummaryType LocationSummary; } [295] => struct PositionOrgIndustryType { string IndustryDescription; IndustryCode IndustryCode; boolean primaryIndicator; } [296] => struct IndustryCode { string _; string classificationName; } [297] => struct PositionCompensationType { StartingCompensation StartingCompensation; EndingCompensation EndingCompensation; string Comments; OtherCompensation OtherCompensation; } [298] => struct StartingCompensation { string _; CurrencyCodeType currency; IntervalTypeStringExtensionType intervalType; AnyDateTimeNaType validFrom; AnyDateTimeNaType validTo; } [299] => struct EndingCompensation { string _; CurrencyCodeType currency; IntervalTypeStringExtensionType intervalType; AnyDateTimeNaType validFrom; AnyDateTimeNaType validTo; } [300] => struct OtherCompensation { string _; string type; AnyDateTimeNaType validFrom; AnyDateTimeNaType validTo; } [301] => struct EmploymentLocationSummaryType { string Municipality; string Region; CountryCodeType CountryCode; string PostalCode; } [302] => struct EmploymentQuestionAnswerPairType { string Question; string Answer; } [303] => struct PublicationHistoryType { FormattedPublicationDescription FormattedPublicationDescription; ArticleType Article; BookType Book; ConferencePaperType ConferencePaper; OtherPublicationType OtherPublication; } [304] => struct FormattedPublicationDescription { string _; PublicationTypes type; } [305] => struct BasicBibliographicRecordType { string Title; Name Name; FlexibleDatesType PublicationDate; InternetWebAddressType Link; string Abstract; CopyrightType Copyright; string Comments; } [306] => struct Name { ExtendedRoleType role; } [307] => struct ArticleType { string JournalOrSerialName; issnType ISSN; string Volume; string Issue; string PageNumber; LanguageCodeType PublicationLanguage; } [308] => struct BookType { string Edition; string Chapter; issnType ISSN; isbnType ISBN; positiveInteger NumberOfPages; string PublisherName; string PublisherLocation; } [309] => struct ConferencePaperType { string EventName; FlexibleDatesType ConferenceDate; string ConferenceLocation; } [310] => struct OtherPublicationType { issnType ISSN; isbnType ISBN; positiveInteger NumberOfPages; string PublisherName; string PublisherLocation; PublicationOtherTypes type; } [311] => struct CopyrightType { CopyrightDates CopyrightDates; string CopyrightText; } [312] => struct CopyrightDates { FlexibleDatesType OriginalDate; FlexibleDatesType MostRecentDate; } [313] => string issnType [314] => string isbnType [315] => union PublicationTypes {,PublicationTypeTypes,xStringPatternExtensionType} [316] => string PublicationTypeTypes [317] => union PublicationOtherTypes {,xStringPatternExtensionType,PublicationOtherTypeTypes} [318] => string PublicationOtherTypeTypes [319] => union ExtendedRoleType {,xStringPatternExtensionType,RoleType} [320] => string RoleType [321] => struct PatentHistoryType { PatentDescriptionType Patent; } [322] => struct PatentDescriptionType { string PatentTitle; string Description; Inventors Inventors; PatentDetail PatentDetail; InternetWebAddressType Link; } [323] => struct Inventors { string InventorName; } [324] => struct PatentDetail { IssuingAuthority IssuingAuthority; PatentMilestone PatentMilestone; } [325] => struct IssuingAuthority { string _; CountryCodeType countryCode; } [326] => struct PatentMilestone { string Id; PatentStatusTypes Status; AnyDateTimeNkNaType Date; } [327] => union PatentStatusTypes {,PatentStatusTypeTypes,xStringPatternExtensionType} [328] => string PatentStatusTypeTypes [329] => struct SpeakingEventsHistory { SpeakingEventType SpeakingEvent; } [330] => struct SpeakingEventType { string Title; string Role; FlexibleDatesType StartDate; FlexibleDatesType EndDate; string EventName; ExtendedEventTypeType EventType; string Location; string Description; string AffiliatedOrganization; InternetWebAddressType Link; ExtendedSpeakingTypeType type; } [331] => string SpeakingTypeType [332] => union ExtendedSpeakingTypeType {,SpeakingTypeType,xStringPatternExtensionType} [333] => string EventTypeType [334] => union ExtendedEventTypeType {,EventTypeType,xStringPatternExtensionType} [335] => struct AdditionalItemType { EffectiveDate EffectiveDate; string Description; ResumeItemTypes type; } [336] => struct EffectiveDate { FlexibleDatesType StartDate; FlexibleDatesType EndDate; } [337] => union ResumeItemTypes {,xStringPatternExtensionType,ResumeItemTypeTypes} [338] => string ResumeItemTypeTypes [339] => struct LicensesAndCertifications { CredentialType LicenseOrCertification; } [340] => struct SecurityCredentials { CredentialType SecurityCredential; } [341] => struct CredentialType { string Name; string Id; IssuingAuthorityType IssuingAuthority; string Description; EffectiveDate EffectiveDate; } [342] => struct EffectiveDate { FlexibleDatesType ValidFrom; FlexibleDatesType ValidTo; FlexibleDatesType FirstIssuedDate; } [343] => struct IssuingAuthorityType { string _; CountryCodeType countryCode; } [344] => struct SEPContactInfoType { PersonNameType PersonName; ContactMethodType ContactMethod; } [345] => struct Resume { EntityIdType ResumeId; DistributionGuidelinesType DistributionGuidelines; StructuredXMLResumeType StructuredXMLResume; NonXMLResumeType NonXMLResume; UserAreaType UserArea; language lang; } [346] => struct StructuredXMLResumeType { SEPContactInfoType ContactInfo; string ExecutiveSummary; string Objective; EmploymentHistoryType EmploymentHistory; EducationHistoryType EducationHistory; LicensesAndCertifications LicensesAndCertifications; MilitaryHistoryType MilitaryHistory; PatentHistoryType PatentHistory; PublicationHistoryType PublicationHistory; SpeakingEventsHistory SpeakingEventsHistory; Qualifications Qualifications; Languages Languages; Achievements Achievements; Associations Associations; References References; SecurityCredentials SecurityCredentials; ResumeAdditionalItems ResumeAdditionalItems; StaffingSupportingMaterialsType SupportingMaterials; ProfessionalAssociationType ProfessionalAssociations; string Comments; AnyDateTimeNkType RevisionDate; } [347] => struct Qualifications { string QualificationSummary; CompetencyType Competency; } [348] => struct Languages { Language Language; } [349] => struct ResumeAdditionalItems { AdditionalItemType ResumeAdditionalItem; } [350] => struct NonXMLResumeType { string TextResume; string LinkToResume; StaffingSupportingMaterialsType SupportingMaterials; string Comments; AnyDateTimeNkType RevisionDate; } [351] => struct ProfessionalAssociationType { string Association; } [352] => struct HumanResourceType { EntityIdType HumanResourceId; HumanResourceStatus HumanResourceStatus; ReferenceInformation ReferenceInformation; ResourceInformation ResourceInformation; RatesType Rates; Profile Profile; ResourceScreeningType ResourceScreening; Preferences Preferences; string HumanResourceComments; UserAreaType UserArea; language lang; } [353] => struct HumanResourceStatus { StatusType status; string statusChangeReason; } [354] => struct ReferenceInformation { EntityIdType StaffingSupplierId; EntityIdType StaffingCustomerId; EntityIdType IntermediaryId; EntityIdType OrderId; EntityIdType PositionId; EntityIdType AssignmentId; EntityIdType StaffingSupplierOrgUnitId; EntityIdType StaffingCustomerOrgUnitId; } [355] => struct ResourceInformation { ResourceType ResourceType; PersonNameType PersonName; EntityContactInfoType EntityContactInfo; PostalAddressType PostalAddress; AvailabilityDate AvailabilityDate; } [356] => struct ResourceType { boolean independentContractor; boolean payrolledEmployee; } [357] => struct AvailabilityDate { AnyDateTimeNkType AvailabilityStartDate; AnyDateTimeNkType AvailabilityEndDate; } [358] => struct Profile { CompetencyType Competency; Resume Resume; PositionHeader PositionHeader; } [359] => struct Preferences { DesiredShift DesiredShift; Travel Travel; Commute Commute; Relocation Relocation; DistributionRestrictions DistributionRestrictions; DesiredCompensation DesiredCompensation; } [360] => struct DesiredShift { string ShiftName; decimal ShiftHours; LocalTimeNkNaType ShiftStartTime; LocalTimeNkNaType ShiftEndTime; string ShiftComments; } [361] => struct Travel { string PercentageTravel; string TravelConsiderations; boolean willingToTravel; } [362] => struct Commute { string TimeMax; string DistanceMax; string CommuteComments; } [363] => struct Relocation { string RelocationComments; boolean willingToRelocate; } [364] => struct DistributionRestrictions { string DoNotDistributeTo; } [365] => struct DesiredCompensation { CompensationAmount CompensationAmount; string CompensationComments; } [366] => struct CompensationAmount { string _; anonymous367 currency; AmountPeriodType amountPeriod; } [367] => string anonymous367 [368] => string KnownStatusType [369] => union StatusType {,KnownStatusType,xStringPatternExtensionType} [370] => string ValidationEventSeverityType [371] => struct ValidationEventType { ValidationEventSeverityType severity; string message; string locator; } [372] => struct ValidationFaultType { ValidationEventType validationEvent; } [373] => struct AuthenticationType { string userId; string partnerId; string md5Key; } [374] => struct NoParamsRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; } [375] => string siretType [376] => struct DisplayLogoType { boolean _; } [377] => struct ListedCandidateType { HumanResourceType candidate; string coverLetter; string competencies; string hobbies; } [378] => struct SelectedCandidateType { HumanResourceType candidate; string coverLetter; string competencies; string hobbies; BinaryFileType cv; } [379] => struct BinaryFileType { base64Binary content; string mime; string fileName; int size; } [380] => struct OpenPositionRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; SidesPositionOpeningType position; } [381] => struct UpdatePositionRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; SidesPositionOpeningType position; } [382] => struct ListRecruiterPositionOpeningsRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType recruiterId; } [383] => struct GetPositionStatusRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType clientPositionId; } [384] => struct UpdatePositionStatusRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType clientPositionId; string newPositionStatus; } [385] => struct SidesPositionOpeningType { StaffingOrderType staffingOrder; StaffingOrganizationType onBehalfOf; EntityIdType apecPartnerId; } [386] => struct PositionsType { SidesPositionOpeningType position; } [387] => struct SearchCandidatesRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType clientPositionId; date candidateSearchStartDate; date candidateSearchEndDate; string candidateStatus; } [388] => struct GetCandidateRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType candidateId; boolean joinCv; } [389] => struct CandidatesType { ListedCandidateType candidates; } [390] => struct ListDomainValuesRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; string domainName; } [391] => struct ListPartnersRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; partnerIndPay partnerIndPay; partnerType partnerType; } [392] => string partnerIndPay [393] => int partnerType [394] => struct XmlApecDomainType { string domainName; int domainVersion; string domainDescription; XmlApecDomainValueType domainValue; } [395] => struct XmlApecDomainValueType { string domainValueCode; string domainValueValue; } [396] => struct XmlApecDomainCollectionType { XmlApecDomainType domain; } [397] => struct XmlApecPartnerCollectionType { XmlApecPartnerType apecPartners; } [398] => struct XmlApecPartnerType { int partnerSid; string partnerNom; int partnerTyp; string partnerIndPay; int partnerMnt; } [399] => struct OrganizationMembersCollectionType { OrganizationalUnitPersonMemberType recruiter; } [400] => struct SubscribeRecruiterRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType recruiterId; string recruiterPwd; PersonNameType recruiterName; ContactMethodType recruiterContact; siretType companySiret; } [401] => struct UpdateRecruiterRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType recruiterId; EntityIdType newRecruiterId; string newRecruiterPwd; PersonNameType newRecruiterName; ContactMethodType newRecruiterContact; siretType newCompanySiret; } [402] => struct UnsubscribeRecruiterRequestType { AuthenticationType authentication; EntityIdType uniquePayloadTrackingId; EntityIdType recruiterId; } )

  13. #13
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Moi je veux bien pour mon xml mais je ne voi pas comment lui envoyé mon offre....

  14. #14
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    si je comprend bien la faut que je face un tableau avec mes donnée avec le meme nombre de champs que dans le tableau que retourne :

  15. #15
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    Citation Envoyé par amalec78 Voir le message
    Moi je veux bien pour mon xml mais je ne voi pas comment lui envoyé mon offre....
    c'est a toi de connaitre l'API,
    le OpenPositionRequestType comporte 3 elements :

    AuthenticationType authentication;
    EntityIdType uniquePayloadTrackingId;
    SidesPositionOpeningType position;


    donc
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $openPositionRequest = array($authentication, $uniquePayloadTrackingId, $position);
    AuthenticationType 3 elements donc

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    $authentication = array($userid, $partnerId, $md5Key);
    a la fin

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    ]
    $authentication = array($userid, $partnerId, $md5Key);
    $uniquePayloadTrackingId = ...
    $position = ...
    $openPositionRequest = array($authentication, $uniquePayloadTrackingId, $position);
    $client->openPosition($openPositionRequest);

  16. #16
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Bon.. Même en suivant t'es indication ca ne passe pas toujour l'erreur :

    Fatal error: SOAP Fault: (faultcode: Client, faultstring: SOAP-ERROR: Encoding: object hasn't 'authentication' property)

    Je vais essayé de passer par curl j'ai vu que l'on pouvai envoyé aussi par cette methode.

  17. #17
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    Citation Envoyé par amalec78 Voir le message
    Bon.. Même en suivant t'es indication ca ne passe pas toujour l'erreur :

    Fatal error: SOAP Fault: (faultcode: Client, faultstring: SOAP-ERROR: Encoding: object hasn't 'authentication' property)
    dans ce cas il faut mettre les clés

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    array(
        'authentication' => $authentication, 
        'uniquePayloadTrackingId' => $uniquePayloadTrackingId, 
        'position' => $position
    );

  18. #18
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Ok il me semble que j'avais déjà test mais je vais essayé de faire toute les clefs.

    Sinon j'ai trouvé un outil wsl2php qui m'a fait se fichier :AdepHrxmlSidesPositionsService.php.zip

    Si ca peut aider car je ne voie pas comment l'utiliser.

  19. #19
    Membre du Club
    Homme Profil pro
    Développeur Web
    Inscrit en
    Février 2008
    Messages
    155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Santé

    Informations forums :
    Inscription : Février 2008
    Messages : 155
    Points : 48
    Points
    48
    Par défaut
    Ben voici ce que j'ai fait :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
     
     // Nouvelle instance de la classe soapClient
       $client = new SoapClient('http://testadepsides.apec.fr/tools?wsdl', array('trace' => 1,'encoding'=>'utf-8'));
       // Appel de la méthode QuelJour du service web
       try{
       	$authentication = array('userId'=>$userId, 'partnerId'=>$partnerId, 'md5Key'=>$md5);
       	//print_r($authentication);
       	$uniquePayloadTrackingId = array('uniquePayloadTrackingId'=>'sysysys-DAI-3-7777');
     
     
     
       	//orderClassifaction
       	$orderClassification = array('orderTyp'=>'ODA', 'orderStatus'=>'new');
       	//orderContact
       	//$orderContact = array();
       	 // Staffing
        $staffingOrder = array( 'OrderId'=>'test-syn', 
       	                        'ReferenceInformation'=>'xxx', 
       	                        'CustomerReportingRequirements'=>'xxx',
       	                        'OrderClassification'=>$orderClassification,
       	                        'BillToAttention'=>'',
       	                        'OrderComments'=>'xxx',
       	                        'PositionQuantity'=>'xxx',
       	                        'PositionQuantityOpen'=>'xxx',
       	                        'MultiVendorDistribution'=>'xxx',
       	                        'StaffingPosition'=>'xxx',
       	                        'UserArea'=>'xxx',
       	                        'lang'=>'fr'
       	                       );
     
       	$position = array('staffingOrder'=> $staffingOrder);
       	$openPositionRequest = array('authentication'=>$authentication, 'uniquePayloadTrackingId'=>$uniquePayloadTrackingId, 'position'=>$position);
       	$oReturn =   $client->__soapCall("openPosition", array('openPositionRequest'=>$openPositionRequest));
     
       } catch (SoapFault $fault) {
       	trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR);
       }
    Et voici l'erreur :

    Fatal error: SOAP Fault: (faultcode: Client, faultstring: SOAP-ERROR: Encoding: object hasn't 'IdValue' property)

  20. #20
    Expert éminent sénior

    Profil pro
    Inscrit en
    Septembre 2010
    Messages
    7 920
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2010
    Messages : 7 920
    Points : 10 726
    Points
    10 726
    Par défaut
    pas de try et pas de __soapCall
    l'erreur est assez explicite, il te manque le champs IdValue

Discussions similaires

  1. [2.x] Symfony 2 et mise en place web service SOAP
    Par cid007300 dans le forum Symfony
    Réponses: 0
    Dernier message: 23/05/2014, 16h11
  2. Réponses: 1
    Dernier message: 06/02/2014, 08h23
  3. mise en place serveur web intranet
    Par gui4593 dans le forum Installation
    Réponses: 7
    Dernier message: 01/01/2004, 18h18
  4. Mise en place d'index....??
    Par liv dans le forum Requêtes
    Réponses: 6
    Dernier message: 18/12/2003, 11h04

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo