Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by RichardGregory:
http://wiki.apache.org/ws/FrontPage/Axis/WsdlFile

------------------------------------------------------------------------------
  Axis will first look for a file of that name on the local path, then for a 
resource of that name on the classpath. 
  
  Also see the article: 
[http://www.fawcette.com/javapro/2003_02/online/WSDL_kjones_02_27_03/ Configure 
Axis Web Services: Return prewritten WSDL from an AXIS Web service] by Kevin 
Jones 
- 
- ---- /!\ '''Edit conflict - other version:''' ----
  
  One thing to be aware of is that Axis (at least 1.2.1 and 1.3) sometimes 
change the service address element of wsdl files, including hand written wsdl 
files. For example, if a service is deployed at:
  
@@ -39, +37 @@

  
  Of course, this may cause problems for clients automatically generated from 
the wsdl, which may not recognise the machine name if they are external to the 
organisation. Including a <documentation/> element with the correct service 
address within the wsdl may at least enable developers to spot the error in 
their generated clients.
  
- ---- /!\ '''Edit conflict - your version:''' ----
+ last edited [[Date(2005-11-08T16:17:30Z)]] [[DateTime(2005-11-08T16:17:30Z)]] 
by RichardGregory
  
- One thing to be aware of is that Axis (at least 1.2.1 and 1.3) sometimes 
change the service address element of wsdl files, including hand written wsdl 
files. For example, if a service is deployed at:
- 
- {{{
-      http://www.myco.com/webservices/axis/services/MyService
- }}}
-  
- When requesting the wsdl with:
- 
- {{{
-      http://www.myco.com/webservices/axis/services/MyService?wsdl
- }}}
- 
- Axis will sometimes change the hand written wsdl and replace 
"www.myco.com/webservices" with the machine name and port number of the machine 
on which the service is deployed, and return a wsdl with an address like:
- 
- {{{
-      http://mahcine_name:8080/axis/services/MyService
- }}}
- 
- Of course, this may cause problems for clients automatically generated from 
the wsdl, which may not recognise the machine name if they are external to the 
organisation. Including a <documentation/> element with the correct service 
address within the wsdl may at least enable developers to spot the error in 
their generated clients.
- 
- ---- /!\ '''End of edit conflict''' ----
- 

Reply via email to