0 Replies Latest reply on Feb 28, 2008 10:44 AM by Neo Rye

    Extra node added to my SOAP response

    Neo Rye Level 1
      When I call my test webservice, it seems coldfusion/axis addes an extra "return" node to the reponse. Is there any way to get rid of it? Any insight to why?

      Here is an example of a webservice with a method of "test":
      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
      xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">
      soapenv:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:ns1=" http://onesource.gmtorque.com/">
      <TestReturn xsi:type="xsd:string">test</TestReturn>

      I expect the <TestResponse> node but not the <TestReturn> node. Seems the response should just have the <TestResponse>. How do I make it so the <TestReturn> node is note part of the response?