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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]