Skip to Content
avatar image
Former Member

web service - XML not in format

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" ?>

- 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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 07, 2007 at 01:38 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 07, 2007 at 01:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded