Skip to Content
2
Jul 23, 2014 at 08:55 AM

SMP 3.0: Integration Gateway Parsing Exception

30 Views

Hi Experts,

We are doing an OData modeling for a given SOAP Web service. To access one of the method, we have to pass below input parameters and have to get desired output parameters.

Input parameters

Username (string) Password (base64Binary) Output parameters Security Key (string) Success (boolean) Information (string)

We have done OData modeling as below:

  • Implemented the service
  • Select Data source>Read> given all required connection details ie. Endpoint, Namespace, Operation,Port type
  • And then done request mapping & Response mapping as per below screenshot.
  • Deployed to SMP 3.0 server

Request mapping:

Response Mapping:

We are able to open service document, service metadata document without any issues. But when we pass input parameter to the service document as per below URI:

http://localhost:8080/gateway/odata/sap/ICRA:v=1/LoginSet(UserName='DemoUser',Password='abcedf')

We are getting a parsing exception:

While executing the service we traced the request using Wireshark.

The request while executing the EntitySet for the OData service is as follows

In the response we got an "Internal Server Error(500)". From Wireshark we got the following description for the error.

"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)."

When we tried the same method of the WSDL through SOAPUI and tracing the same in Wireshark , we found that value is getting passed in the SOAP Action

Has anybody encountered this issue before? What you have to say on that PARSING Exception?

CC: @Bjoern Woppmann, @Jeff Gebo

Rgrds,

JK

Attachments

LoginResponse.PNG (14.7 kB)
odatamodeling.PNG (39.8 kB)
requestmapping.PNG (12.2 kB)
wireshark.PNG (151.5 kB)
wireshark1.PNG (35.7 kB)