axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
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
       Body:
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:
  http://issues.apache.org/jira/browse/AXIS-1512?page=comments#action_52810

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1512

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
 Components: 
             Deployment / Registries
   Versions:
             1.2 Beta

   Assignee: 
   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

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message