Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I'm sending the response as XML document from my WCF service.
<AnalysisResponse>
 <AnalysisResult>
  <Note>0</Note>
  <Summary/>
 </AnalysisResult>
</AnalysisResponse>

But when test this using SOAP UI, I get.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
 <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetDataResponse>
     <GetDataResult>
      <AnalysisResponse>
       <AnalysisResult>
        <Note>0</Note>
        <Summary/>
       </AnalysisResult>
      </AnalysisResponse>
     </GetDataResult>
    </GetDataResponse>
   </s:Body>
  </s:Envelope>


I just want the response what i'm sending from the WCF service with out SOAP auto generated tags.


XML
<pre><AnalysisResponse>
 <AnalysisResult>
  <Note>0</Note>
  <Summary/>
 </AnalysisResult>
</AnalysisResponse>


What I have tried:

I tried it using SOAP UI, and client utility tools
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900