users@jax-rpc.java.net

Re: Empty Message Element

From: Arun Gupta <arun.gupta_at_sun.com>
Date: Mon, 04 Aug 2003 21:37:36 -0700

Hi Ravikiran,

WSDL 1.1 [1] says that <message> consist of one or more logical parts,
thus <message> must consist of atleast one part.

By one-way service, I understand you meant one-way operation. They are
defined [2] with only input message and no output message.

[1] http://www.w3.org/TR/wsdl#_messages
[2] http://www.w3.org/TR/wsdl#_one-way

Thanks for your interest in JAX-RPC.

Regards,
-Arun

Ravikiran wrote:

> Hi All,
>
> Is it permissible to have a message element with no parts elements like
> below in a wsdl ?
> .
> <message name="Msg1"/>
> .
> .
> .
> Can this way be used to indicate a one-way service?
>
> Thanks in advance.
>
> Regards,
> Ravikiran.