on 11-01-2010 3:18 PM
Hi All,
I am trying to make a GET operation with AXIS. I configured everything but have a problem when receiving the data. The structure of the XML cannot be parsed I think.
The XML it returns is as below:
<?xml version="1.0" encoding="UTF-8"?>
<diagnostic:topic xmlns:diagnostic="http://www...>
<nextBuffer>
<url>...</url>
<moreData>true</moreData>
</nextBuffer>
<message>
<header>
...
The error is: com.sap.engine.interfaces.messaging.api.exception.MessagingException: org.xml.sax.SAXException: Bad envelope tag: topic
How can I get the data without the adapter to check it?
Thanks.
used java proxy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to use the REST mode to accept a non-soap XML data. The error message is complaining about your XML data not having the soap envelope tag.
I assume you are using the receiver side GET. In this case, you need to set the REST mode context property using MessagePropertiesHandler. In the FAQ note, you will find the instruction and also the patch level information for the REST mode support.
Regards, Yza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.