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

RE: ContractFilter mismatch



The web service is from a 3rd party and I will have to get a hold of them to
see about any restrictions on the WSDL.  
I have attached the debug log and a screenshot of the http log from soapUI.


-----Original Message-----
From: Scott Klement [mailto:sk@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, February 15, 2012 6:07 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: ContractFilter mismatch

Hi Ken,

Your WSDL link does not work. I suspect this is something that is
restricted? I need that in order to know what the SoapAction is supposed to
look like.

I see that you've enabled debug via the http_debug(*on) call.  Can you send
us the debug file that it creates?  That might provide some clues?

At the moment, I don't feel like I have any information to go on.



On 2/15/2012 6:05 PM, Ken Kantorowicz wrote:
> I am able to use soapUI to call the web service correctly.  When I use 
> the RPG program I get `500 internal server error'.
>
> I'm pretty sure it has something to do with the SOAPAction.  Here is 
> the information and test program I am using.
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: KOA.NET
DNS server found: 200.150.100.11
DNS server found: 205.171.3.65
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /KampSightCounterPointService/KampSightCounterPointAPIService.svc HTTP/1.1
Host: 24.199.166.173:13580
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 886
Connection: close


recvresp(): entered
HTTP/1.1 100 Continue


SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tem="http://tempuri.org/"; xmlns:kam="http://schemas.datacontract.org/2004/07/KampSightCounterPointModel";> <soapenv:Header/> <soapenv:Body> <tem:CreateSalesTicket> <!--Optional:--> <tem:Campground>941125</tem:Campground> <!--Optional:--> <tem:TransactionID>1</tem:TransactionID> <!--Optional:--> <tem:TicketDateTime>2012-02-15T12:00:00</tem:TicketDateTime> <!--Optional:--> <tem:TotalTax>0</tem:TotalTax> <!--Optional:--> <tem:TicketTotal>1.00</tem:TicketTotal> <!--Optional:--> <tem:TicketLines> <!--Zero or more repetitions:--> <kam:TicketLine> <!--Optional:--> <kam:ItemNumber>RAC-100001</kam:ItemNumber> <!--Optional:--> <kam:Quantity>1</kam:Quantity> <!--Optional:--> <kam:UnitPrice>1.00</kam:UnitPrice> </kam:TicketLine> </tem:TicketLines> </tem:CreateSalesTicket> </soapenv:Body></soapenv:Envelope>
recvresp(): entered
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Wed, 15 Feb 2012 23:13:33 GMT
Connection: close
Content-Length: 698


SetError() #13: HTTP/1.1 500 Internal Server Error
recvdoc parms: identity 698
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 '' 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

Attachment: HTTPlog.jpg
Description: JPEG image

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