You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/08 19:57:48 UTC

[jira] Assigned: (AXIS2-3570) Codegeneration creates faulty Stub with JAXBRI when a SOAP Header is defined in the WSDL

     [ https://issues.apache.org/jira/browse/AXIS2-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-3570:
---------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>             Fix For: 1.4
>
>         Attachments: test.wsdl
>
>
> 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