You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vaibhav Gulati <Va...@mindtree.com> on 2008/03/11 07:38:41 UTC

axis2 client gives unexpected results

Hi,

 

In axis 1 I set the parameter for the call as follows:

      Call call = (Call) service.createCall();

      call.addParameter("userName", XMLType.XSD_STRING, ParameterMode.IN);

      call.addParameter("userPwd", XMLType.XSD_STRING, ParameterMode.IN);

      call.setReturnType(org.apache.axis.Constants.XSD_STRING);

 

Can anyone help me with how to do it in axis2?

 

Regards

VG

 



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

Re: axis2 client gives unexpected results

Posted by Upul Godage <up...@gmail.com>.
Following is a something similar example code. But Axis2 does not support
SOAP RPC/encoded combination.
http://ws.apache.org/axis2/1_3/quickstartguide.html#clientaxiom

Upul


On Tue, Mar 11, 2008 at 12:08 PM, Vaibhav Gulati <
Vaibhav_Gulati@mindtree.com> wrote:

>  Hi,
>
>
>
> In axis 1 I set the parameter for the call as follows:
>
>       Call call = (Call) service.createCall();
>
>       call.addParameter("userName", XMLType.XSD_STRING, ParameterMode.IN);
>
>       call.addParameter("userPwd", XMLType.XSD_STRING, ParameterMode.IN);
>
>       call.setReturnType(org.apache.axis.Constants.XSD_STRING);
>
>
>
> Can anyone help me with how to do it in axis2?
>
>
>
> Regards
>
> VG
>
>
>
> *DISCLAIMER:*
>
> This message (including attachment if any) is confidential and may be
> privileged. If you have received this message by mistake please notify the
> sender by return e-mail and delete this message from your system. Any
> unauthorized use or dissemination of this message in whole or in part is
> strictly prohibited.
>
> E-mail may contain viruses. Before opening attachments please check them
> for viruses and defects. While MindTree Consulting Limited (MindTree) has
> put in place checks to minimize the risks, MindTree will not be responsible
> for any viruses or defects or any forwarded attachments emanating either
> from within MindTree or outside.
>
> Please note that e-mails are susceptible to change and MindTree shall not
> be liable for any improper, untimely or incomplete transmission.
>
> MindTree reserves the right to monitor and review the content of all
> messages sent to or from MindTree e-mail address. Messages sent to or from
> this e-mail address may be stored on the MindTree e-mail system or else
> where.
>