Hello,

I am using Apache SOAP 2.2 
I was trying to deploy an existing stateless session bean into a web
service.

1]      I deployed the existing stateless session bean into weblogic
2]      Wrote a SOAP RPC client to access one of the methods from the
session bean
3]      Added a deployment desc. for the session bean from Apache SOAP, web
service admin UI
        3.1]    Made the "Provider Type"= User-defined
        3.2]    Made the "Provider
class"=org.apache.soap.providers.StatelessEJBProvider
        3.3]    Made the soap mapping reg. class=
org.apache.soap.encoding.SOAPMappingRegistry 

I also gave the class of the Session bean in the appropriate class.

My input parameter are just Strings. So there was no need for custom
mapping.

When I run my client I get an error message like:

URL::http://localhost:7001/soap/servlet/rpcrouter
Caught SOAPException (SOAP-ENV:Client): A
'http://schemas.xmlsoap.orgo/envelope/:Fault' element must contain a:
'faultcode' element.

Can somebody tell me whether the procedure I have followed is correct or not
?

thanx


-----Original Message-----
From: William Brogden [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 8:22 PM
To: [EMAIL PROTECTED]
Subject: RE: SOAP-Env:Client


The TcpTunnel or UtilSnoop programs capture the text of
a complete exchange of messages between HTTP client and
SOAP service. Since you got a SOAP-Env:Client fault, it
looks like your client's message was ill-formed.

Instructions are included in the UtilSnoop download.

> -----Original Message-----
> From: Didem Kuzucu [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 09, 2002 8:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: SOAP-Env:Client
> 
> 
>   Hi,
> thanks for your answer but I'm bad at SOAP. How can I 
> use TCPTunnel or your UtilSnoop program. Can these for
> specifying the actual message?
>    Thanks& Regards
>     Didem Kuzucu
>  
> --- William Brogden <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > > -----Original Message-----
> > > From: Didem Kuzucu [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, January 09, 2002 6:16 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: SOAP-Env:Client
> > > 
> > > 
> > >   Hi,
> > > when I try to run my SOAP client, I get the
> > message
> > >    Soap Exception
> > >     Fault Code : SOAP-Env:Client
> > >     Fault Message : 3608
> > >  Can anybody help me, please? 
> > > 
> > > Note : I tried my SOAP server from another SOAP
> > > client, it works. 
> > 
> > 
> > One approach would be to take a look at the actual
> > message as transmitted. Sometimes the problem is 
> > pretty obvious. You can download my "UtilSnoop"
> > program from:
> > 
> > http://www.lanw.com/books/javasoap/default.htm
> > 
> > Or use the TcpTunnel utility that comes with
> > SOAP 2.2
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 

Reply via email to