Shams
Shams

Reputation: 3687

Handle soap response at servlet

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns1:getPrice xmlns:ns1="urn:xmethods-BNPriceCheck">
<isbn>0672383839</isbn>
</ns1:getPrice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

How do I handle this data on the servlet side?

Upvotes: 0

Views: 535

Answers (1)

Bozho
Bozho

Reputation: 597402

I'd suggest using a web service framework for handling SOAP. Like JAX-WS implementations (CXF, Metro).

Apart from that, I guess you can use anything that's lower level, like SAAJ or even DOM/SAX, but it's not advisable.

Upvotes: 1

Related Questions