Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-3785

Wrong namespace on SOAP operation when a method with header parameter having a new namespace is invoked, "second" after a method that does not have this namespace'd parameter


    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes


      Attached a sample service implementation and a Client.

      There are two methods in the SEI, one is having no header parameters (Foo) and the other is having one (NoAccess). Also the NoAccess method with a Header parameter has an additional namespace for the header that is different from the other parameters and the method and SEI. So now when this NoAccess method is executed first there is no issue, but when this method is executed second to Foo, the namespace of the method gets screwed up.

      If when the NoAccess method is invoked after invoking the foo method a new namespace "http://cio.att.com/commonheader/v3" is added to the Namespace registry and this somehow triggers the wrong namespace in the operation when serialized.

      <ns2:NoAccessRequest xmlns='http://cio.att.com/soapheader/inband' xmlns:ns2='http://cio.att.com/commonheader/v3'>

      Whereas this should have been

      <NoAccessRequest xmlns='http://cio.att.com/soapheader/inband' xmlns:ns2='http://cio.att.com/commonheader/v3'>


      <ns2:NoAccessRequest xmlns='http://cio.att.com/commonheader/v3' xmlns:ns2='http://cio.att.com/soapheader/inband'>

        Gliffy Diagrams


          1. Client.java
            4 kB
            Magesh Bojan
          2. Compare.JPG
            574 kB
            Alessio Soldano
          3. hellosoapheader.war
            48 kB
            Magesh Bojan

            Issue Links



                • Assignee:
                  mageshbk Magesh Bojan
                  mageshbk Magesh Bojan
                • Votes:
                  1 Vote for this issue
                  2 Start watching this issue


                  • Created: