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 Ke...@firstdatacorp.com on 2001/05/16 15:24:29 UTC

Help - Get FAULT when passing parameters

I just installed soap 2.1 under my JRun 3.0 Server and am having problems.
When I test using the StockQuoteService class it gives me the following
error when I try to invoke it....

    Fault = SOAP-ENV:Client, Unable to resolve namespace URI for 'xsd'.

This happens whenever I place this in the code I get the above error:
params.addElement( new Parameter("p1", String.class, "Test", null));
If I modify the service to not take a parameter, it works just fine.  I
tried other classes and this seems to happens whenever I try to pass any
type of parameter.
I am using Constants.NS_URI_SOAP_ENC for the encoding style.

Any Ideas?

Thanks
Ken Schwartz




Re: Help - Get FAULT when passing parameters

Posted by "Erastus Z. Allen" <er...@neuralware.com>.
What version of Xerces?  Don't use 1.3.1  ..
There's a quickstart package on this page that has all the right jars.
I used it to get up and running.

http://www.xmethods.com/gettingstarted/apache.html

Best,
Erastus

Kenneth.Schwartz@firstdatacorp.com wrote:

> I just installed soap 2.1 under my JRun 3.0 Server and am having problems.
> When I test using the StockQuoteService class it gives me the following
> error when I try to invoke it....
>
>     Fault = SOAP-ENV:Client, Unable to resolve namespace URI for 'xsd'.
>
> This happens whenever I place this in the code I get the above error:
> params.addElement( new Parameter("p1", String.class, "Test", null));
> If I modify the service to not take a parameter, it works just fine.  I
> tried other classes and this seems to happens whenever I try to pass any
> type of parameter.
> I am using Constants.NS_URI_SOAP_ENC for the encoding style.
>
> Any Ideas?
>
> Thanks
> Ken Schwartz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Help - Get FAULT when passing parameters

Posted by "Erastus Z. Allen" <er...@neuralware.com>.
What version of Xerces?  Don't use 1.3.1  ..
There's a quickstart package on this page that has all the right jars.
I used it to get up and running.

http://www.xmethods.com/gettingstarted/apache.html

Best,
Erastus

Kenneth.Schwartz@firstdatacorp.com wrote:

> I just installed soap 2.1 under my JRun 3.0 Server and am having problems.
> When I test using the StockQuoteService class it gives me the following
> error when I try to invoke it....
>
>     Fault = SOAP-ENV:Client, Unable to resolve namespace URI for 'xsd'.
>
> This happens whenever I place this in the code I get the above error:
> params.addElement( new Parameter("p1", String.class, "Test", null));
> If I modify the service to not take a parameter, it works just fine.  I
> tried other classes and this seems to happens whenever I try to pass any
> type of parameter.
> I am using Constants.NS_URI_SOAP_ENC for the encoding style.
>
> Any Ideas?
>
> Thanks
> Ken Schwartz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org