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

RE: 400 Bad Request



Not sure if you will get this or not

HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R3M0

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: PMSIONLINE.COM
DNS server found: 172.21.50.51
DNS server found: 172.21.50.52
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /tmesys/tmesys.asmx HTTP/1.1
Host: ws20devuv.pmsionline.com
Content-Type: text/xml
SOAPAction: http://www.PMSIOnline.Com/TmesysWebservices/DataRequest
Expect: 100-continue
Content-Length: 699


recvresp(): entered
HTTP/1.1 100 Continue


SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> <soap:Body> <DataRequest xmlns="http://www.PMSIOnline.Com/TmesysWebservices/";> <InputMessage> <MasterCarrierInfoRequest> <MessageHeader> <MessageVersion>1</MessageVersion> <MessageId /> <MessageSource>2</MessageSource> <MessageDestinations> <MessageDestination>1</MessageDestination> </MessageDestinations> </MessageHeader> <MessageBody> <CommonCarrierCode>017320022</CommonCarrierCode> </MessageBody> </MasterCarrierInfoRequest> </InputMessage> </DataRequest> </soap:Body> </soap:Envelope>
recvresp(): entered
HTTP/1.1 400 Bad Request
Date: Thu, 04 Mar 2010 21:29:14 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0


SetError() #13: HTTP/1.1 400 Bad Request
recvdoc parms: identity 0
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
SetError() #13: HTTP/1.1 400 Bad Request
http_close(): entered

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, March 04, 2010 3:55 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: 400 Bad Request

hi Donald,

You are using a very old version of HTTPAPI.  Can you try the current 
version to see if that solves the problem?  I don't want to spin my 
wheels trying to solve a problem only to determine it was fixed 3 years ago.

If possible, try the current beta.




On 3/4/2010 1:06 PM, Zimmerman, Donald W. wrote:
>
>     I have looked at this sun up to sun down and I just cannot figure
>     where I am going wrong. We process web service calls all the time and
>     this one just won't work. I'm sure it is something simple, but I just
>     can't spot it. Any help is appreciated.
>
>
>     HTTPAPI Ver 1.16 released 2006-05-07
>
>
>     New iconv() objects set, ASCII=819. EBCDIC=0
>
>     http_persist_open(): entered
>
>     http_long_ParseURL(): entered
>
>     http_persist_post(): entered
>
>     http_long_ParseURL(): entered
>
>     do_post(): entered
>
>     POST /tmesys/tmesys.asmx HTTP/1.1
>
>     Host: ws20devuv.pmsionline.com
>
>     Content-Type: text/xml
>
>     SOAPAction: http://www.PMSIOnline.Com/TmesysWebservices/DataRequest
>
>     Expect: 100-continue
>
>     Content-Length: 699
>
>
>
>     recvresp(): entered
>
>     HTTP/1.1 100 Continue
>
>
>
>     SetError() #13: HTTP/1.1 100 Continue
>
>     senddoc(): entered
>
>     <?xml version="1.0" encoding="utf-8"?>  <soap:Envelope
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>     xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  <soap:Body>
>     <DataRequest xmlns="http://www.PMSIOnline.Com/TmesysWebservices/";>
>     <InputMessage>  <MasterCarrierInfoRequest>  <MessageHeader>
>     <MessageVersion>1</MessageVersion>  <MessageId />
>     <MessageSource>2</MessageSource>  <MessageDestinations>
>     <MessageDestination>1</MessageDestination>  </MessageDestinations>
>     </MessageHeader>  <MessageBody>
>     <CommonCarrierCode>017320022</CommonCarrierCode>  </MessageBody>
>     </MasterCarrierInfoRequest>  </InputMessage>  </DataRequest>
>     </soap:Body>  </soap:Envelope>
>
>
>     recvresp(): entered
>
>     HTTP/1.1 400 Bad Request
>
>     Date: Thu, 04 Mar 2010 18:50:53 GMT
>
>     Server: Microsoft-IIS/6.0
>
>     X-Powered-By: ASP.NET
>
>     X-AspNet-Version: 2.0.50727
>
>     Cache-Control: private
>
>     Content-Length: 0
>
>
>
>     SetError() #13: HTTP/1.1 400 Bad Request
>
>     recvdoc parms: identity 0
>
>     header_load_cookies() entered
>
>     recvdoc(): entered
>
>     SetError() #0:
>
>     SetError() #13: HTTP/1.1 400 Bad Request
>
>     http_close(): entered
>
>     Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY
>     INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED
>     UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE
>     DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS
>     TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER
>     IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
>
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------