Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.1
-
None
Description
If you build a SU using the servicemix-jsr181-annotated-service-unit, it generates a pom.xml file which calls upon XFire's wsdlgen to generate a WSDL file. However, this WSDL generation fails with this exception:
Embedded error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.codehaus.xfire.spring.ServiceBean' defined in file [C:\opt\project\jsr181-sample\wsdl-generate-sample\wsdlgen-jsr181-su\src\main\resources\services.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class ] for property 'serviceClass'; nested exception is java.lang.IllegalArgumentException: Class not found: com.sample.ExampleService]
Seems like the generator can't find the class, but yet the configuration for the Ant task looks correct...