Hopefully the last scenario for this task :-)
According to the JAX-RPC 1.1 specificiation, the third rule for an operation to be unwrappable: -
such an element (a wrapper) must be of a complex type defined using the
xsd:sequence compositor and containing only elements declarations.
<element name='lookup'> <complexType> <sequence> </sequence> </complexType> </element> <element name='lookupResponse'> <complexType> <sequence> </sequence> </complexType> </element>
<complexType name='Person'> <sequence> </sequence> </complexType> <complexType name='TelephoneNumber'> <sequence> </sequence> </complexType>
public org.jboss.test.ws.jbws1260.LookupResponse lookup() throws java.rmi.RemoteException;
public org.jboss.test.ws.jbws1260.TelephoneNumber lookup() throws java.rmi.RemoteException;