on 09-20-2006 3:06 PM
I get a purchase order xml from SRM with payload as "MainDocument(application/xml)". The receiving system is a Webmethods service that can only accept text/xml. If I try using the testing facility of the runtime workbench (Testing tab under IE under Component monitoring) by pasting my required xml payload, it works because the payload is generated as "PayloadName(text/xml)".
Is there some easy way to change this to "MainDocument(text/xml)"? I am using SOAP receiver adapter and have selected/checked the 'Do not use SOAP envelope', 'Keep Headers' boxes. If I use '&nosoap=true' at the end of the URL, I am getting a 'Unknownservice' exception back from the receiving system.
Thanks
Per default the SOAP adapter sends the SOAP message the content type text/xml. So you need not do anything special.
When you check "Do not use SOAP envelope", the default contnet type is application/xml. You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" <b>before</b> the standard module. Add the parameter name Transform.ContentType and value text/xml
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Stefan,
very interesting information!
Do you know where we can find a complete list of parameters and acceptable values of the Standard Modules (MessageTransformBean, PayloadSwap, Anonymizer etc)? The only parameters/values I've gathered so far were the ones poured by you SAP guys on this forum. :~
Regards,
Henrique.
Hi Bhavesh,
thnks for u replies, i have tried this but facing some issues.
If i uncheck option <b>Do not Use SOAP envelope</b> the again it gives me the error "com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid content type for SOAP: TEXT/HTML" in response msg id.
Also u said that there is no need to use bpm, but the flow of my data is first to R/3 where it creates a employee record and then the same data is passed to mdm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi James,
Can you explain the Flow still more, May i know why did you go for SOAP Adapter.
Thanks & Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.