[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTP/1.1 500 ERROR using api
Im trying to use this api to access D&B api, but im getting a HTTP/1.1
500 error.
I am using SoapUI to test the wsdl from my pc (remote location), and it
works fine.
I set debug on and the dump data is below.
Any ideas?
HTTPAPI Ver 1.30 released 2016-01-25
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: ***.com
DNS server found: ***
DNS server found: ***
https_init(): entered
QSSLPCL = *OPSYS
SSL version 2 support disabled
SSL version 3 support disabled
Old interface to TLS version 1.0 support enabled
TLS version 1.0 support enabled
TLS version 1.1 support enabled
TLS version 1.2 support enabled
-----------------------------------------------------------------------
--------------
Dump of local-side certificate information:
-----------------------------------------------------------------------
--------------
Nagle's algorithm (TCP_NODELAY) disabled.
SNI hostname set to: maxcvservices.dnb.com
-----------------------------------------------------------------------
--------------
Dump of server-side certificate information:
-----------------------------------------------------------------------
--------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
****
-----END CERTIFICATE-----
Serial Number:***
Common Name: maxcvservices.dnb.com
Country: US
State/Province: New Jersey
Locality: Short Hills
Org Unit: The Dun & Bradstreet Corporation
Org: Dun and Bradstreet
Issuer CN: DigiCert Secure Server CA
Issuer Country: US
Issuer Org: DigiCert Inc
Version: 3
not before: 20150520200000
Unknown Field: 20:00:00 20-05-2015
not after: 20161230070000
Unknown Field: 07:00:00 30-12-2016
pub key alg: 1.2.840.113549.1.1.5
Protocol Used: TLS Version 1.0
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
There are 0 cookies in the cache
POST /Company/V5.0 HTTP/1.1
Host: maxcvservices.dnb.com
User-Agent: http-api/1.30
Content-Type: text/xml
Content-Length: 981
senddoc(): entered
<soapenv:Envelope
xmlns:soapenv=[1]"http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com=[2]"http://services.dnb.com/CompanyServiceV2.0"><soapenv:Head
er><wsse:Security soapenv:mustUnderstand="0"
xmlns:wsse=[3]"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-secext-1.0.xsd"
xmlns:wsu=[4]"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w
ssecurity-utility-1.0.xsd"><wsse:UsernameToken
wsu:Id="UsernameToken-11"><wsse:Username>***</wsse:Username><wsse:Passw
ord
Type=[5]"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-userna
me-token-profile-1.0#PasswordText">***</wsse:Password></wsse:UsernameTo
ken></wsse:Security></soapenv:Header><soapenv:Body><com:MatchRequest
ServiceVersionNumber="4.0"><MatchRequestDetail><InquiryDetail><DUNSNumb
er>804735132</DUNSNumber></InquiryDetail><MatchSpecification><MatchType
Text>Basic</MatchTypeText></MatchSpecification></MatchRequestDetail></c
om:MatchRequest></soapenv:Body></soapenv:Envelope>
recvresp(): entered
recvresp: reading response header, space left=32767
HTTP/1.1 500 ERROR
recvresp: reading response header, space left=32747
Date: Fri, 29 Jan 2016 20:49:48 GMT
recvresp: reading response header, space left=32710
Server:
recvresp: reading response header, space left=32700
Transfer-Encoding: chunked
recvresp: reading response header, space left=32672
Connection: keep-alive
recvresp: reading response header, space left=32648
X-CorrelationID: Id-6cd0ab56b91b2f00e020130010e1cf12 0
recvresp: reading response header, space left=32592
DnbChannel: DaaS
recvresp: reading response header, space left=32574
Host: maxcvservices.dnb.com
recvresp: reading response header, space left=32545
User-Agent: http-api/1.30
recvresp: reading response header, space left=32518
X-Forwarded-For: 69.74.129.66
recvresp: reading response header, space left=32487
Content-Type: text/xml;
recvresp: reading response header, space left=32462
charset="utf-8"
recvresp: reading response header, space left=32444
Vary: Accept-Encoding
recvresp: reading response header, space left=32421
recvresp: empty line, ending header, number of eol chars=2
recvresp: header resp code = 500 repeating=0
SetError() #13: HTTP/1.1 500 ERROR
recvresp(): end with 500
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
b7
chunk size = 183
get_chunk_size returned 183
calling comm_blockread
<?xml version="1.0" encoding="utf-8"?>
<Envelope>
<Header/>
<Body>
<Fault>
<faultcode>env:Server</faultcode>
<faultstring/>
<detail type="faultDetails"/>
</Fault>
</Body>
</Envelope>
comm_blockread returned 183
get_chunk_size(): entered
0
chunk size = 0
get_chunk_size returned 0
SetError() #13: HTTP/1.1 500 ERROR
http_close(): entered
References
1. http://schemas.xmlsoap.org/soap/envelope/
2. http://services.dnb.com/CompanyServiceV2.0
3. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
4. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
5. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------