Yes, I know you can do it manually, my point is that there are explicit
headers defined in the WSDL, WSDL2Java should be able to automatically
generate the classes for the headers (without having to resort to -a)
and include some reference to them in the stub (like .NET does).

Cheers
Simon 

> -----Original Message-----
> From: Julien Wajsberg (JIRA) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 27, 2005 2:50 AM
> To: [email protected]
> Subject: [jira] Commented: (AXIS-1452) WSDL2Java doesn't 
> create classes for SOAP Headers used in the WSDL unless -a is 
> specified
> 
>      [ 
> http://issues.apache.org/jira/browse/AXIS-1452?page=comments#a
> ction_58145 ]
>      
> Julien Wajsberg commented on AXIS-1452:
> ---------------------------------------
> 
> Yes you can.
> 
> Look http://ws.apache.org/axis/faq.html (at the end).
> 
> 
> > WSDL2Java doesn't create classes for SOAP Headers used in the WSDL 
> > unless -a is specified
> > 
> ----------------------------------------------------------------------
> > -------------------
> >
> >          Key: AXIS-1452
> >          URL: http://issues.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://issues.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
> 
> 
> 

Reply via email to