I can indent that easy enough.
Also, I can add some extra command line flags:
-v verbose output, displays everything
-model display the model hierarchy, composites, components,
services, etc
-wsdl display the WSDL info: namespaces, PortTypes, Operations,
Messages, etc
By default it could just validate and not display anything.
I made it so that there is a TuscanyServiceChecker class that can be
used by GUIs, etc.
Anything else?
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - [EMAIL PROTECTED]
-----Original Message-----
From: Mike Micucci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 11, 2007 1:23 PM
To: [email protected]
Subject: RE: SCA Toys?
This looks pretty cool, Brady. I would maybe indent the operation info
since multiple operations can be loaded under one port type?
I think the location you specified seems fine to me.
Thanks!
-- Michael Micucci
-- Project Team Lead - HydraSCA Agent Core Project
-- Roguewave Software - [EMAIL PROTECTED]
-----Original Message-----
From: Brady Johnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 11, 2007 12:13 PM
To: [email protected]; [EMAIL PROTECTED]
Subject: RE: SCA Toys?
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.AccountManagementComponent/
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]
---------------------------------------------------------------------
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]