You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Truong, Bon" <bt...@gers.com> on 2002/01/09 02:46:34 UTC

Accessing an exposed method of a Java class


> Hi,
> 
> I have come across a problem using Apache SOAP v2.2.
> Basically, I created a deployment descriptor for exposing
> a public method of a Java class. That method takes 3 arguments
> of type String.
> 
> However, when trying to access the exposed method, I got the
> following error message:
> 
> A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
> a: 'faultcode' element.
> [SOAPException: faultCode=SOAP-ENV:Client; msg=A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
>         at org.apache.soap.rpc.Call.invoke(Call.java:246)
>         at
> com.gers.base.xml.websrv.SoapHelper.invokeRpc(SoapHelper.java:243)
>         at
> com.gers.base.xml.websrv.TestSoapHelper.testInvokeRpc(TestSoapHelper.java:
> 168)
>         at
> com.gers.base.xml.websrv.TestSoapHelper.main(TestSoapHelper.java:199)
> 
> 
> Has anyone of you ever seen this before?
> 
> Thanks.
> 
> Bon Truong