Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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