Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to generate JAX-RPC mapping file using wscompile tool  RSS feed

 
Saurabh Saha
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I have wsdl file, I want to generate a JAX-RPC mapping file for this wsdl file using wscompile tool.
In command prompt I am try as:

wscompile -import C:\work\tutorial\wsdl -keep -d C:\work\tutorial\src\server -f ocumentliteral,wsi C:\work\tutorial\descriptors\config.xml
-mapping C:\work\tutorial\descriptors\jaxrpc-mapping.xml


I am getting error as:

error: only one configuration file can be specified: C:\work\tutorial\descriptor
s\config.xml
Usage: wscompile [options] configuration_file


Thanks & Regards,
Saurabh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would interpret that error msg as saying your command line should have the configuration file as the last element, you have something called -mapping........

Which implementation of JAX-RPC are you trying to use?

Bill
 
Saurabh Saha
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi William,
thanks for reply.
I am new for web services, I am trying deploy a sample web services as shown in a web site link.
http://home.earthlink.net/~adamsw/webservices/JBossDocLitWS/JBoss_4.0.3/index.html

Actually I have to deploy my webservices on JBoss server which is currently runnig on systinet server.

For systinet server we deploy just a jar we don't need to write any xml file systinet take care about this.

For JBoss what I am trying to do, I'll make a war file that will contain
web.xml
config.xml
JAX-RPC mapping xml file
wsdl file
interface
implemented class.

what I have :
interface
implemented class
wsdl file

while studying I come to know that by using wstools or wscompile we can generate xml file giving wsdl file as input.

Please help me for generating these files.

Thanks & Regards,
Saurabh
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I am not familiar with the tools JBoss provides. However, I think it is safe to say that the error message you gave is related to location of parameters in the command line for wscompile. You will not be able to continue until you figure out what wscompile is expecting.

Bill
 
Saurabh Saha
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks William,
I'll try to figure out wscompile problem.

Thanks
Saurabh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!