xml

newlive

Grünschnabel
Hallo alle,

Ich habe bitte die Soap nachricht und will Information von dem raus holen:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
  <SOAP-ENV:Envelope
   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
   xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
   xmlns:xsd="http://www.w3.org/1999/XMLSchema">
	<SOAP-ENV:Body>
		<ns1:doubleAnInteger
		 xmlns:ns1="urn:MySoapServices">
			<param1 xsi:type="xsd:int">123</param1>
		</ns1:doubleAnInteger>
	</SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

habe versucht mit
Code:
String test =("//soap-env:Envelope/soap-env:Body/ns1:doubleAnInteger/param1");

den code habe ich von "http://www.xml.com/pub/a/ws/2003/09/16/jaxen.html" genommen. aber das hat mich leider nicht weiter geholfen
 
Zurück