• 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

JAX RPC

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Can anybody help me in the problem .I just tried to execute wsdeploy.bat on a war file(temp.war) which contains web.xml,jaxrpc-ri.xml in the folder under war directory and (Interface,Implementation class file under WEB-INF/classes/PackageName).
Syntax of the command is wsdeploy -o apps.war temp.war -verbose
result is

info: created temporary directory: C:\DOCUME~1\viswanra\LOCALS~1\Temp\jaxrpc-deploy-e3e221

info: removed temporary directory: C:\DOCUME~1\viswanra\LOCALS~1\Temp\jaxrpc-deploy-e3e221

error: java.io.FileNotFoundException: C:\DOCUME~1\viswanra\LOCALS~1\Temp\jaxrpc-deploy-e3e221\WEB-INF\jaxrpc-ri.xml (The system cannot find the file specified)
java.io.FileNotFoundException: C:\DOCUME~1\viswanra\LOCALS~1\Temp\jaxrpc-deploy-e3e221\WEB-INF\jaxrpc-ri.xml (The system cannot find the file 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:211)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)


Content of the jaxrpc-ri.xml is

<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="http://SuccessWebservices.org/wsdl"
typeNamespaceBase="http://SuccessWebservices.org/types"
urlPatternBase="/ws">

<endpoint
name="SuccessService"
displayName="Success Service"
description="A simple web service"
interface="Success.SuccessIfc"
implementation="Success.SuccessImpl"/>

<endpointMapping
endpointName="SuccessService"
urlPattern="/success"/>
</webServices>


I even do not know whether value given in targetNamespaceBase and typeNamespaceBase is correct or not.how shud i verify it whether it is correct or not.Plz guide me in this regard






Plz help me on this issue.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "Craig"-

You may have missed that we have a policy on screen names here on JavaRanch. Since yours does not conform to it, please adjust it here. Thanks fro your prompt attention to this matter.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As regards your question, it doesn't matter what jaxrpc-ri.xml contains, because it is not even found. Make sure that in your script file you have specified its path correctly. Take a look at the wsdeploy script to make sure that your directory structure agrees with what the script expects.
 
reply
    Bookmark Topic Watch Topic
  • New Topic