Strike
one, how does the ?wsdl option work on a service? Will it know the service
uses a header? I don't mind writing code first and then generating the
wsdl, but I don't want to write both.
-----Original Message-----Hi!
From: Daniel Hägg [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 2:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Are soap:headers supported in wsdl2java or the ?wsdl option of the service?
soap:header is not implemented. :-(
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12967
/
/ Daniel
Bill Grubbs wrote:
[EMAIL PROTECTED]" type="cite">We are adding some new soap services which are going to be implemented with axis and I need to be able to publish a WSDL for. They need to be similar to some existing services which sue the soap:header to pass a session id after the client is authenticated.I tried to define soap:header elements in the WSDL file and then use wsdl2java the generated code it puts the sessionid in the body, not the header of the txn. This is also the case with the ?wsdl option to get the service's wsdl file.I see how to get at the header to manual construct/destruct the header prams, but then I doubt that the ?wsdl option will not work to generate the wsdl file from the service. I also see that I can associate my own wsdl file with the service that can be returned instead of generating it. However I don't like the risk of manually maintaining the file and the code separately.Is this a limitation of 1.0 or am I missing something?
