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
| <?
$client = new SoapClient("http://uddi.onetrail.net/uddidocs/ICT_PROD/Deployment/ReceiveRequestService/wsdl_jce_ReceiveRequestService-1346210166.wsdl",
array(
"trace" => 1,
"exceptions" => 1,
"_soap_version" => 1.2
));
$req = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:otr="OTREQ">
<soapenv:Header/>
<soapenv:Body>
<otr:ReceiveRequest>
<otr:Authentication>
<otr:Username>login</otr:Username>
<otr:Password>password</otr:Password>
</otr:Authentication>
<otr:GlobalProcessCode>PRD</otr:GlobalProcessCode>
<otr:KnownInitiatingPartner>
<otr:PartnerIdentification>
<otr:GlobalBusinessIdentifier>3333</otr:GlobalBusinessIdentifier>
</otr:PartnerIdentification>
</otr:KnownInitiatingPartner>
<otr:thisDocumentGenerationDateTime>
<otr:DateTimeStamp>20101018T000000</otr:DateTimeStamp>
</otr:thisDocumentGenerationDateTime>
<!--Optional:-->
<otr:requestedDocumentIdentifier>
<otr:ProprietaryDocumentIdentifier>?</otr:ProprietaryDocumentIdentifier>
</otr:requestedDocumentIdentifier>
</otr:ReceiveRequest>
</soapenv:Body>
</soapenv:Envelope>';
$result=$client->__doRequest($req,
'http://wus.onetrail.net:80/ReceiveRequest/ExecutePortType',
'urn:stc:egate:jce:prjC_Webservices_OTD_ReceiveRequestOTDs:ReceiveRequestServiceWSDL:ReceiveRequest',
'1.2');
?> |
Partager