aspose file tools*
The moose likes Web Services and the fly likes JAX RPC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX RPC" Watch "JAX RPC" New topic
Author

JAX RPC

Craig Williams
Greenhorn

Joined: Apr 14, 2004
Posts: 8
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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42275
    
  64
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.


Ping & DNS - my free Android networking tools app
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42275
    
  64
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX RPC