how to parse soap response data
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sqltypes=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/types"
xmlns:sqlmessage=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/
types/SqlMessage"
xmlns:sqlresultstream=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/types
/SqlResultStream"
xmlns:tns="http://server/nwind2/soap"
<SOAP-ENV:Body>
<tns:MethodNameResponse>
<tns:OutputParam>Error Code 1152</tns:OutputParam>
</tns:MethodNameResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
応答データは単純なxml形式になると思っていましたが、応答はsoap-envにあります。
石鹸エンベロープxmlデータを解析する方法は?
soap-envelop形式のxml解析は同じですか?単純なxmlデータの解析はありますか?
例:単純なXML
<?xml version="1.0" encoding="utf-8" ?>
<error >Error Code 1152 </error>
@all誰もがxmlでこの種を解析する方法を教えてくれます
前もって感謝します。