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 Pepsi Lee <pe...@ms1.url.com.tw> on 2001/04/02 12:43:01 UTC

my sample program can't work...

Dear All,

I could run samples of addressbook of APACHE SOAP 2.1 in
my environment.
My programs imitates samples of APACHE SOAP 2.1.
But it can't work fine.
Could you help me to solve my problem.

attach my samples programs.

when I run LoginClient, I got error message as follow:

Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Unable to instantiate 'samples.Login.LoginUserData': samples/Lo
gin/LoginUserData


Thank you for your help!!!!


Best regards
Pepsi.

Re: my sample program can't work...

Posted by Pepsi Lee <pe...@ms1.url.com.tw>.
Dear Scott,

thank you for you reply...
I recheck classpath in my client and soap server.
I can confirm that LoginUserData in classpath.

Because I try to remove the path of LoginUserData from classpath.
and retry my program. I got the error message as follow:
---------------------------------
Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = deployment error in SOAP service 'urn:LoginControl': class
  name 'samples.Login.LoginUserData' could not be resolved:
  samples.Login.LoginUserData

So I can confirm the LoginUserData in classpath.
Does any one could provide solution for me.

Thank you for your kindness.


Best regards
Pepsi.

> It seems that your class (samples.Login.LoginUserData) is not in the classpath for your
> servlet engine.
> 
> Scott
> 
> ----- Original Message -----
> From: "Pepsi Lee" <pe...@ms1.url.com.tw>
> To: <so...@xml.apache.org>
> Sent: Monday, April 02, 2001 6:43 AM
> Subject: my sample program can't work...
> 
> 
> >
> > Dear All,
> >
> > I could run samples of addressbook of APACHE SOAP 2.1 in
> > my environment.
> > My programs imitates samples of APACHE SOAP 2.1.
> > But it can't work fine.
> > Could you help me to solve my problem.
> >
> > attach my samples programs.
> >
> > when I run LoginClient, I got error message as follow:
> >
> > Generated fault:
> >   Fault Code   = SOAP-ENV:Client
> >   Fault String = Unable to instantiate 'samples.Login.LoginUserData': samples/Lo
> > gin/LoginUserData
> >
> >
> > Thank you for your help!!!!
> >
> >
> > Best regards
> > Pepsi.
> >
> 


Re: my sample program can't work...

Posted by Scott Nichol <sn...@computer.org>.
Does LoginUserData have a default (no argument) constructor?

Scott

----- Original Message -----
From: Pepsi Lee <pe...@ms1.url.com.tw>
To: <so...@xml.apache.org>
Sent: Monday, April 02, 2001 21:20
Subject: Re: my sample program can't work...


>
> Dear Sir,
>
> thank you for you reply...
> I recheck classpath in my client and soap server.
> I can confirm that LoginUserData in classpath.
> Does any one could provide solution for me.
> Thank you for your kindness.
>
> Best regards
> Pepsi.
>
> > It seems that your class (samples.Login.LoginUserData) is not in the
classpath for your
> > servlet engine.
> >
> > Scott
> >
> > ----- Original Message -----
> > From: "Pepsi Lee" <pe...@ms1.url.com.tw>
> > To: <so...@xml.apache.org>
> > Sent: Monday, April 02, 2001 6:43 AM
> > Subject: my sample program can't work...
> >
> >
> > >
> > > Dear All,
> > >
> > > I could run samples of addressbook of APACHE SOAP 2.1 in
> > > my environment.
> > > My programs imitates samples of APACHE SOAP 2.1.
> > > But it can't work fine.
> > > Could you help me to solve my problem.
> > >
> > > attach my samples programs.
> > >
> > > when I run LoginClient, I got error message as follow:
> > >
> > > Generated fault:
> > >   Fault Code   = SOAP-ENV:Client
> > >   Fault String = Unable to instantiate 'samples.Login.LoginUserData':
samples/Lo
> > > gin/LoginUserData
> > >
> > >
> > > Thank you for your help!!!!
> > >
> > >
> > > Best regards
> > > Pepsi.
> > >
> >
>
>


Re: my sample program can't work...

Posted by Pepsi Lee <pe...@ms1.url.com.tw>.
Dear Sir,

thank you for you reply...
I recheck classpath in my client and soap server.
I can confirm that LoginUserData in classpath.
Does any one could provide solution for me.
Thank you for your kindness.

Best regards
Pepsi.

> It seems that your class (samples.Login.LoginUserData) is not in the classpath for your
> servlet engine.
> 
> Scott
> 
> ----- Original Message -----
> From: "Pepsi Lee" <pe...@ms1.url.com.tw>
> To: <so...@xml.apache.org>
> Sent: Monday, April 02, 2001 6:43 AM
> Subject: my sample program can't work...
> 
> 
> >
> > Dear All,
> >
> > I could run samples of addressbook of APACHE SOAP 2.1 in
> > my environment.
> > My programs imitates samples of APACHE SOAP 2.1.
> > But it can't work fine.
> > Could you help me to solve my problem.
> >
> > attach my samples programs.
> >
> > when I run LoginClient, I got error message as follow:
> >
> > Generated fault:
> >   Fault Code   = SOAP-ENV:Client
> >   Fault String = Unable to instantiate 'samples.Login.LoginUserData': samples/Lo
> > gin/LoginUserData
> >
> >
> > Thank you for your help!!!!
> >
> >
> > Best regards
> > Pepsi.
> >
> 


Re: my sample program can't work...

Posted by Scott Nichol <sn...@computer.org>.
It seems that your class (samples.Login.LoginUserData) is not in the classpath for your
servlet engine.

Scott

----- Original Message -----
From: "Pepsi Lee" <pe...@ms1.url.com.tw>
To: <so...@xml.apache.org>
Sent: Monday, April 02, 2001 6:43 AM
Subject: my sample program can't work...


>
> Dear All,
>
> I could run samples of addressbook of APACHE SOAP 2.1 in
> my environment.
> My programs imitates samples of APACHE SOAP 2.1.
> But it can't work fine.
> Could you help me to solve my problem.
>
> attach my samples programs.
>
> when I run LoginClient, I got error message as follow:
>
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = Unable to instantiate 'samples.Login.LoginUserData': samples/Lo
> gin/LoginUserData
>
>
> Thank you for your help!!!!
>
>
> Best regards
> Pepsi.
>