cancel
Showing results for 
Search instead for 
Did you mean: 

web service - XML not in format

Former Member
0 Kudos

Hi,

i created one web service which has function returning integer. i called this WS in BLS. I saved response of function in xml file using XML saver action block. But i cant read this file in query template. i.e it is not in format. it shows as

<?xml version="1.0" encoding="UTF-8" ?>

- <ns:col2Response xmlns:ns="http://ws.apache.org/axis2/xsd">

<ns:return>32.0</ns:return>

</ns:col2Response>

in query template, test page doesnt show anything.

what is the problem? how to solve it as to read thru query template?

-senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Senthil,

There is no problem. Your web service is just returning the response as you have defined it. If you define your response in the Rowsets/Rowset/Row format then it should be fine to display in a query template.

Otherwise, as it stands you would just have to create an IllumDoc and map the data from your web service call to it and then it will display. Just make sure to map the outputXML from the IllumDoc to a transaction property Ouput of XML data type.

Answers (1)

Answers (1)

Former Member
0 Kudos

You need to create an Illuminator document using the xMII XML Output action blocks and assign it to an xml type output Transaction property.

http://help.sap.com/saphelp_xmii120/helpdata/en/44/71f7e99ea03abee10000000a155369/content.htm