on 12-19-2006 4:07 PM
Hi,
we move a Interface from BC to XI and now the problem come up that the content type isn't correct anymore.
With BC we Post a request with Content Type <b>application/x-sap.idoc</b> to a specific url.
With XI i use the SOAP Adapter for sending the Idoc structure but now in the header the Content-Type is <b>application/xml</b> is there any possibility to change this in the SOAP Adapter.
Or do i have to use another adapter? Somebody has experience with that?
Regards,
Robin
Hi -
Not sure from you description if the SOAP sender or receiver adapter is involved. In any case, there is a standard SAP delivered module (MessageTransformBean) that can be used to convert the content-type. This definitely works on the receiver side, but I haven't tried it on the sender SOAP side. Please look at the following thread: https://forums.sdn.sap.com/click.jspa?searchID=473847&messageID=2422573
Another, less cleaner alternative is to set the content-type within a mapping. See Note 779981 for details on this.
Regards,
Jin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know a standard way to modify the Content-Type.
You can write a custom adapter module that make this:
From http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/content.htm
<i>"In the receiver adapter, if you want to add your own modules to process the request message, you add them before the module specified below; if you want to add your own modules to process the response message, you add them after the following module:
sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean"</i>
Or you may try to use the HTTP adapter, there you have the control on content-type
Regards,
Sandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.