Hi,
According to the WSDL 1.1 specs,
2.4.1 One-way Operation
The grammar for a one-way operation is:
<wsdl
efinitions .... > <wsdl
ortType .... > *
<wsdl
peration name="nmtoken">
<wsdl:input name="nmtoken"? message="qname"/>
</wsdl
peration>
</wsdl
ortType >
</wsdl
efinitions>
2.4.2 Request-response Operation
The grammar for a request-response operation is:
<wsdl
efinitions .... >
<wsdl
ortType .... > *
<wsdl
peration name="nmtoken" parameterOrder="nmtokens">
<wsdl:input name="nmtoken"? message="qname"/>
<wsdl
utput name="nmtoken"? message="qname"/>
<wsdl:fault name="nmtoken" message="qname"/>*
</wsdl
peration>
</wsdl
ortType >
</wsdl
efinitions>
If I have a JSE whose endpoint interface includes a void method that accepts an input argument and throws an application exception, how will the WSDL file generated by JAX-RPC looks like?
Since u cannot have just input and faults (without output) in a in a request-response wsdl
peration definition i.e,
<wsdl
efinitions .... >
<wsdl
ortType .... > *
<wsdl
peration name="nmtoken" parameterOrder="nmtokens">
<wsdl:input name="nmtoken"? message="qname"/>
<wsdl:fault name="nmtoken" message="qname"/>*
</wsdl
peration>
</wsdl
ortType >
</wsdl
efinitions>
Please help!