[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting info of http/1.1 500 Internal server error
Hi i have an issue with webservice that respond errors as soap fault
the problem is i need to be able to read xml that return over soap
and not just the returncode that rc = http_post_stmf_xml gives back
to get better error logging!
is there a possibility to read the soap fault?
See example!! this is the result of the request that the other side
returns back to me as a Soap fault
<soap:Envelope
xmlns:soap="[1]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="[2]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[3]http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Server was unable to process request. --->
[2|XXXXXXX]: Koppling till TEST-miljö saknas</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
--- Den mån 2010-10-04 skrev Scott Klement <sk@xxxxxxxxxxxxxxxx>:
Från: Scott Klement <sk@xxxxxxxxxxxxxxxx>
Ämne: Re: Using FTPAPI with IFS stream files
Till: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Datum: måndag 4 oktober 2010 19:53
Are you sending in binary or ascii mode? If you want the hex values
to
be unchanged, make sure you use binary mode.
On 10/4/2010 12:27 PM, Charles Wilt wrote:
> All,
>
> Just a quick check while I continue investigations...
>
> We've got a existing stream file in the IFS, CCISD = 1252, that
we're
> trying to send to a remote FTP server using FTPAPI...
>
> Is there some reason this wouldn't work?
>
> The remote server is seeing garbage..
> x'DAD9D9'
>
> Instead of
> x'313030'
>
> Using EDTF in hex mode, I've confirmed that the file on the IFS
> contains x'313030'
>
> Thanks!
> Charles
>
----------------------------------------------------------------------
-
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> [4]http://www.scottklement.com/mailman/listinfo/ftpapi
>
----------------------------------------------------------------------
-
>
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[5]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
References
1. http://schemas.xmlsoap.org/soap/envelope/
2. http://www.w3.org/2001/XMLSchema-instance
3. http://www.w3.org/2001/XMLSchema
4. http://www.scottklement.com/mailman/listinfo/ftpapi
5. 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
-----------------------------------------------------------------------