I'm thinking this should go in cpp/sca/tools. Currently we have the
scagen tool in that folder but I've been meaning to move that to
cpp\sca\runtime\extensions\cpp\tools for some time now as it is really
part of the C++ language extension.
Cheers,
On 11/07/07, Brady Johnson <[EMAIL PROTECTED]> wrote:
I created a JIRA for this:
https://issues.apache.org/jira/browse/TUSCANY-1423
I also uploaded a patch, so its ready for some kindly commiter to submit
it.
FYI, the -model option doesn't work yet, since its depending on
functionality to be added with:
https://issues.apache.org/jira/browse/TUSCANY-1422
Thanks
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - [EMAIL PROTECTED]
-----Original Message-----
From: Pete Robbins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 11, 2007 2:00 PM
To: [email protected]
Subject: Re: SCA Toys?
Nice!
please attach a patch to a Jira and I'll test/commit it.
Cheers,
On 11/07/07, Brady Johnson <[EMAIL PROTECTED]> wrote:
>
> I havent seen much posted about this lately.
>
> I have a "toy" for TuscanySCA C++ that will use the SCARuntime to load
> a service and dump out pertinent information. Also, if there are any
> failures, it will dump that to stderr as well.
>
> See below for a sample output with the CppBigBank service:
>
> After looking at the svn structure, maybe the best place for it would
> be:
>
> cpp/sca/toys
>
> If anyone thinks this would be useful, I'll attach the code and
> someone can submit it for me.
>
> Thanks
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - [EMAIL PROTECTED]
>
>
> [EMAIL PROTECTED] bin]$ ./tuscanyServiceChecker -ir ${TUSCANY_SCACPP}
> -sr ${TUSCANY_SCACPP}/samples/CppBigBank/deploy
> Included composite: bigbank.app
> WSDL namespace: http://www.bigbank.com/AccountService
> PortType: AccountService
> Operation Info:
> OperationName: getAccountReport
> SOAP Action:
> http://www.bigbank.com/AccountService/getAccountReport
> Endpoint:
> http://localhost:9090/axis2/services/bigbank.AccountManagementComponen
> t/
> AccountService
> SOAP version: 0
> Document Style: 1
> Wrapped Style: 1
> In Encoded Style: 0
> Out Encoded Style: 0
> InputMsgURI:
> http://www.bigbank.com/AccountService
> InputMsgName:
> getAccountReportRequest
> OutputMsgURI:
> http://www.bigbank.com/AccountService
> OutputMsgName:
> getAccountReportResponse
> Input Message Part:
> Name: getAccountReportRequest
> Type: getAccountReport
> URI:
> http://www.bigbank.com/AccountService
> Output Message Part:
> Name: getAccountReportResponse
> Type: getAccountReportResponse
> URI:
> http://www.bigbank.com/AccountService
> WSDL namespace: http://www.webserviceX.NET/
> PortType: StockQuoteSoap
> Operation Info:
> OperationName: GetQuote
> SOAP Action:
> http://www.webserviceX.NET/GetQuote
> Endpoint:
> http://www.webservicex.net/stockquote.asmx
> SOAP version: 0
> Document Style: 1
> Wrapped Style: 1
> In Encoded Style: 0
> Out Encoded Style: 0
> InputMsgURI:
> http://www.webserviceX.NET/
> InputMsgName: GetQuoteSoapIn
> OutputMsgURI:
> http://www.webserviceX.NET/
> OutputMsgName: GetQuoteSoapOut
> Input Message Part:
> Name: parameters
> Type: GetQuote
> URI:
> http://www.webserviceX.NET/
> Output Message Part:
> Name: parameters
> Type: GetQuoteResponse
> URI:
> http://www.webserviceX.NET/
>
>
> -----Original Message-----
> From: Simon Laws [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 21, 2007 10:48 AM
> To: tuscany-dev
> Subject: SCA Toys?
>
> I've collected a couple of utilites that have helped me during
> debugging some problems (
> http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/slaws/sample
> -s
> ca-toys/).
> For example this is the code I drop at the end of a test to print out
> the model hierarchy that was built:
>
> // inspect the model
> Field domainCompositeField = scaDomain.getClass
> ().getDeclaredField("domainComposite");
> domainCompositeField.setAccessible(true);
> Composite domainComposite = (Composite)
> domainCompositeField.get(scaDomain);
>
> OutputStream os = new ByteArrayOutputStream();
> PrintUtil printUtil = new PrintUtil(os);
> printUtil.print(domainComposite);
> System.out.println("Assembly \n " + os.toString());
>
> I'm sure people have much smarter utils than I that they use to make
> their lives easier. If you have tools are you prepared to share them?
>
> How about we create a module:
>
> java/sca/devtools
>
> or even
>
> java/devtools
>
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]