[ 
https://issues.apache.org/jira/browse/SM-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved SM-988.
-------------------------------------

    Resolution: Fixed

Revision 1173041

> WSDL generation fails (SU built by servicemix-jsr181-annotated-service-unit 
> archetype)
> --------------------------------------------------------------------------------------
>
>                 Key: SM-988
>                 URL: https://issues.apache.org/jira/browse/SM-988
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: archetypes, tooling
>    Affects Versions: 3.1
>            Reporter: Gert Vanthienen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: archetypes-2011.01
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to