cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Receiver Channel

silentbull
Participant
0 Kudos

Hi

I am calling a webservice which runs on WCF.

My log viewer shows the following error.

Exception caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: 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).

The receiver gave me a target url which has the following wsdl.

http://wcfservice.biz/Service1.svc?singleWsdl

Inside the wsdl there is a method called GETXMLString

Now can somebody advise what my target url should be if i need to call this method.

Regards

Sam

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Sam,

Have you tried to set the operation on the SOAPAction field?(Configuring the Receiver SOAP Adapter - Advanced Adapter Engine - SAP Library)

I usually try first to load the wsdl with SOAPui application and to check how this program prepares the call and the connection parameters.

Regards.

silentbull
Participant
0 Kudos

Hello Inaki

I tried and in the soapui, it automatically chooses the method. I can't figure it out since it is a wcf service.

iaki_vila
Active Contributor
0 Kudos

Hi Sam,

I mean you should view the method like this:

Try first to do an easy scenario with the mapping a XSLT mapping with the message that SOAPui prepare itself, without changes, with SOAP envelope included. Check Do Not Use SOAP envelope and with this you can try changing the SOAP receiver parameters like the Operation.

Regards.

Answers (3)

Answers (3)

silentbull
Participant
0 Kudos

also should my target url be the endpoint url to be configured in the soap receiver

former_member186851
Active Contributor
0 Kudos

Hello Sam,

Target url should be the endpoint url and configure Soap action as suggested by Inaki,

silentbull
Participant
0 Kudos

Hello Inaki

I managed to find the window you are seeing. I do see the action specified.

The thing I note is that the action has a different url like this

http://tempuri.org/getxmlstring

while the mail url is different, is this some issue with the way they have genreated the wsdl ?

Regards

Sam

iaki_vila
Active Contributor
0 Kudos

Hi Sam,

The SOAP action is only an URI that is sent in the http header request that it is used to determine an application on the endpoint. This URI can be different to your endpoint URL o payload namespaces.

Have you got any exception if you configure the SOAP action?:

Regards.

silentbull
Participant
0 Kudos

Hello Inaki

I tried the same and now it gives me the following error.

server didn't recognize the value of http header soap action followed by the tempuri.

iaki_vila
Active Contributor
0 Kudos

Hi Sam,

Could you have connectivity from your laptop or vpn to try to do a call with SOAPui?

I had a scenario with wcf services that it used MTOM and the payload with cid references and i had to use AXIS adapter. Could you know if you had cid references or not to access to the payload?

Regards.

silentbull
Participant
0 Kudos

Hello

I can see only the endpoint in the soapui. Where should i see the window you mentioned.