[ 
https://issues.apache.org/activemq/browse/SMXCOMP-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61364#action_61364
 ] 

Dan Powell commented on SMXCOMP-790:
------------------------------------

That binding customization was not added until version 2.1.10 so there is no 
change with or without it in version 2.1.3.  In version 2.1.3 access to the 
"content" was available by default, removed in 2.1.4, and added back as a 
binding customization option in 2.1.10.

Comparing version 2.1.12 (the default for this version of cxf-se) and 2.2.1.1 
the generated code is nearly identical and fails to deploy.

> IllegalStateException Deploying CXF-SE Service Unit with JAX-WS Binding Files
> -----------------------------------------------------------------------------
>
>                 Key: SMXCOMP-790
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-790
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: servicemix-cxf-se-2010.01
>         Environment: Linux x86_64
> java version "1.6.0_21"
> Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
> xjc version "JAXB 2.1.10 in JDK 6"
> JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build 
> JAXB 2.1.10 in JDK 6)
>            Reporter: Dan Powell
>            Assignee: Freeman Fang
>         Attachments: generated-sources.diff, jaxb-bindings-test-cxf.tar.gz, 
> jaxb-bindings-test.tar.gz, pom.xml
>
>
> I need to use a binding file to customize the generated classes for my 
> services (specifically generateMixedExtensions).  The cxf-codegen-plugin 
> correctly observes the binding file and generates the correct classes, but 
> the cxf-se component throws an IllegalStateException deploying the SU. 
> Without the binding file, my service deploys properly.  
> If I specify version jaxb-xjc and jaxb-impl version 2.1.3 as plugin 
> dependencies for the cxf-codegen-plugin then it deploys.  I've tried building 
> a servicemix-cxf-bc based on the 2010.01 tag but with 2.2.1.1 XJC but still 
> get the same IllegalStateException. 
> The service also starts correctly with the binding file on standalone CXF 
> version 2.2.9.
> Information on this specific binding customization, if relevant, can be found 
> at http://blogs.sun.com/mgrebac/entry/handling_extended_mixed_content_in.

-- 
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