Hi,

I would like to invoke a service that take an object as argument, and
return an object as value. So my questions are:

  *  what to put in the WSDL file ? Can i just specify <xsd:complexType/>
without specifying the Object?

  *  how to deal, in the Client/Service code, with MyRemoteMethod /
MyRemoteMethodResponse ?

      Must pass in the client:
portType.myRemoteMethod( new MyRemoteMethod( theObject ) ) ?

      And in the server:
public MyRemoteMethodResponse myRemoteMethod( MyRemoteMethod params )
{
   // how to grab the object ?
   MyObject theObject = params.getMyObject(); // ??

   // code here
   MyReturnObject myReturnObject = new MyReturnObject(..);

   // return ??
   return new MyRemoteMethodResponse( theReturnObject );


I've been learning XML Schemas on w3schools.com but found nothing about
object type.

Thank you for pointing me to a useful link/tutorial/document, or for helping
me here ;)


Cheers,

Francois.

Reply via email to