Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Axis soap receiver adapter - (415)Unsupported Media Type

$
0
0


Hello all,

 

I have installed the Axis framework and is using it in the Soap receiver adapter. We are working on PI 7.11.
Transport protocol: HTTP (Axis)

Message protocol: Axis

 

Everything works fine when calling a web service without mapping, i.e. just picking up an xml message from a file server and call the webservice.

However when a textfile is picked up from the server, mapped to the same interface, and calls the same webservice following error is shown:

 

Adapter Framework caught exception: (415)Unsupported Media Type
Axis: error in invocation: (415)Unsupported Media Type
MP: exception caught with cause (415)Unsupported Media Type

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: (415)Unsupported Media Type.

 

 

The content type seems to change when using message mapping, why is that?

I have tried to use AF_Modules/MessageTransformBean and setting Content.Type to both text/xml and application/xml, but that didn't help.


Does anybody have any idea of how to solve this?

 

 

// Best regards Hans


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>