Scott,

   Before I got your message I actually figured out what was the problem. I
implemented everything the way you specified, but what I did wrong was I
specified a wrong encoding. Instead of specifying Constants.NS_URI_SOAP_ENC
I specified Constants.NS_PRE_SOAP_ENC. That's all. As soos as I fixed this,
everything started to work. Anyway, thanks a alot for your help. 

I also want to ask you another question. I wonder if you know how to set up
basic authentication under Apache Web Server, or may be you know where I can
look for that information. I am not an expert Apache user. Thanks

Max

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem accessing a web service. Please help. Thanks


When you create your parameter, you must specify the class of the parameter,
not the Parameter class.  For example,

    String symbol;
    Call call = new Call ();
    // set call properties here
    Vector params = new Vector ();
    // Here it is: String parameter specified as String.class type
    params.addElement (new Parameter("symbol", String.class, symbol, null));
    call.setParams (params);

Scott

----- Original Message -----
From: "Max Stolyarov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 11, 2002 4:41 PM
Subject: Problem accessing a web service. Please help. Thanks


> Hello,
>
>    I wrote a very sime Web Service and a client application to access. I
> successfully deployed the service on Tomcat, but when I try to make an RPC
> call to it from the client application I get the following error. Can
> somebody please shed some light on it for me. Thanks
>
> SOAP Fault Msg I receive:
>
> SOAPException = SOAP-ENV:Client, No Serializer found to serialize a
> 'org.apache.soap.rpc.Parameter' using encoding style 'SOAP-ENC'.
>
> Max Stolyarov
> NOVARRA
> 3232 Kennicott Ave
> Arlington Heights, Illinois  60004
> Phone:  (847) 368-7800 x 252
> Facsimile:  (847) 590-8144
>

Reply via email to