Hi all,

I was wondering what is the right way to write a WSDL for a service
operation taking no parameters.

I tried this as the parameter type:

<complexType name="Void"/>

<element name="getMembershipInfoParam" type="xsd1:Void"/>

<message name="getMembershipInfo">
        <part element="xsd1:getMembershipInfoParam" name="in"/>
</message>

<portType name="ClubInfoPortType">
        <operation name="getMembershipInfo">
            <input message="tns:getMembershipInfo" name="getMembershipInfo"
/>
            ....
        </operation>
</portType>

But WSDL2Java generates a Void.Java and specifies Void as the type of the
operation parameter.

How to write it such that the generated operation takes no parameters?

Thanks,

-Nirmit


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to