WSDL generation fails (SU built by servicemix-jsr181-annotated-service-unit 
archetype)
--------------------------------------------------------------------------------------

                 Key: SM-988
                 URL: https://issues.apache.org/activemq/browse/SM-988
             Project: ServiceMix
          Issue Type: Bug
          Components: tooling
    Affects Versions: 3.1
            Reporter: Gert Vanthienen
            Priority: Minor


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:

{noformat}
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]
{noformat}

Seems like the generator can't find the class, but yet the configuration for 
the Ant task looks correct...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to