> -----Original Message-----
> From: Dan Diephouse [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 27, 2006 11:30 PM
> To: [email protected]
> Subject: Re: [xfire-user] Adding Headers and setting the wsdl name?
> 
> Jeffrey Damick wrote:
> >
> > Is there a way to specify required soap headers (i.e. one of ws-*
> > standards) for an operation(s) of a service that dynamically
generates
> > the WSDL from a spring pojo service using XMLBeans?
> >
> I don't think JSR 181 offers that. I think your only option is to futz
> with the headers on the messsage yourself. Take a look at the
> MessageContext and Handler stuff in the manual for some pointers on
how
> to do that.

It would appear that section 6.2 of the spec. allows for specifying
headers: "Parameters annotated with the @WebParam.header attribute map
to SOAP headers"

So my question now is can I use the jsr 181 annotations for a service
interface with XMLBeans as the binding?


> > Also,
> >
> > Is there a way to set the name attribute for a dynamically generated
> > WSDL using a spring pojo service and XMLBeans?
> >
> > i.e. <wsdl:definitions name="MyService" ....>
> >
> > (other than doing something like overriding
XmlBeansWSDLBuilderFactory
> > and setting it there?)
> >
> Try setting the name property of the ServiceBean or the XFireExporter.
> 

The name property only seems to set the service element's name
attribute, not the definitions element's attribute and I don't see a way
to do it in jsr 181..  :(  


thanks for the info.




Reply via email to