History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-677
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Ryan Heaton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

The JAXWSAnnotationServiceFactory requires the name to be specified on a Fault

Created: 28/Sep/06 03:22 PM   Updated: 30/Sep/06 09:58 PM
Component/s: JAX-WS
Affects Version/s: None
Fix Version/s: 1.2.2

Time Tracking:
Not Specified


 Description  « Hide
If a thrown web fault doesn't specify the "name" on its @WebFault annotation, the simple name of the fault should be used.

This is what actually happens:

java.lang.IllegalArgumentException: Invalid name []
[java] at org.codehaus.xfire.service.OperationInfo.addFault(OperationInfo.java:193)
[java] at org.codehaus.xfire.service.binding.ObjectServiceFactory.addFault(ObjectServiceFactory.java:908)
[java] at org.codehaus.xfire.jaxws.JAXWSServiceFactory.addFault(JAXWSServiceFactory.java:60)
[java] at org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeFaults(ObjectServiceFactory.java:881)
[java] at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(ObjectServiceFactory.java:801)
[java] at org.codehaus.xfire.jaxws.JAXWSServiceFactory.addOperation(JAXWSServiceFactory.java:52)
[java] at org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:706)
[java] at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:410)
[java] at org.codehaus.xfire.annotations.AnnotationServiceFactory.create(AnnotationServiceFactory.java:246)
[java] at org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:176)
[java] at org.codehaus.xfire.spring.remoting.XFireExporter.afterPropertiesSet(XFireExporter.java:30)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 30/Sep/06 09:58 PM
Just fixed this in SVN. Thanks!