Hi Anne,

Thanks for the redirection. I'll read your sources carefully and I'll try in
the axis-user mailing list.

Regards,

Willem Liu 

-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 20 oktober 2006 15:22
To: [email protected]
Subject: Re: Bean Serialization

Willem,

You should send this type of user question to the axis-user list rather than
to the axis-dev list.

As a starting point, I recommend you read these documents:
http://ws.apache.org/axis/java/client-side-axis.html
http://ws.apache.org/axis/java/user-guide.html

You should also find these articles helpful:
http://users.skynet.be/pascalbotte/rcx-ws-doc/seiadvanced.htm
http://info.borland.com/techpubs/jbuilder/jbuilder2005/websvcs/wsdl/wsdl-emp
loyee-tutorial.html

You're easiest option is to generate a client stub from the service's WSDL
using the WSDL2Java utility.

Anne

On 10/20/06, Willem Liu <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm new to Axis Soap. I have made a Soap webservice with axis and a 
> Soap client which can communicate. But now I need to create a client 
> which can send serialized objects. But after a long search on the web 
> I still haven't found anything which can help me further.
> The following code is the Soap client one I have now.
>
>     Integer i1 = new Integer(1);
>     Integer i2 = new Integer(2);
>     call.setTargetEndpointAddress(url);
>     call.setOperationName(new QName("add", "add"));
>     call.addParameter("num1", XMLType.XSD_INT, ParameterMode.IN);
>
>     call.addParameter("num2", XMLType.XSD_INT, ParameterMode.IN);
>     call.setReturnType(XMLType.XSD_INT);
>
>     Integer ret = null;
>     try {
>       //Call the SOAP Service with i1 and i2 as arguments.
>       ret = (Integer) call.invoke(new Object[] {i1, i2});
>     }
>     catch (RemoteException ex2) {
>       //If connection to SOAP Service failes.
>       System.out.println("Remote Exception");
>       ex2.printStackTrace();
>     }
>
> What I would like to try is to have a Bean which stores the Integers 
> and then I want to serialize this object and send it to the Soap
Webservice.
> Could anyone help me out on modifying the code so that it can do that 
> or give me pointers on how to do it?
>
> Regards,
>
> Willem Liu
>

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




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

Reply via email to