cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP AXIS GET operation: Bad envelope tag: topic

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

used java proxy

Former Member
0 Kudos

Hi Chris,

Could you please share how you implemented the GET call to REST webservice

Regards

Ravijeet

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

More details on what Yza suggested above are available in the Axis Adapter FAQ note: 1039369

Regards

Ven

Former Member
0 Kudos

Hi,

I set the properties as following:

key.0 set soap12.method

key.1 set enableREST

value.0 GET

value.1 true

But I still get the same error....

Former Member
0 Kudos

Hi,

Have you verified if you system is at the right SP level?

If yes, you can open a ticket.

If no, you can either update your SP, open a ticket to request for a patch, or just deploy the axis adapter archives from a newer SP of the same codeline.

Regards, Yza