以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 Java/Eclipse 』  (http://bbs.xml.org.cn/list.asp?boardid=41)
----  how to configure soap-2_3_1 and Tomcat5.0?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=41&rootid=&id=9205)


--  作者:jackeyzeng
--  发布时间:8/8/2004 1:15:00 AM

--  how to configure soap-2_3_1 and Tomcat5.0?
I have some problem in configuring the soap-2_3_1 and Tomcat5.0 . I copy the folder c:\soap-2_3_1\soap to C:\Tomcat 5.0\webapps\soap , and successfully in running the soap administration . but didn't touch c:\Tomcat 5.0\webapps\soap\WEB-INF\web.xml
my application is in C:\Tomcat 5.0\webapps\b2b2c .
I set the rpcrouter address is : "http://localhost:8080/servlet/rpcrouter"

************************************
http://localhost:8080/soap/admin/ configure as follow

'urn:CheckOrder' Service Deployment Descriptor
Property Details
ID urn:CheckOrder
Scope Session
Provider Type java
Provider Class CheckOrder
Use Static Class false
Methods checkOrderStatus
Type Mappings
Default Mapping Registry Class

**********************************************************
when I input "http://localhost:8080/b2b2c/jsp/checkorder.jsp" and submit the order No. the application can connect the mysql database successfully , but when it use RPC ,it is failure! And I try to delete the C:\Tomcat 5.0\webapps\soap , it was the same situation . I think there must be something wrong in configure the apache SOAP !

and the tomcat told me that the "rpcrouter" ia unavailable!

********************************************************************


the error information:

caught SOAPException <SOAP_ENV:Protocol>: Unsupport response content type "text/html;charset
=GB2312", must be :"text/xml". Response was:< html><head><title
>>Apache Tomcat/5.0.27 -Error report</title><style><!--H1{font-family:Tahoma,Arial,
san-serif;color:white;background-color:#525d76;font-size:22px;} H2{font-family:Tahoma,Arial,san-serif;
...............
type</b> Status report</p><p><b>message</b> <u>type<
/b> Status report</p>lt;p><b>message</b><u>/servlet/recrouter<
/u></p><b>description</b> <u>The requested resourse </servlet/rpcrouter>
is not available.</u></p><HR size="1" noshade=" noshade"
"><h3>Apache Tomcat/5.0.27</h3><body></html>

*****************

I have no idea, could u help ?


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
39.063ms