This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

assosciate webservice to a WSDL file

 
jeyakar antony
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I tried developing webservice(EJB as RPC) in weblogic server and installed and its working fine if i call it from client.
I am using java2WSDL(axis) tool to create a WSDL file and WSDL2Java to create stubs for client to call.I am struck in linking webservice to use the wsdl file which i have created.
I manually tried to add my WSDL file to the WAR file of my application and also Updated the web.xml file of the Web application adding a mime-mapping.

I am able to access the WSDL file in browser as http://bt885094:7001/webservice/user.wsdl
But my client tries to access the service "http://bt885094:7001/webservice/C2PUserService" which has an associated WSDL file defined as http://bt885094:7001/webservice/C2PUserService?WSDL which needs to be checking for http://bt885094:7001/webservice/user.wsdl

Could anyone tell me how to assosciate webservice to a WSDL file.

thanks in advance
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jeyakar antony:

Could anyone tell me how to assosciate webservice to a WSDL file.

Welcome to Javaranch Jeyakar,
Could you please tell us what you mean by associating webservice to a WSDL file ? What are you trying to accomplish by assiociating a WSDL from another WSDL ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic