users@jax-rpc.java.net

Re: RI wscompile - support for soap:header ??

From: Anne Thomas Manes <anne_at_MANES.NET>
Date: Thu, 26 Jun 2003 16:39:29 -0400

Mark,

Normally your service implementation doesn't process the headers. You should
create header processors, implemented as JAX-RPC Handlers, to process the
headers and remove them before invoking the application.

Anne

----- Original Message -----
From: "Mark D. Hansen" <khookguy_at_YAHOO.COM>
To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
Sent: Thursday, June 26, 2003 4:18 PM
Subject: RI wscompile - support for soap:header ??


> 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
>