Skip to Content
0
Former Member
Aug 29, 2014 at 11:19 AM

(SAP) SOAP service in integration gateway

474 Views

Hi,

Using the Gateway Productivity Accelerator I have created an oData model with 4 entity sets, Implemented the service, created response mappings for the 4 datasources to the 4 entity sets and deployed the service to the smp integration gateway. In the integration gateway I have created destinations for each of the webservices using basic authentication. For the namespace of the service I chose the security config name that is also used for the application definition in smp 3.0. For easy of the Entity Sets I created a destination in the service.

Now, when I open the service document in my browser I am promted for a username and password. I enter my credentials and I am shown an xml document that lists the 4 entity sets that I have created. Now, when I type /FormbezetSet/ (which is one of the entity sets) behind the url in the browser it should show metadata for that entityset. However it shows me the following xml message

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code/>

<message xml:lang="en">Could not send Message.</message>

</error>

Looking in the error log of smp I see the following

...

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://<full path to endpoint of webservice>

at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1530)

at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)

at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)

at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)

at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)

at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)

... 341 common frames omitted

2014 08 29 12:09:45#+0100#ERROR#com.sap.gateway.core.ip.runtime.GatewayIPODataProcessor##anonymous#http-bio-8080-exec-3###readEntitySet() failed: service = SAPSSOSEC/MobileDashboard, entity set = FormbezetSet, content type = application/xml;charset=utf-8, message = org.apache.cxf.interceptor.Fault: Could not send Message. |

2014 08 29 12:09:45#+0100#ERROR#com.sap.gateway.core.ip.odata.ODataErrorCallbackImpl##anonymous#http-bio-8080-exec-3###handleError(): failed to serve request for URI http://<hostname>:<port>/gateway/odata/SAPSSOSEC/MobileDashboard;v=5/FormbezetSet/, message = Could not send Message. |

(Removed the hostname, port and destination path for security reasons)

As a sidenote, I have tried calling the webservice from the same server using soapUI and there I get a correct response.

Anyone have any idea?