By default jaxrpc ignores soap:header. You can use Handler approach to
process soap:header by yourself.
Or you can use -f:explicitcontext option with wscompile to process
soap:header.
-vivek.
Mark D. Hansen wrote:
> I'm trying to use the RI wscompile tool to generate the RMI interface for a service defined by WSDL that includes a binding definition with operations that have soap:header elements specified for input and output.
>
> I get an "warning" message:
>
> warning: ignoring header "XYZheader" of binding operation "XYZoperation" ...
>
> Does this mean that wscompile does not implement the generation of RMI interface parameters based on soap:header elements within the WSDL?
>
> Can anyone recommend an alternative approach for getting JAX-RPC to work with soap:headers elements in WSDL?
>
> Thanks,
>
> Mark Hansen
--
Vivek Pandey
Web Technologies and Standards
Sun Microsystems Inc.