on 01-25-2011 3:42 PM
Hello All,
We are using SOAP Axis adapter on our scenario (because of NTLM authenticatiom) and faced a problem that some module in a module chain is pretty-formatting XML message (inserting newlines and spaces).
Receiving WebService is REALLY strict on format and doesn't allow spaces and newlines between XML elements.
Formatting is for sure done already in adapter as in sxmb_moni message is still one-liner.
After different tests this formatting is most likely done by XI30OutboundHandler.
Are there any parameters to prevent this formatting?
If there are no parameters, than maybe there is a standard module to remove this XML indentation?
Where I can found source code for XI30OutboundHandler to check how it is extracting payload from XI message?
Thanks in advance for your answers!
Best Regards,
Artsiom Anichenka
I have tried to solve this probem with custom adapter module, but it is also didn't worked, as after XI30OutboundHandler module message is no longer in XI format and I can't get access to it with ModuleData methods.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing the same issue on my side. I actually created a handler to remove linefeeds, carriage returns, and tabs and placed it after
xireq | handler.type | java:com.sap.aii.axis.xi.XI30OutboundHandler |
in the module chain but am still getting an error response from the webservice that the request message I am sending to them has linefeeds.
What this ever resolved? Does anybody have any suggestions?
Hi, have you find a solution for this problem?
I've tried set the parameter “disablePrettyXML”, as mentioned in SAP note 1039369 (search for “disabling pretty XML”), but apparently it didn’t work too. Have you tried that?
I still get linefeeds and carriage return in the post requisition to the WebService.
Regards,
Ronaldo Schork.
or maybe there is a special option/handler for "Do not use SOAP envelope" classical SOAP's adapter functionality?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.