You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by ma...@cnedi69.cnafmail.fr on 2001/06/26 09:59:58 UTC

Réf. : Re: Réf. : I want run the HelloWorldsample,get afault.




>> maybe you must specify which port you decide to use : 8080
http://localhost:8080/soap
I'm not sure that could be the cause of your problem ....

I use the xerces.jar is 1.2.3,
and I set the classpath like this
E:\jdk\jre\lib\rt.jar;
E:\jdk\jre\lib\i18n.jar;
E:\private\xerces.jar;
E:\private\mail.jar;
E:\private\activation.jar;
E:\private\soap.jar
what other jar file do need.
and i can see the deployed webservice from the
http://localhost/soap/admin/index.html
when i deploy the server class
there is text box
"For User-Defined Provider Type, Enter FULL Class Name"
i enter    "hello.HelloServer"
but when i point to the url
http://localhost/soap/admin/showdetails.jsp?id=urn:Hello
the "Provider Class" is empty, why ,can you help me?
    thank you
                                                    sinerely yours
                                                    Hong Bao Wang
----- Original Message -----
From: <ma...@cnedi69.cnafmail.fr>
To: <so...@xml.apache.org>
Sent: Tuesday, June 26, 2001 2:40 PM
Subject: Réf. : I want run the HelloWorld sample,get afault.


>
>
>
>
> >> It could come from tow reasons :
> - Which version of Xerces do you use ?? if it is the 1.3.1, then you can
> throw it away, and let's use Xerces1.2.3, because of  a bug of
Xerces1.3.1
> !!!!
> - otherwise, take care to put every ".jar" and directory (where is
stocked
> the java classes yuo want to use) before starting Tomcat (or other web
> server) !!! and I advise you to put all classes of you server in the same
> directory, put the "set classpath=%classpath%;." and start Tomcat from
its
> directory !!!
>
> good luck
>
>
> I use the tomcat as webserver,
> and i have deployed the urn:Hello
> to the webservice, but i get this fault.
> Generated fault:
>  Fault Code = SOAP-ENV:Server.BadTargetObjectURI
>  Fault String = Unable to resolve target object:
>
> is anyone meet this error, and how to resolve it,
> thank you.
>                                       HongBao Wang :)
>
>
>
>





i resolve the question.

Posted by HongBao Wang <wa...@yahoo.com>.
Thank you All,
I type the class name "hello.HelloServer"  in the wrong field,
i must type it in the Java Provider.

                                    sicerely yours
                                    HongBao Wang                                
----- Original Message ----- 
From: <ma...@cnedi69.cnafmail.fr>
To: <so...@xml.apache.org>
Sent: Tuesday, June 26, 2001 3:59 PM
Subject: Réf. : Re: Réf. : I want run the HelloWorldsample,get afault.






>> maybe you must specify which port you decide to use : 8080
http://localhost:8080/soap
I'm not sure that could be the cause of your problem ....

I use the xerces.jar is 1.2.3,
and I set the classpath like this
E:\jdk\jre\lib\rt.jar;
E:\jdk\jre\lib\i18n.jar;
E:\private\xerces.jar;
E:\private\mail.jar;
E:\private\activation.jar;
E:\private\soap.jar
what other jar file do need.
and i can see the deployed webservice from the
http://localhost/soap/admin/index.html
when i deploy the server class
there is text box
"For User-Defined Provider Type, Enter FULL Class Name"
i enter    "hello.HelloServer"
but when i point to the url
http://localhost/soap/admin/showdetails.jsp?id=urn:Hello
the "Provider Class" is empty, why ,can you help me?
    thank you
                                                    sinerely yours
                                                    Hong Bao Wang
----- Original Message -----
From: <ma...@cnedi69.cnafmail.fr>
To: <so...@xml.apache.org>
Sent: Tuesday, June 26, 2001 2:40 PM
Subject: Réf. : I want run the HelloWorld sample,get afault.


>
>
>
>
> >> It could come from tow reasons :
> - Which version of Xerces do you use ?? if it is the 1.3.1, then you can
> throw it away, and let's use Xerces1.2.3, because of  a bug of
Xerces1.3.1
> !!!!
> - otherwise, take care to put every ".jar" and directory (where is
stocked
> the java classes yuo want to use) before starting Tomcat (or other web
> server) !!! and I advise you to put all classes of you server in the same
> directory, put the "set classpath=%classpath%;." and start Tomcat from
its
> directory !!!
>
> good luck
>
>
> I use the tomcat as webserver,
> and i have deployed the urn:Hello
> to the webservice, but i get this fault.
> Generated fault:
>  Fault Code = SOAP-ENV:Server.BadTargetObjectURI
>  Fault String = Unable to resolve target object:
>
> is anyone meet this error, and how to resolve it,
> thank you.
>                                       HongBao Wang :)
>
>
>
>




i resolve the question.

Posted by HongBao Wang <wa...@yahoo.com>.
Thank you All,
I type the class name "hello.HelloServer"  in the wrong field,
i must type it in the Java Provider.

                                    sicerely yours
                                    HongBao Wang                                
----- Original Message ----- 
From: <ma...@cnedi69.cnafmail.fr>
To: <so...@xml.apache.org>
Sent: Tuesday, June 26, 2001 3:59 PM
Subject: Réf. : Re: Réf. : I want run the HelloWorldsample,get afault.






>> maybe you must specify which port you decide to use : 8080
http://localhost:8080/soap
I'm not sure that could be the cause of your problem ....

I use the xerces.jar is 1.2.3,
and I set the classpath like this
E:\jdk\jre\lib\rt.jar;
E:\jdk\jre\lib\i18n.jar;
E:\private\xerces.jar;
E:\private\mail.jar;
E:\private\activation.jar;
E:\private\soap.jar
what other jar file do need.
and i can see the deployed webservice from the
http://localhost/soap/admin/index.html
when i deploy the server class
there is text box
"For User-Defined Provider Type, Enter FULL Class Name"
i enter    "hello.HelloServer"
but when i point to the url
http://localhost/soap/admin/showdetails.jsp?id=urn:Hello
the "Provider Class" is empty, why ,can you help me?
    thank you
                                                    sinerely yours
                                                    Hong Bao Wang
----- Original Message -----
From: <ma...@cnedi69.cnafmail.fr>
To: <so...@xml.apache.org>
Sent: Tuesday, June 26, 2001 2:40 PM
Subject: Réf. : I want run the HelloWorld sample,get afault.


>
>
>
>
> >> It could come from tow reasons :
> - Which version of Xerces do you use ?? if it is the 1.3.1, then you can
> throw it away, and let's use Xerces1.2.3, because of  a bug of
Xerces1.3.1
> !!!!
> - otherwise, take care to put every ".jar" and directory (where is
stocked
> the java classes yuo want to use) before starting Tomcat (or other web
> server) !!! and I advise you to put all classes of you server in the same
> directory, put the "set classpath=%classpath%;." and start Tomcat from
its
> directory !!!
>
> good luck
>
>
> I use the tomcat as webserver,
> and i have deployed the urn:Hello
> to the webservice, but i get this fault.
> Generated fault:
>  Fault Code = SOAP-ENV:Server.BadTargetObjectURI
>  Fault String = Unable to resolve target object:
>
> is anyone meet this error, and how to resolve it,
> thank you.
>                                       HongBao Wang :)
>
>
>
>