Hi Prashanth,

Some answers below:


On Tue, Mar 4, 2008 at 9:11 AM, Prashanth Rao <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to