[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Try consume Soap Message from DHL need to use port 8300



Hello,

Not sure this is the correct way but if I call
http_url_post_xml with as site/url
 'https://wsb.dhl.com/gbl/expressRateBook:pePort:8300  

At least this gives me the certificates in the httpapi_debug.text.
So data is now exchanged.
The debug result looks different now so I attached a new one.
It does not mention CONNECT any longer but it mentions POST.

But looks like it does not recognize the SOAPAction I am sending in my http_url_post_xml.
Because the reply is "HTTP/1.1 500 No service found"
Although I think I copy pasted it from the soapUI project I received from DHL (tab Raw Data)

Which states:

POST https://wsbuat.dhl.com:8300/gbl/expressRateBook HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "euExpressRateBook_providerServices_ShipmentHandlingServices_Binder_getRateRequest"
(also tried without ")

Their WSDL:
https://wsbuat.dhl.com:8300/gbl/expressRateBook?WSDL


Any suggestions?

Many thanks.

Kind Regards,
 
Arco van der Dussen

************************************************************************************************** 
E-mail Confidentiality Notice and Disclaimer. 

This e-mail and any files transmitted with it are confidential and are intended solely for the use 
of the individual or entity to which they are addressed. Access to this e-mail by anyone else is 
unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it, is prohibited. E-mail messages are not 
necessarily secure. Hitachi does not accept responsibility for any changes made to this message 
after it was sent. 
Hitachi checks outgoing e-mail messages for the presence of computer viruses. 
**************************************************************************************************
HTTPAPI Ver 1.24 released 2012-01-23
OS/400 Ver V6R1M0

http_proxy_setauth(): entered
http_long_ParseURL(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: hitachi-eu.com
DNS server found: 193.39.227.30
CONNECT wsbuat.dhl.com:443 HTTP/1.1
Host: wsbuat.dhl.com HTTP/1.1
User-Agent: http-api/1.24
Proxy-Connection: keep-alive
Proxy-Authorization: Basic ******************************


recvresp(): entered
HTTP/1.1 200 Connection established


SetError() #13: HTTP/1.1 200 Connection established
recvresp(): end with 200
recvdoc parms: identity 0
header_load_cookies() entered
-------------------------------------------------------------------------------------
Dump of server-side certificate information:
-------------------------------------------------------------------------------------
Cert Validation Code = 107
-----BEGIN CERTIFICATE-----
MIIFwTCCBKmgAwIBAgIQXMrsoAGgzF393mSn6VW2/DANBgkqhkiG9w0BAQUFADCB
tTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMm
VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzMwHhcNMTEwODEy
MDAwMDAwWhcNMTIwODExMjM1OTU5WjCCASwxCzAJBgNVBAYTAk1ZMREwDwYDVQQI
EwhTZWxhbmdvcjESMBAGA1UEBxQJQ3liZXJqYXlhMTIwMAYDVQQKFClBc2lhLVBh
Y2lmaWMgSW5mb3JtYXRpb24gU2VydmljZXMgU2RuIEJoZDEQMA4GA1UECxQHSVRT
IFBEUzE4MDYGA1UECxMvVGVybXMgb2YgdXNlIGF0IHd3dy5tc2N0cnVzdGdhdGUu
Y29tL3JwYSAoYykgMDQxNDAyBgNVBAsTK0F1dGhlbnRpY2F0ZWQgYnkgTVNDIFRy
dXN0Z2F0ZS5jb20gU2RuLiBCaGQxJzAlBgNVBAsTHk1lbWJlciwgVmVyaVNpZ24g
VHJ1c3QgTmV0d29yazEXMBUGA1UEAxQOd3NidWF0LmRobC5jb20wgZ8wDQYJKoZI
hvcNAQEBBQADgY0AMIGJAoGBALyCpggZUFuLq88xskdiWT3meOdI7E/rJD034r7j
XdQ9PnJU9INY8D4D76srGE0CjKiU3nX7UmXoQ/+ofpZHn9N7dtlSqGhD+rpde/am
ybobbeJFHCaQcB6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DxjLI5IQWz5Mb+2w==
-----END CERTIFICATE-----
Serial Number: 5C:CA:EC:A0:01:A0:CC:5D:FD:DE:64:A7:E9:55:B6:FC
Common Name: wsbuat.dhl.com
Country: MY
State/Province: Selangor
Locality: Cyberjaya
Org Unit: Asia-Pacific Information Services Sdn Bhd
Org: Member, VeriSign Trust Network, OU=Authenticated by MSC Trustgate.com Sdn. Bhd, OU=Terms of use at www.msctrustgate.com/rpa (c) 04, OU=ITS PDS
Issuer CN: VeriSign Class 3 Secure Server CA - G3
Issuer Country: US
Issuer Org: VeriSign, Inc.
Issuer Org Unit: Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network
Version: 03
not before: 20110812020000
not after: 20120812015959
pub key alg: 1.2.840.113549.1.1.5

Protocol Used: TLS Version 1
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL(): entered
do_oper(POST): entered
There are 0 cookies in the cache
POST /gbl/expressRateBook:pePort:8300 HTTP/1.1
Host: wsbuat.dhl.com
User-Agent: http-api/1.24
Content-Type: text/xml;charset=UTF-8
SOAPAction: euExpressRateBook_providerServices_ShipmentHandlingServices_Binder_getRateRequest
Content-Length: 1931


senddoc(): entered
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:rat="http://scxgxtt.phx-dc.dhl.com/euExpressRateBook/RateMsgRequest";><soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";><wsse:UsernameToken wsu:Id="UsernameToken-1"><wsse:Username>********</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>**********</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";>***************==</wsse:Nonce><wsu:Created>2012-08-07T10:41:17.363Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><rat:RateRequest><ClientDetail></ClientDetail><RequestedShipment><DropOffType>REGULAR_PICKUP</DropOffType><NextBusinessDay>N</NextBusinessDay><Ship><Shipper><StreetLines>Zandweistraat 32</StreetLines><City>WAARDENBURG</City><StateOrProvinceCode></StateOrProvinceCode><PostalCode>4181 CG </PostalCode><CountryCode>NL</CountryCode></Shipper><Recipient><StreetLines>RIETDEKKERSTRAAT 5</StreetLines><City>RIDDERKERK</City><StateOrProvinceCode></StateOrProvinceCode><PostalCode>2984 BM</PostalCode><CountryCode>NL</CountryCode></Recipient></Ship><Packages><RequestedPackages number="1"><Weight><Value>1</Value></Weight><Dimensions><Length>5</Length><Width>4</Width><Height>3</Height></Dimensions></RequestedPackages></Packages><ShipTimestamp>2012-08-07T16:00:00GMT+01:00</ShipTimestamp><UnitOfMeasurement>SI</UnitOfMeasurement><Content>NON_DOCUMENTS</Content><PaymentInfo>DDP</PaymentInfo><Account>190216490</Account></RequestedShipment></rat:RateRequest></soapenv:Body></soapenv:Envelope>
recvresp(): entered
HTTP/1.1 500 No service found
Date: Wed, 22 Aug 2012 13:04:30 GMT
Server: ACE XML Gateway
Content-Type: text/xml; charset=utf-8
Content-Length: 294
Connection: close


SetError() #13: HTTP/1.1 500 No service found
recvresp(): end with 500
recvdoc parms: identity 294
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><soap:Fault><faultcode xmlns="">soap:Client</faultcode><faultstring xmlns="">No service was found matching the request</faultstring></soap:Fault></soap:Body></soap:Envelope>

SetError() #13: HTTP/1.1 500 No service found
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------