Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problems using if_ixml_document->find_from_path_ns

Hi,

I am trying to use this method to get to the right xml node. However this does not seem to be working. Does anybody know what I am doing wrong here. Any help is highly appreciated.

CALL METHOD document->find_from_path_ns

EXPORTING

default_uri = 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'

path = '/soap:Envelope/soap:Body/child::node()'

receiving

rval = rval1

The xml document looks like this.

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetStndAddressResponse xmlns="http://micron.com/AddrStnd/"><GetStndAddressResult><stdAddress>5811 N Cosworth Pl</stdAddress><stdZipCode>83713-1263</stdZipCode><stdState>ID</stdState><stdCity>Boise</stdCity></GetStndAddressResult></GetStndAddressResponse></soap:Body></soap:Envelope>

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question