Loading ...
Sorry, an error occurred while loading the content.

Duplicat Namespace declaration in SOAP message

Expand Messages
  • Ravisankar Subramani
    Hi, I am using webspehre app server 5.0.2 and when i generated soapelemnt it creates nameapce for each element and that causes lot of issues. Did any one ever
    Message 1 of 2 , Jan 26, 2005
    • 0 Attachment
      Hi,

      I am using webspehre app server 5.0.2 and when i generated soapelemnt
      it creates nameapce for each element and that causes lot of issues.
      Did any one ever face this kind of issue? Any help woud be greatly
      appreciated.


      This is the output I am getting

      soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ ...">
      <soap:Header xmlns:test="http://test.form">
      <test:a1 soap:mustUnderstand="1"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:test="http://test.form">
      <test:aa1 xmlns:test="http://test.form">aa1</test:aa1>
      <test:aa2 xmlns:test="http://test.form">aa2</test:aa2>


      But expected output is

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Header></soap:Header>
      <soap:Body>
      <test:a xmlns:test="http://test.form" >
      <test:aa1>aa1</test:aa1>
      <test:aa2>aa2</test:aa2>
      </test:a>
      ..
      ..
      ..
      </soap:Body>
      </soap:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.