You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Freeman Fang <fr...@iona.com> on 2007/05/29 10:22:57 UTC

Re: ServiceMix / CXF integration

Hi Nodet,

I'd like to do this integration. And I will start from my most familiar 
part, adding test case for JBI transport as the first step.

Absolutely there would be more questions for you and servicemix team in 
coming weeks.
Thanks in advance.

Freeman


Guillaume Nodet wrote:
> As some people have already seen, I have began to commit some code
> in CXF for a better integration with JBI, and especially ServiceMix.
> I have added the following modules to the CXF source tree:
>  * rt/bindings/jbi
>  * rt/transports/jbi
>
> Let me explain my thoughts about CXF / JBI.
> For those who don't know, JBI has two concepts which are Binding 
> Components
> and Service Engine.  The Binding Component is in charge of the protocol
> normalization,
> while the Service Engine is in charge of providing a business 
> service.  In
> CXF, both
> are linked somehow, but for a good JBI integration, they need to be 
> split.
>
> The two modules (JBI binding and JBI transport) will be used in a Service
> Engine.
> The transport was taken from the JBI integration in CXF and updated a 
> bit,
> while
> the binding is new.  The binding is in charge of transforming the JBI
> normalized message
> (using a wrapper defined in the JBI spec for WSDL 1.1 messages) to / from
> CXF messages.
>
> Another component will be a Binding Component which will transform an
> incoming soap
> message to a JBI normalized message, while handling all the WS-*
> specifications.
> It will also handle the client side.
>
> I have also started to slightly enhance the tooling side so that you 
> could
> use JAX-WS
> client side to call a JBI service when inside the JBI bus.
>
> The CXF JBI transport and binding are available at:
>  * http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/bindings/jbi/
>  * http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/transports/jbi/
>
> The ServiceMix SE and BC are available at:
>  *
> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/ 
>
>  *
> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/ 
>
>
> There are still lots of areas that need to be worked on:
>  * actually integrate ws-addressing, ws-security, ws-rm, ws-policy in the
> BC
>  * handler definitions in xml for BC / SE
>  * the client side of the BC
>  * testing (document, rpc, wrapped + headers, client side, all ws-* 
> stuff,
> tooling)
>  * documentation
> So any volunteers are welcome :-)
>


Re: ServiceMix / CXF integration

Posted by Eric Dofonsou <ew...@yahoo.com>.
I've started looking at this module SE also.

However there ares somelibrairie missing from the build process.  Here is
the output I get from the maven 

------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun.xml.bind:jaxb-impl:jar:2.0.5

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.sun.xml.bind
-DartifactId=jaxb-impl
 \
          -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.servicemix:servicemix-cxf-se:jbi-component:3.2-incubating-
SNAPSHOT
        2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0-incubator-SNAPSHOT
        3) org.apache.cxf:cxf-rt-core:jar:2.0-incubator-SNAPSHOT
        4) com.sun.xml.bind:jaxb-impl:jar:2.0.5

----------
1 required artifact is missing.

for artifact:
 
org.apache.servicemix:servicemix-cxf-se:jbi-component:3.2-incubating-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  apache-incubating
(http://people.apache.org/repo/m2-incubating-repository),
  codehaus (http://repository.codehaus.org),
  servicemix-m2-repo
(http://svn.apache.org/repos/asf/incubator/servicemix/m2-re
po),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://www.ibiblio.org/maven2)


has this librarie been added ?


Freeman Fang-2 wrote:
> 
> Hi Nodet,
> 
> I'd like to do this integration. And I will start from my most familiar 
> part, adding test case for JBI transport as the first step.
> 
> Absolutely there would be more questions for you and servicemix team in 
> coming weeks.
> Thanks in advance.
> 
> Freeman
> 
> 
> Guillaume Nodet wrote:
>> As some people have already seen, I have began to commit some code
>> in CXF for a better integration with JBI, and especially ServiceMix.
>> I have added the following modules to the CXF source tree:
>>  * rt/bindings/jbi
>>  * rt/transports/jbi
>>
>> Let me explain my thoughts about CXF / JBI.
>> For those who don't know, JBI has two concepts which are Binding 
>> Components
>> and Service Engine.  The Binding Component is in charge of the protocol
>> normalization,
>> while the Service Engine is in charge of providing a business 
>> service.  In
>> CXF, both
>> are linked somehow, but for a good JBI integration, they need to be 
>> split.
>>
>> The two modules (JBI binding and JBI transport) will be used in a Service
>> Engine.
>> The transport was taken from the JBI integration in CXF and updated a 
>> bit,
>> while
>> the binding is new.  The binding is in charge of transforming the JBI
>> normalized message
>> (using a wrapper defined in the JBI spec for WSDL 1.1 messages) to / from
>> CXF messages.
>>
>> Another component will be a Binding Component which will transform an
>> incoming soap
>> message to a JBI normalized message, while handling all the WS-*
>> specifications.
>> It will also handle the client side.
>>
>> I have also started to slightly enhance the tooling side so that you 
>> could
>> use JAX-WS
>> client side to call a JBI service when inside the JBI bus.
>>
>> The CXF JBI transport and binding are available at:
>>  * http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/bindings/jbi/
>>  * http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/transports/jbi/
>>
>> The ServiceMix SE and BC are available at:
>>  *
>> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/ 
>>
>>  *
>> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/ 
>>
>>
>> There are still lots of areas that need to be worked on:
>>  * actually integrate ws-addressing, ws-security, ws-rm, ws-policy in the
>> BC
>>  * handler definitions in xml for BC / SE
>>  * the client side of the BC
>>  * testing (document, rpc, wrapped + headers, client side, all ws-* 
>> stuff,
>> tooling)
>>  * documentation
>> So any volunteers are welcome :-)
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ServiceMix---CXF-integration-tf3644399s12049.html#a11006968
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.