users@jax-rpc.java.net

Re: doubt on wscompile & header in the output message

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Fri, 19 Nov 2004 10:26:52 -0800

Alessio Cervellin wrote:

>let's say i've a wsdl which defines a message having two parts, arg1 and arg2, and an operation which has arg1 in soap:body and arg2 in soap:header both as input and output.
>now wscompile -gen:client -f:explicitcontext generates an interface which has one method (the above operation) which accepts two parameters (arg1 and arg2) and returns only one (arg1). Is this correct?
>I wonder how the server side port implementation class can modify and then return arg2 to the client.
>Of course it can be done using a server-side handler, but I dont' want to process arg1 in a class (port impl) and arg2 in another class (port handler).
>So what i ask is: can the port impl class return in other ways both arg1 and arg2 to the client?
>
>
>
I guess you can but depends on how you defined your abstract operation.
can you send the wsdl?

-vivek.

>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>

-- 
Vivek Pandey
Web Services Standards and Technologies
Sun Microsystems Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net