You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Susheel Chauhan <sc...@ggn.aithent.com> on 2001/07/26 07:09:38 UTC
Sending mixture of datatypes....
Hello all,
I have my Apache soap service that have method with following signatures
public static String log(long a_lErrorId,long a_lUserId, String a_strErrorDetails,String a_strErrorSource,
String a_strClassName, String a_strMethodName,String a_strAdditionalInfo,String[] a_strErrorDescParams,
Object a_oActionInfoStruct)
How i will invoke this service from my java and c++ client...means how i should write client code to send these parameters....one of the parameter is String [] and one of is Object. I know well to send parameters of simple datatypes by using Vector but don't know how to send parameters containg mixture of simple datatypes,string array and object.
Please help me as it has high priority in my project. I know it is some tough question to implement.
Thanx in advance,
Susheel Chauhan
Aithent Technologies
Re: Sending mixture of datatypes....
Posted by William Brogden <wb...@bga.com>.
> Susheel Chauhan wrote:
>
> Hello all,
> I have my Apache soap service that have method with following
> signatures
>
> public static String log(long a_lErrorId,long a_lUserId, String
> a_strErrorDetails,String a_strErrorSource,
> String a_strClassName, String a_strMethodName,String
> a_strAdditionalInfo,String[] a_strErrorDescParams,
> Object a_oActionInfoStruct)
>
>
> How i will invoke this service from my java and c++ client...means how
> i should write client code to send these parameters....one of the
> parameter is String [] and one of is Object. I know well to send
> parameters of simple datatypes by using Vector but don't know how to
> send parameters containg mixture of simple datatypes,string array and
> object.
>
> Please help me as it has high priority in my project. I know it is
> some tough question to implement.
>
> Thanx in advance,
>
> Susheel Chauhan
> Aithent Technologies
>
There is some material in the FAQ that may be related to this
http://xml.apache.org/soap/faq/faq_response_enc_style.html
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2