[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Exanple18 and HTTP/1.1 500 Internal Server Error
Dear FTPAPI forum.
Just installed HTTPAPI in LIBHTTP and run the INSTALL with creation of
all examples.
Most examples wok, but example18 (currency conversion at
[1]www.webservicex.net
returns HTTP/1.1 500 Internal Server Error. Example19 and 20 gives the
same result.
All examples just compiled without any changes.
I am aware of it's the server sending the 500 response as a result of
the request in example18
and error '<faultstring>System.Web.Services.Protocols.SoapException:
Unable to handle request without a valid action parameter. Please
supply a valid soap action. '
But I don't know why.
Can anybody help/explain.
Brgds
Helge
httpapi_debug.txt when running example18:
HTTPAPI Ver 1.22 released 2008-03-25
OS/400 Ver V5R3M0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: xxxxx.xxx (original replaced by
xx)
DNS server found: xx.xx.xx.xx (original replaced
by xx)
DNS server found: xx.xx.xx.xx (original replaced
by xx)
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /CurrencyConvertor.asmx HTTP/1.1
Host: [2]www.webservicex.net
User-Agent: http-api/1.22
Content-Type: text/xml
Content-Type:
text/xml
SOAPAction:
[3]http://www.webserviceX.NET/ConversionRate
Expect:
100-continue
Content-Length:
347
SOAPAction:
[4]http://www.webserviceX.NET/ConversionRate
recvresp():
entered
SetError() #43: CommTCP_read: No 100-Continue (error
ignored)
senddoc():
entered
<?xml version="1.0" encoding="iso-8859-1"
standalone="no"?><SOAP:Envelope
xmlns:SOAP="[5]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="[6]http://www.webserviceX.NET/"><SOAP:Body>
<tns:ConversionRate>
<tns:FromCurrency>USD</tns:FromCurrency>
<tns:ToCurrency>JPY</tns:ToCurrency>
</tns:ConversionRate></SOAP:Body></SOAP:Envelope>
recvresp():
entered
HTTP/1.1 500 Internal Server
Error.
Date: Mon, 31 Mar 2008 20:50:56
GMT
Server:
Microsoft-IIS/6.0
Cache-Control:
private
Content-Type: text/xml;
charset=utf-8
Content-Length: 848
SetError() #13: HTTP/1.1 500 Internal Server
Error.
recvdoc parms: identity
848
header_load_cookies()
entered
recvdoc():
entered
SetError()
#0:
<?xml version="1.0"
encoding="utf-8"?>
<soap:Envelope
xmlns:soap="[7]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="[8]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[9]http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>System.Web.Services.Protocols.SoapException: Unable
to handle request without a valid action parameter. Please supply a
valid soap action.
at
System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest(
)
at
System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)</faultstring>
<detail
/>
</soap:Fault>
</soap:Body>
</soap:Body>
</soap:Envelope>
SetError() #13: HTTP/1.1 500 Internal Server Error.
http_close(): entered
References
1. http://www.webservicex.net/
2. http://www.webservicex.net/
3. http://www.webserviceX.NET/ConversionRate
4. http://www.webserviceX.NET/ConversionRate
5. http://schemas.xmlsoap.org/soap/envelope/
6. http://www.webserviceX.NET/"><SOAP:Body
7. http://schemas.xmlsoap.org/soap/envelope/
8. http://www.w3.org/2001/XMLSchema-instance
9. http://www.w3.org/2001/XMLSchema
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------