You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Prashanth Rao <pr...@gmail.com> on 2008/03/04 10:11:22 UTC

SCA C++ and ESB

Hi

I have couple of questions on Tuscany project and interoperability with any
ESB

1. Is there any ESB which is SCA compliant as of now in the industry.

2. If I create a SCA component out of an existing C++ code, and publish it
as a webservice, I can consume that service within any ESB using WS calls??
Is there any other approach?

3. Also, if an existing C++ component is published as SCA component (with WS
binding), what are the things I need to take care? Should I modify my C++
component to parse the SOAP / XML payload which I might receive from non-SCA
components, which calls this C++ service?

4. Does Tuscany SCA provides tools to create "WSDL to C++ mappings" AND "C++
to WSDL mappings"?

Re: SCA C++ and ESB

Posted by Andrew Borley <aj...@gmail.com>.
Hi Prashanth,

Some answers below:


On Tue, Mar 4, 2008 at 9:11 AM, Prashanth Rao <pr...@gmail.com> wrote:

>  2. If I create a SCA component out of an existing C++ code, and publish it
>  as a webservice, I can consume that service within any ESB using WS calls??
>  Is there any other approach?

Yep, that would work. The other currently available method is to use
the REST binding.
See the documentation in the SCA Native M3 release for more info and
look at the CPPBigBank sample for a
WS/C++ sample and the RESTCalculator sample for a REST example.

>  3. Also, if an existing C++ component is published as SCA component (with WS
>  binding), what are the things I need to take care? Should I modify my C++
>  component to parse the SOAP / XML payload which I might receive from non-SCA
>  components, which calls this C++ service?

Nope, your C++ component is based on a normal C++ class (with some
restrictions on the types that can be passed into/out of the methods).
The WS-binding (and the Axis2C code it depends upon) does all the work
on the SOAP/XML payload.
See the following articles for a couple of worked examples:
http://www.ibm.com/developerworks/library/ws-soa-capisca1/index.html
http://www.ibm.com/developerworks/library/ws-soa-capisca2/index.html

>  4. Does Tuscany SCA provides tools to create "WSDL to C++ mappings" AND "C++
>  to WSDL mappings"?
>

Not yet. This is something that is in the latest SCA C++
specifications, but has not yet been implemented in Tuscany.

Cheers
Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org