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 "陳照東) <alex@erp.ncu.edu.tw>" <Alex> on 2001/03/07 11:12:08 UTC

why??

below is my classpath settings:
Using classpath: d:\xerces-1_2_3\xerces.jar;..\classes;..\lib\webserver.jar;..\l
ib\jasper.jar;..\lib\xml.jar;..\lib\servlet.jar;d:\jdk1.2.2\lib\tools.jar;;D:\IB
MCON~1\CICS\Classes\CTGCLI~1.JAR;D:\IBM Connectors\classes;d:\jdk1.2.2\lib;d:\xe
rces-1_2_3\xerces.jar;D:\XML4J-3_1_1\xml4j.jar;D:\xalan-j_2_0_0\bin;D:\xalan-j_2
_0_0\bin\xalan.jar;d:\xalansamples.jar;D:\xalan-j_2_0_0\bin\xalanservlet.jar;D:\
javamail-1.2\mail.jar;D:\jaf-1.0.1\activation.jar;D:\soap-2_1\lib\soap.jar;D:\so
ap-2_1;D:\bsf-2_2\lib\bsf.jar;d:\jdk1.2.2\lib\tools.jar;d:\saxon\saxon.jar;D:\xa
lan-j_2_0_0\bin\xalan.jar;d:\soap-2_1\bsf.jar;d:\soap-2_1\bsfengines.jar;d:\soap
-2_1\pop3.jar;d:\soap-2_1\smtp.jar;d:\soap-2_1\xmisoap.jar;D:\jakarta-tomcat\lib
;;.
an  i run this
d:\javawork>java org.apache.soap.server.ServiceManagerClient http://localhost:80
80/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

and then it's error :
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be: "text/xml". Response was:
<h1>Error: 404</h1>
<h2>Location: /soap/servlet/rpcrouter</h2>
]
        at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:173)
        at org.apache.soap.rpc.Call.invoke(Call.java:210)
        at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:127)
        at org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:140)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java, Compiled Code)



i dont know , i do not create the forder http://localhost:80 80/soap/servlet/rpcrouter 
so how to put my xml file to deploy???
and  each time i run the http://localhost:8080/soap/index.html and then shows error, because i do not have the forder servlet/rpcrouter

my soap path     D:\soap-2_1 
my tomcat path  D:\jakarta-tomcat

do i need to copy the d:\soap-2_1\webapps to d:\D:\jakarta-tomcat\wabapps   ????

why i cant run the addressbook sample currently?????
the path has make me confused...


IT DEP. Special Team-XML 
       Alex      
Tel:(03)4227151 ext:6024

alex@ERP.NCU.EDU.TW
=We Do Enterprise Services=

IT DEP. Special Team-XML 
       Alex      
Tel:(03)4227151 ext:6024

alex@ERP.NCU.EDU.TW
=We Do Enterprise Services=