[
https://issues.apache.org/jira/browse/CXF-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pederson updated CXF-2769:
-------------------------------
Attachment: cxf2769.tar
Attached. This is a modified version of the java_first_spring_support sample.
Run mvn -Pserver to run the server and mvn -Pclient to run the client
If you can tell me how to get HelloFault2 and/or HelloFault3 working that would
be great.
I'm always getting errors like:
org.apache.cxf.interceptor.Fault: Could not find JAXB information for bean
class demo.spring.HelloFault2$HelloFault2Details in context. Make sure it
follows JAXB conventions.
By working I mean the included client and server works and the WSDL is good
(for non-java clients).
Thanks!
> Must use Java static nested class for faultbean when using JAX-WS java first
> ----------------------------------------------------------------------------
>
> Key: CXF-2769
> URL: https://issues.apache.org/jira/browse/CXF-2769
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.2.7
> Reporter: Eric Pederson
> Attachments: cxf2769.tar
>
>
> You have to use a Java static nested class of the Exception class for a
> faultbean when using JAX-WS java first. All other types of classes result
> in errors of the type
> org.apache.cxf.interceptor.Fault: Could not find JAXB information for bean
> class <bean class> in context. Make sure it follows JAXB conventions.
> You should be able to use any class if it follows the guidelines of JAX-WS
> section 3.7
> Better yet CXF should be able to generate the bean classes off the Exception
> classes dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.