[ 
https://issues.apache.org/jira/browse/TUSCANY-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brady Johnson updated TUSCANY-1423:
-----------------------------------

    Attachment: TuscanyServiceLoader.cpp.model

Now that the fix to be able to walk the SCA Model hierarchy has been applied, 
here is the change in the tool to walk the hierarchy.

Here is the output for the CppBigBank sample:

./tuscanyServiceLoader -ir ${TUSCANY_SCACPP} -sr 
${TUSCANY_SCACPP}/samples/CppBigBank/deploy -model
System Included composite: bigbank.app
         Top Level Component: bigbank.AccountManagementComponent
                 Implemetation Composite: bigbank.AccountManagementComponent
                         Component: AccountDataServiceComponent
                                 Component Type: AccountDataServiceImpl
                                 Service: AccountDataService
                         Service: AccountService
                                 Component Type: AccountService
                                 Binding Type: 
http://www.osoa.org/xmlns/sca/1.0#WebServiceBinding
                         Component: AccountServiceComponent
                                 Component Type: AccountServiceImpl
                                 Service: AccountService
                                 Reference: accountDataService
                                 Reference: stockQuoteService
                         Component: StockQuoteServiceComponent
                                 Component Type: StockQuoteServiceImpl
                                 Service: StockQuoteService
                                 Reference: webService
                         Reference: StockQuoteWebService
                                 Component Type: StockQuoteWebService
                                 Binding Type: 
http://www.osoa.org/xmlns/sca/1.0#WebServiceBinding
                                 Service:

Services loaded correctly.



> There are no tools to verify or display tuscany services
> --------------------------------------------------------
>
>                 Key: TUSCANY-1423
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1423
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>         Environment: All platforms
>            Reporter: Brady Johnson
>            Priority: Minor
>             Fix For: Cpp-Next
>
>         Attachments: build.xml, main.cpp, TuscanyServiceLoader.cpp, 
> TuscanyServiceLoader.cpp.model, TuscanyServiceLoader.h
>
>
> According to Simon Laws thread "SCA Toys?" posted June 21, 2007, it would be 
> very useful to have a set of utilities or toys for TuscanySCA.
> I have created a toy for TuscanySCA C++ that loads tuscany services via 
> SCARuntime() and displays their information. This would be very
> useful for service development and verification.
> Following is the application's help usage:
> [EMAIL PROTECTED] bin]$ ./tuscanyServiceLoader -h
> Usage
> tuscanyDriver
>         -ir Mandatory: Installation root where extensions are located: 
> ${TUSCANY_SCACPP}
>         -sr Mandatory: System root where projects are located: 
> ${TUSCANY_SCACPP}/samples
>         -sp Optional: System path
>         -uri Optional: Base URI
>         -dc Optional: Default Component name
>         -model Optional: Display SCA Model Hierarchy
>         -wsdl Optional: Display WSDL information
>         -v Optional: Same as specifying both: -model and -wsdl
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - [EMAIL PROTECTED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to