jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • XFire
  • XFIRE-417

Load customized wsdl from classpath

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.1
  • Fix Version/s: None
  • Component/s: Core
  • Labels:
    None
  • Environment:
    not platform specific

Description

XFire 1.1 support customized wsdl file via org.codehaus.xfire.spring.ServiceBean's wsdlURL property. However, it don't support load wsdl file from classpath. So you have to place the wsdl under some place and set the abosulate URL to ServiceBean's wsdlURL property.
XFire should extend to support load wsdl file from classpath like this:

<property name="wsdlURL" value="classpath:/cn/cetelem/cnxnet/docserver/ws/docsrv.wsdl" />

here the classpath: prefix is used to distinguish with other resource loading mechanism. This is quite spring-style and also easy to implement. See attached patch for reference. This patch only work with spring-style configure, not xbean-style. Wish the XFire developer will include this feature in the next release.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    ServiceBean.patch.txt
    24/May/06 1:48 AM
    1 kB
    justin
  2. Text File
    ServiceBean.patch.txt
    24/May/06 1:38 AM
    1 kB
    justin

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
justin added a comment - 24/May/06 1:48 AM

Please use this patch. There are some text formatting problems in the old one

Show
justin added a comment - 24/May/06 1:48 AM Please use this patch. There are some text formatting problems in the old one
Hide
Permalink
Mike McAngus added a comment - 20/Jun/06 5:50 PM

Can't this be accomplished with @WebService(wsdlLocation=file://somepath/SomeFile.wsdl ?

Isn't "somepath" relative to the classpath?

I don't know for sure because wsdlLocation seems to be ignored no matter where I put the wsdl file, but that is what I thought should be the case.

Show
Mike McAngus added a comment - 20/Jun/06 5:50 PM Can't this be accomplished with @WebService(wsdlLocation=file://somepath/SomeFile.wsdl ? Isn't "somepath" relative to the classpath? I don't know for sure because wsdlLocation seems to be ignored no matter where I put the wsdl file, but that is what I thought should be the case.

People

  • Assignee:
    Dan Diephouse
    Reporter:
    justin
Vote (0)
Watch (1)

Dates

  • Created:
    24/May/06 1:38 AM
    Updated:
    20/Jun/06 5:50 PM

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.