Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2381

CLONE -Duplicating namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2RC2
    • None
    • None

    Description

      When I do a dynamic invocation to a web service the serialized SOAP-Body contains too many namespace declarations. Each element is 'fully' qualified, e.g. :

      <soapenv:Body>
      <ns1:aTestVo xmlns="http://wsdemo.demo.ch/" xmlns:ns1="http://wsdemo.demo.ch/">
      <companyName xmlns="http://wsdemo.demo.ch/">Industriestrasse 10</companyName>
      <companyStreet xmlns="http://wsdemo.demo.ch/"/>
      <companyZipLocation xmlns="http://wsdemo.demo.ch/">3000 Bern</companyZipLocation>
      <materialVorsteuer xmlns="http://wsdemo.demo.ch/">12000</materialVorsteuer>
      <mwstNr xmlns="http://wsdemo.demo.ch/">123456</mwstNr>
      <rabatte xmlns="http://wsdemo.demo.ch/">490</rabatte>
      <umsatz24 xmlns="http://wsdemo.demo.ch/">24000</umsatz24>
      <umsatz36 xmlns="http://wsdemo.demo.ch/">100</umsatz36>
      <umsatz76 xmlns="http://wsdemo.demo.ch/">158340</umsatz76>
      </ns1:aTestVo>
      </soapenv:Body>

      And the first element (aTestVo) has the same namespace duplicated.

      Attachments

        1. MessageElement.java
          73 kB
          Patrick Peck

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patrick.peck Patrick Peck
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: