[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTP/1.1 500 Internal Server Error : ActionNotSupported
Hi Scott,
Your contribution is fabulous!!
I have consumed a webmethod on my V5R1 on which there are already some
WCF's consumed. I got "HTTP/1.1 500 Internal Server Error" the invoked
the method and realised that the SOAPAction was getting truncated as
it was 74 chars long. I then changed my code with reference to
Example20 and the error was gone, however I get "HTTP/1.1 500 Internal
Server Error" again, this time being a different message -
ActionNotSupported, I am not able to interpret anything further.
All I can see is that, my URL_post is not as expected by the
WebServer. I have attached the SOAPUI request, my url_post and the
log.
Can someone please help?
Thanks,
BS
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V5R2M0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: RRD.COM
DNS server found: 162.27.8.186
DNS server found: 172.24.8.126
DNS server found: 172.24.14.21
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /LMSWCFService/LMSService.svc HTTP/1.1
Host: 172.24.13.153
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 997
SOAPAction: http://schemas.datacontract.org/2004/07/Rrdl.Services.Etm.LoadManagement/SendEDIMessage
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="UTF-8" standalone="no"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><SendEDIMessage xmlns="http://www.rrd.com/Rrdl/Services/Etm/LoadManagementServices/"><loadStop xmlns:a="http://schemas.datacontract.org/2004/07/Rrdl.Services.Etm.LoadManagementServices" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:CallingApplication i:nil="true"/><a:CarrierPro>0015600</a:CarrierPro><a:CarrierSCAC>QGLI</a:CarrierSCAC><a:City i:nil="true"/><a:Country i:nil="true"/><a:EDIDateTime>2010-12-16T14:35:41.3334458-05:00</a:EDIDateTime><a:EDIStatusCode>A</a:EDIStatusCode><a:ErrorCode i:nil="true"/><a:ErrorMessage i:nil="true"/><a:LoadNumber>389010934545</a:LoadNumber><a:LoadNumberType>External</a:LoadNumberType><a:ProofOfDelievery i:nil="true"/><a:State i:nil="true"/><a:StopLocationId>4</a:StopLocationId><a:StreetAddress1 i:nil="true"/><a:Transactionkey>0</a:Transactionkey><a:User>User</a:User></loadStop></SendEDIMessage></s:Body></s:Envelope>
recvresp(): entered
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET
Date: Wed, 25 Aug 2010 11:12:16 GMT
Content-Length: 785
SetError() #13: HTTP/1.1 500 Internal Server Error
recvdoc parms: identity 785
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode><faultstring xml:lang="en-US">The message with Action 'http://schemas.datacontract.org/2004/07/Rrdl.Services.Etm.LoadManagement/SendEDIMessage' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring></s:Fault></s:Body></s:Envelope>
SetError() #13: HTTP/1.1 500 Internal Server Error
http_close(): entered
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<SendEDIMessage xmlns="http://www.rrd.com/Rrdl/Services/Etm/LoadManagementServices/">
<loadStop xmlns:a="http://schemas.datacontract.org/2004/07/Rrdl.Services.Etm.LoadManagementServices" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:CallingApplication i:nil="true"/>
<a:CarrierPro>0015600</a:CarrierPro>
<a:CarrierSCAC>QGLI</a:CarrierSCAC>
<a:City i:nil="true"/>
<a:Country i:nil="true"/>
<a:EDIDateTime>2010-12-16T14:35:41.3334458-05:00</a:EDIDateTime>
<a:EDIStatusCode>A</a:EDIStatusCode>
<a:ErrorCode i:nil="true"/>
<a:ErrorMessage i:nil="true"/>
<a:LoadNumber>389010934545</a:LoadNumber>
<a:LoadNumberType>External</a:LoadNumberType>
<a:ProofOfDelievery i:nil="true"/>
<a:State i:nil="true"/>
<a:StopLocationId>4</a:StopLocationId>
<a:StreetAddress1 i:nil="true"/>
<a:Transactionkey>0</a:Transactionkey>
<a:User>User</a:User>
</loadStop>
</SendEDIMessage>
</s:Body>
</s:Envelope>
http_xproc( HTTP_POINT_ADDL_HEADER
: %paddr(Add_SOAPACTION) );
rc = http_url_post_xml(
'http://172.24.13.153/LMSWCFService/LMSService.svc'
: %addr(SOAP) + 2
: %len(SOAP)
: *NULL
: %paddr(Incoming)
: %addr(Transkey)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml' );
Header = 'SOAPAction: '
+'http://www.rrd.com/Rrdl/Services/Etm/LoadManagementServices/'
+'SendEDIMessage'
+ x'0d25';
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------