Skip to Content
0
Dec 09, 2020 at 07:57 AM

SAP B1 Integration Framework get web services response

35 Views

Hi

I have a B1IF package which call a webservice to export some data from B1

When I call this webservices i get an xml as response, but I can't read it.

this is what i get from the webservice

I'd like to test the response in a "path" atom

I can't find the correct xpath expression to read the <LoadXmlResult> from the xml response.

I tried these:

1) /*[/vpf:Msg/vpf:Body/vpf:Payload[@Role='C' and @id='atom24']/LoadXmlResponse/LoadXmlResult/error='']

2) /*[/vpf:Msg/vpf:Body/vpf:Payload[@Role='C' and @id='atom24']/LoadXmlResponse/LoadXmlResult='<error></error>']

3) /*[/vpf:Msg/vpf:Body/vpf:Payload[@Role='C' and @id='atom24']/@statusMsg="success"]

but without success.

Someone can help me?

thanks

Nicola