Announcement Announcement Module
Collapse
No announcement yet.
Namespaces problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Namespaces problem

    input xml:
    Code:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://xxxxx.com/SSOService/wsdl/">
       <soapenv:Header/>
       <soapenv:Body>
          <wsdl:login>
             <serviceId>13</serviceId>
          </wsdl:login>
       </soapenv:Body>
    </soapenv:Envelope>
    #response from spring web services.

    Code:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
          <loginResponse>
             <errorCode>0</errorCode>
             <errorText>OK</errorText>
             <redirectURL>test</redirectURL>
          </loginResponse>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Two things.

    In the response I would like to see the envelope defined as
    it is in the request i.e. include the second namespace declaration.
    xmlns:wsdl="http://xxxxx.com/SSOService/wsdl/

    Also I would like to see the respnse as <soapenv> and not <SOAP-ENV>

  • #2
    The Namespace name is not important working with SOAP,

    I don't know why you are trying to change this name, this issue don't generate errors at SOAP parser.

    I've no response for other issues, sorry

    Comment

    Working...
    X