Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Understanding SOAP UI - Request and Response

Avatar

Avatar
Validate 1
Level 2
Rajesh_SS01
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Rajesh_SS01
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rajesh_SS01
Level 2

26-03-2019

Hi All,

Could you please help me to understand the response which I have received when I try to fetch the details of delivery from DELIVERY schema using ExecuteQuery Method of xtk:queryDef from SOAP UI request.

SOAP Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xtk:queryDef">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:ExecuteQuery>

         <urn:sessiontoken>- -------- </urn:sessiontoken>

         <urn:entity>

            <!--You may enter ANY elements at this point-->

            <queryDef xtkschema="xtk:queryDef" schema="nms:delivery" operation="get">

                    <select>

                         <node expr="@id"/>

                    </select>

              </queryDef>

         </urn:entity>

      </urn:ExecuteQuery>

   </soapenv:Body>

SOAP Response received:

<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP-ENV:Body>

      <SOAP-ENV:Fault>

         <faultcode>SOAP-ENV:Server</faultcode>

         <faultstring xsi:type="xsd:string">SOP-330011 Error while executing the method 'ExecuteQuery' of service 'xtk:queryDef'.</faultstring>

         <detail xsi:type="xsd:string">SOP-330020 A 'document' parameter contains more than one root element.</detail>

      </SOAP-ENV:Fault>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Thanks and Regards,

Rajesh.S.S.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

26-03-2019

Hi,

Delete this line:

<!--You may enter ANY elements at this point-->

Thanks,

-Jon

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
Rajesh_SS01
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Rajesh_SS01
Level 2

Likes

4 likes

Total Posts

28 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rajesh_SS01
Level 2

26-03-2019

Thanks a lot Jon. It worked

Thanks and Regards,

Rajesh.S.S.