axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Netter (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3570) Codegeneration creates faulty Stub with JAXBRI when a SOAP Header is defined in the WSDL
Date Thu, 06 Mar 2008 08:05:58 GMT
Codegeneration creates faulty Stub with JAXBRI when a SOAP Header is defined in the WSDL
----------------------------------------------------------------------------------------

                 Key: AXIS2-3570
                 URL: https://issues.apache.org/jira/browse/AXIS2-3570
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.3, nightly
            Reporter: Andreas Netter
             Fix For: 1.4


A faulty Stub is generated with JAXBRI, when a SOAP header is defined in the WSDL:

The following informations in the generated "toOM" Method for the header are missing:
1) the namespaces for creating the JaxbRIDataSource
2) the name of the element for the "createOMElement" method (second parameter)

code snippet: part of the "toOM" Method in the generated stub:
//- - - - 
JaxbRIDataSource source = new JaxbRIDataSource(
    net.company.schemas.header.HeaderType.class, 
    param,
    marshaller,
     "",
     "");

org.apache.axiom.om.OMNamespace namespace = factory.createOMNamespace("", null);
return factory.createOMElement(source, "", namespace);
//- - - - 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message