File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find the WSDL URL location ?

 
love saiju
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed Java Web Service using Top-Down approach.
Steps :
1) created required wsdl/xsd files
2) generated the java stubs using the wsimport command from the command prompt.
3) Implemented all the operations listed in the WSDL file.
4) successfully tested the module running as the stand alone java program.

Doubts:
1) to consume the web service from other application like BPEL, OSB, etc. I need the wsdl url location.
2) how can i get this WSDL URL location, which is temporarily deployed in the tomcat server for testing purpose.
3) I have tried with the url specified at the soap:address from service element in the WSDL file.

please suggest solution ??
 
Tim Moores
Bartender
Pie
Posts: 2496
10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on the SOAP implementation you're using. For example, Axis2 sends the WSDL if you append a "?wsdl" to the service URL. So for the standard Axis2 Version service -for which the service URL is something like http://localhost:8080/axis2/services/Version- the WSDL URL would be http://localhost:8080/axis2/services/Version?wsdl

Check the documentation of the SOAP implementation you're using.
 
P Ram
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I need to frame a URL with parameters to consume the webservice from another mobile application. But I am not able to fetch the URL part from the WSDL file. Help me if anyone could.
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for references to endpoint!!

BE WARNED! This may be local, where ever the Java was generated from.

Why not put the endpoint in a property or something else.

It's a catch 22! You are looking to get the wsdl to get the endpoint by which the wsdl (?wsdl) is served by the endpoint.

I can generate clients from manchine/host A,
yet host the webservice(s) on host B, C etc.

WP
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic