axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1512) There should be a way of specifying a URL for ?WSDL in WSDD
Date Fri, 03 Sep 2004 18:39:50 GMT
The following comment has been added to this issue:

     Author: Gary Gordon
    Created: Fri, 3 Sep 2004 11:38 AM
I have coded an implmentation for supporting the wsdlURL tag in the WSDD file and am attaching
a zip file with the diffs and new sources.

While the fix involved five source files (all Java files within org.apache.axis), it is really
a very simple fix.  The biggest problem was that I had to add two new methods to the ServiceDesc
interface, to get and set the WSDL URL, which also necessitated changing JavaServiceDesc.
 In the behavior I implemented, the SOAPHandler now first checks if either the service description
is null or BOTH the wsdl file and wsdl URL from the service description are null.  If so,
the WSDL is dynamically generated as before.  Otherwise, first the wsdl file presence is checked
and handled as before if not null.  Finally the WSDL URL case is handled if wsdl file was
null above.

One of the follow-up posts suggested we return an HTTP 302 code.  I don't think the infrastructure
here is really set up for another round trip to happen at this point.  I would suggest that
the URL specified does not necessarily have to be that of a static file - it could even be
a servlet request or any HTTP GET for that matter.  Thus, as long as we have URL functionality,
the programmer can supply a URL that does whatever is desired.
View this comment:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1512
    Summary: There should be a way of specifying a URL for ?WSDL in WSDD
       Type: Improvement

     Status: Unassigned
   Priority: Major

    Project: Axis
             Deployment / Registries
             1.2 Beta

   Reporter: Gary Gordon

    Created: Fri, 13 Aug 2004 12:50 PM
    Updated: Fri, 3 Sep 2004 11:38 AM
Environment: Windows 2000, XP, Unix, all

Currently in a WSDD file you can specify the location of a WSDL file using the <wsdlFile>
tag, but this only works for files on the filesystem or resources pacakged in JAR files. 
For our application, we store the WSDL file in a WebDAV repository, so it is addressible only
through an HTTP URL.  Thus, we would like a way of specifying the WSDL location as a URL in
the WSDD file, perhaps using a <wsdlURL> tag or something similar.  This is more general
and flexible than file paths on a particular system.  It would be a major administrative headache
for us to copy the WebDAV-resident WSDL file someplace on the filesystem every time it changes.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message