on 05-05-2009 6:52 AM
Hi,
Is it possible to delete the part below when sending an HTTP request through HTTP receiver adapter without any java/abap/xslt mapping?
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_SELL xmlns:ns0="http://test.com/Sell">
Thanks
Arman
Hi,
<?xml version="1.0" encoding="UTF-8"?>
==> You cannot remove this, it's the XMl header and a basic requirement for the message.
<ns0:MT_SELL xmlns:ns0="http://test.com/Sell">
==> Here you may check whether this part is a must to be able to validate the XML against the XSD structure that describes the message format. If it's not necessary from the XSD side you can remove it by XSLT or Java.
Regards,
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A way could be a little use of ABAP and enhance the adapter using adapter module as shown below
/people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arman,
Is it possible to delete the part below when sending an HTTP request through HTTP receiver adapter without any java/abap/xslt mapping?
No its not possible without the use of java/abap/xslt mapping and the first line is part of protocol and its indispensable.
Regards
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<?xml version="1.0" encoding="UTF-8"?>
Specifies that the given message is xml
<ns0:MT_SELL xmlns:ns0="http://test.com/Sell">
Specifies its a MessageType of the payload, without this that message is not identifies and is not processed. Its manditory to have these. Other wise error will raise.
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per my knowledge, these are the first two lines of the XML. First line describes the XML version and the encoding where as second line describes the namespace. Both these lines are important from XML parsing point of view. Hence, these are must.
Hope this helps.
Thansk and Regards,
Kalpesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.