c# - Webservice Response without Soap Wrapper -
whenever call webservice in response include response soap wrapper in it. there way can return webservice response without soap wrapper.
e.g. soap response looks like:
<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> <getemployeelistresponse xmlns="http://test.com/employee/"> <getemployeelistresult> <employeelookup> <employee> <id>123</id> <name>john</name> </employee> <employee> <id>325</id> <name>henry</name> </employee> </employeelookup> </getemployeelistresult> </getemployeelistresponse> </soap:body> </soap:envelope>
and want this:
<employeelookup> <employee> <id>123</id> <name>john</name> </employee> <employee> <id>325</id> <name>henry</name> </employee> </employeelookup>
just wanted know if possible through webservice or not? thanks
as far know, service response have soap header, have extract body response stream.
Comments
Post a Comment