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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/05/15 09:53:43 UTC

[jira] Resolved: (AXIS2-3948) WSDL2Java doesn't allow to add a custom header element through the Skeleton

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

Amila Chinthaka Suriarachchi resolved AXIS2-3948.
-------------------------------------------------

    Resolution: Won't Fix

this has done by design to keep the skelton independent of binding. 

For an example there can be different soap headers define in deferent soap bindings. but we need to generate only one skelton for both. 

> WSDL2Java doesn't allow to add a custom header element through the Skeleton
> ---------------------------------------------------------------------------
>
>                 Key: AXIS2-3948
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3948
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.4, 1.3
>         Environment: OS: Microsoft Windows Server 2003/Mac OS X 10.5
> IDE: Eclipse 3.2/Eclipse 3.4 with plugin Axis2Codegen Wizard
> Tool: WSDL2java as command line or called by the Axis2Codegen Wizard
>            Reporter: Emidio Stani
>         Attachments: wsdlsoapheader.zip
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hi all,
> I created a WSDL file WS-I compliant (Basic Profile 1.1) where I specify an header. After that I generated stub and skeleton with the wsdl2java tool; inside the stub I have the method to call the service which allows me to add my custom header element but from the skeleton side the method allows only to work on the object that will be included in the body and not on the header.
> It seems that the only way is to modify the MessageReceiverInOut java class  to add the header manually when it created a new soap message.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org