| Author |
webservice using JAX-RPC
|
Mohan Basavarajappa
Greenhorn
Joined: Dec 21, 2005
Posts: 14
|
|
Hello, can anyone send me a document that explains the setps how to create a webservice using JWSDP without making use of IDE. I am not intrested in using IDE. What is the directory structure to be maintained for deployment on tomcat container. what are tools to be used and when to be used. The reason is, i am getting the error when i run wsdeploy.bat file. I have integrated the JWSDP1.5 with tomcat50-jwsdp. This container is the one that is available at sunmicrosystem website C:\Sun\jwsdp-1.5\jaxrpc\samples\Service>%JWSDP_HOME%\jaxrpc\bin\wsdeploy.bat -verbose -keep -tmpdir build\tmpdir -o dist/myWStest.war build\myWEB-INF.war info: created temporary directory: C:\Sun\jwsdp-1.5\jaxrpc\samples\Service\build\tmpdir\jaxrpc-deplo y-34fcb6 error: java.io.FileNotFoundException: C:\Sun\jwsdp-1.5\jaxrpc\samples\Service\build\tmpdir\jaxrpc-de ploy-34fcb6\WEB-INF\jaxrpc-ri.xml (The system cannot find the path specified) java.io.FileNotFoundException: C:\Sun\jwsdp-1.5\jaxrpc\samples\Service\build\tmpdir\jaxrpc-deploy-34 fcb6\WEB-INF\jaxrpc-ri.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:251) at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43) at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269) IS THIS SOMETHING THAT IS RELATED TO MY SYSTEM SETTINGS
|
 |
Peer Reynders
Bartender
Joined: Aug 19, 2005
Posts: 2906
|
|
wsdeploy is complaining about the fact that it can't find the jaxrpc-ri.xml file in the WEB-INF directory of your input WAR. The jaxrpc-ri.xml is JWSDPs version of the webservices.xml. The jaxrpc-ri.xml must be deployed together with the web.xml file. The jaxrpc-ri.xml contains web service deployment information that cannot be put in the web.xml file. For examples of jaxrpc-ri.xml files see: Java(TM) API for XML-based RPC (JAX-RPC) Tools Using JAX-RPC to Expose a Java Object as a Web Service [ February 24, 2006: Message edited by: Peer Reynders ]
|
"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
|
 |
 |
|
|
subject: webservice using JAX-RPC
|
|
|