• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

webservice using JAX-RPC

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic