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 "Andrew Fawcett (JIRA)" <ax...@ws.apache.org> on 2004/12/13 18:06:56 UTC
[jira] Commented: (AXIS-1452) WSDL2Java doesn't create classes for SOAP Headers used in the WSDL unless -a is specified
[ http://nagoya.apache.org/jira/browse/AXIS-1452?page=comments#action_56590 ]
Andrew Fawcett commented on AXIS-1452:
--------------------------------------
Although the -a generates the classes for the header types. It doesn't not provide methods on the stub to provide the header. Either on the method paramters or as a stub level property (like .Net does). Note I personally think that this later approach is better than overloading the parameter lists of the methods.
> WSDL2Java doesn't create classes for SOAP Headers used in the WSDL unless -a is specified
> -----------------------------------------------------------------------------------------
>
> Key: AXIS-1452
> URL: http://nagoya.apache.org/jira/browse/AXIS-1452
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Versions: beta-2
> Environment: XP, JDK 1.4.2_03
> Reporter: Simon Fell
> Priority: Minor
> Attachments: SforceService.cs, enterprise.wsdl
>
> Running WSDL2Java on a doc/literal WSDL that defines SOAP Headers does not generate classes for the Headers unless -a is specified. As these headers are referenced in the WSDL binding, i shouldn't need to use the -a switch. (.NET & PocketSOAP don't have this problem)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira