JSP mit SOAP

Lausi0809

Grünschnabel
Hi =)
Ich brauche dringend Hilfe bitte...

Ich muss eine Kommunikation zwischen zwei jsps über soap herstellen, kenn mich aber mit soap gar nicht aus.

hab bis jz folgende request und response:
Code:
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Body>
  <m:GetPrice xmlns:m="http://localhost/response.jsp">
    <m:Item>Apples:</m:Item>
  </m:GetPrice>
</soap:Body>

</soap:Envelope>

</soap:Envelope>

hier der response:

Code:
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Body>
  <m:GetPriceResponse xmlns:m="http://localhost/index.jsp">
    <m:Price>1.90</m:Price>
  </m:GetPriceResponse>
</soap:Body>

</soap:Envelope>

es wird aber nur apples: ausgegeben und kein preis dazu. Warum?
Ich check des nit.
Bin dankbar für jede art von hilfe =)
 
Zuletzt bearbeitet:

Neue Beiträge

Zurück