sca-bindings message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-bindings] Version Control Commit by mike_edwards
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: Simon Holdsworth <simon_holdsworth@uk.ibm.com>
- Date: Fri, 14 May 2010 12:20:04 +0100
Simon,
Comments inline in green
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
From:
| Simon Holdsworth/UK/IBM@IBMGB
|
To:
| sca-bindings@lists.oasis-open.org
|
Date:
| 14/05/2010 11:38
|
Subject:
| Re: [sca-bindings] Version Control Commit
by mike_edwards |
Mike,
Thanks for starting on this. A couple of things jump out at me:
We've named the conformance statements BXXnnnnn, and the TA statements
BXX-TA-nnnnn, so I would expect composites to be called Test_BXX_nnnnn.composite,
e.g. Test_BWS_20001.composite rather than Test_BW_2001.composite - is there
any specific reason for the compression of the "BWS" and "20001"?
The latter is not such a big deal, the former may be a problem with
BJC and BJM both becoming BJ...
Simply a bug, I fixed
it - oh apart from the number, which does not need to have 5 digits for
the testcases (see Assembly).
Also JavaCAA being abbreviated to JCA is a bit unfortunate.
Sorry, too late for
that now
In terms of the test structure, I had envisaged the following sort of general
setup for JMS:
JMS Test client -> service send queue ->
Test composite service (jms) -> Test component -> Test
composite reference (jms) -> reference send queue -> JMS
Test Client
Where all the JMS-specific message formatting and checking goes on in the
JMS Test client, and the Test component has no JMS specifics (which it
can't really anyway) and is just there to forward requests, send responses,
and deal with callbacks. For each test, the details of the binding
on the Test composite service and reference might vary, but the overall
structure remains the same.
From our discussion on yesterday's call, I got the impression you were
considering this sort of approach for Web Services:
Test client -> arbitrary protocol -> Test composite service (any)
-> Test component 1 -> Test component 1 reference (ws) ->
SOAP/HTTP -> Test component 2 service (ws) -> Test component 2
With the WS interaction happening within the Test composite. My concern
with that is that Test component 1 and Test component 2 can't do any validation
at the SOAP level, which would require an approach similar to mine above:
SOAP Test client -> SOAP/HTTP -> Test composite
service (ws) -> Test component -> Test composite
reference (ws) -> SOAP/HTTP -> SOAP Test Client
*** IT DEPENDS ***
It depends on WHAT
you are testing.
If the test really
needs to control some aspect of the low level protocol, then the approach
that you outline of building a special
client for each testcase
will apply. I have not yet got to one of those for Web services -
and when I get there, I think we need to
do some hard thinking
about how to build the clients. Ideally, we do as much as possible
with generalized code that can simply
be controlled by configuration
- it will be less than ideal to have separate client code for every testcase,
although I recognise
that in some cases
it may be necessary.
However, many tests
DON'T require control of the low level protocol - the normative statements
relate to an SCA runtime handing
some aspects of the
SCDL - and for these, "pure SCA" tests are perfect. BWS_2001
is one of these and I urge you to take a look
since it is ***MUCH***
easier to write testcases this way when you can.
Cheers, Simon
Simon Holdsworth
STSM, SCA Bindings Architect; Master Inventor; OASIS SCA Bindings TC Chair,
AT&T and Boeing Lab Advocate
MP 211, IBM UK Labs, Hursley Park, Winchester SO21 2JN, UK
Tel +44-1962-815059 (Internal 245059) Fax +44-1962-816898
Internet - Simon_Holdsworth@uk.ibm.com
workgroup_mailer@lists.oasis-open.org wrote on 14/05/2010 11:16:30:
> [image removed]
>
> [sca-bindings] Version Control Commit by mike_edwards
>
> workgroup_mailer
>
> to:
>
> sca-bindings
>
> 14/05/2010 11:23
>
> Please respond to sca-bindings
>
> Author: mike_edwards
> Date: 2010-05-14 06:16:30 -0400 (Fri, 14 May 2010)
> New Revision: 1
> Web View: http://tools.oasis-open.org/version-control/browse/wsvn/
> sca-bindings/?rev=1&sc=1
>
> Added:
> TestCases_BJC/
> TestCases_BJM/
> TestCases_BWS/
> TestCases_BWS/BWS_2001/
> TestCases_BWS/BWS_2001/pom.xml
> TestCases_BWS/BWS_2001/src/
> TestCases_BWS/BWS_2001/src/main/
> TestCases_BWS/BWS_2001/src/main/resources/
> TestCases_BWS/BWS_2001/src/main/resources/META-INF/
> TestCases_BWS/BWS_2001/src/main/resources/META-INF/sca-contribution.xml
> TestCases_BWS/BWS_2001/src/main/resources/Test_BW_2001.composite
> TestCases_BWS/BWS_200x/
> TestCases_BWS/BWS_200x/pom.xml
> TestCases_BWS/BWS_200x/src/
> TestCases_BWS/BWS_200x/src/main/
> TestCases_BWS/BWS_200x/src/main/resources/
> TestCases_BWS/BWS_200x/src/main/resources/META-INF/
> TestCases_BWS/BWS_200x/src/main/resources/META-INF/sca-contribution.xml
> TestCases_BWS/BWS_200x/src/main/resources/Test_BW_2001.composite
> TestCases_BWS/BWS_4001/
> TestCases_BWS/BWS_4001/pom.xml
> TestCases_BWS/BWS_4001/src/
> TestCases_BWS/BWS_4001/src/main/
> TestCases_BWS/BWS_4001/src/main/resources/
> TestCases_BWS/BWS_4001/src/main/resources/META-INF/
> TestCases_BWS/BWS_4001/src/main/resources/META-INF/sca-contribution.xml
> TestCases_BWS/BWS_4001/src/main/resources/Test_BW_4001.composite
> TestCases_BWS/BWS_5001/
> TestCases_BWS/BWS_5001/pom.xml
> TestCases_BWS/BWS_5001/src/
> TestCases_BWS/BWS_5001/src/main/
> TestCases_BWS/BWS_5001/src/main/resources/
> TestCases_BWS/BWS_5001/src/main/resources/META-INF/
> TestCases_BWS/BWS_5001/src/main/resources/META-INF/sca-contribution.xml
> TestCases_BWS/BWS_5001/src/main/resources/Test_BW_5001.composite
> TestCases_BWS/BWS_General/
> TestCases_BWS/BWS_General/pom.xml
> TestCases_BWS/BWS_General/src/
> TestCases_BWS/BWS_General/src/main/
> TestCases_BWS/BWS_General/src/main/resources/
> TestCases_BWS/BWS_General/src/main/resources/META-INF/
> TestCases_BWS/BWS_General/src/main/resources/META-INF/sca-contribution.xml
> TestCases_BWS/BWS_General/src/main/resources/Service1.wsdl
> TestCases_BWS/BWS_General/src/main/resources/TestClient.wsdl
> TestCases_BWS/BWS_General/src/main/resources/TestInvocation.wsdl
> TestCases_BWS/BWS_General/src/main/resources/Test_BWS_xxxx.composite
> TestCases_BWS/BWS_General/src/main/resources/Test_Types.xsd
> TestCases_BWS/BWS_General/src/main/resources/sca_variables.dtd
> TestCases_BWS/BWS_General_Java/
> TestCases_BWS/BWS_General_Java/META-INF/
> TestCases_BWS/BWS_General_Java/META-INF/MANIFEST.MF
> TestCases_BWS/BWS_General_Java/pom.xml
> TestCases_BWS/BWS_General_Java/src/
> TestCases_BWS/BWS_General_Java/src/main/
> TestCases_BWS/BWS_General_Java/src/main/java/
> TestCases_BWS/BWS_General_Java/src/main/java/org/
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/test/
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/ASM_0002_Client.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/Service1.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/Service1Superset.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/TestException.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/TestInvocation.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/service1Impl.java
> TestCases_BWS/BWS_General_Java/src/main/java/org/oasisopen/sca/
> test/service1SupersetImpl.java
> TestCases_BWS/BWS_General_Java/src/main/resources/
> TestCases_BWS/BWS_General_Java/src/main/resources/META-INF/
> TestCases_BWS/BWS_General_Java/src/main/resources/META-INF/MANIFEST.MF
> TestCases_BWS/BWS_General_Java/src/main/resources/META-INF/definitions.xml
> TestCases_BWS/BWS_General_Java/src/main/resources/META-INF/sca-
> contribution.xml
> TestCases_BWS/BWS_General_Java/src/main/resources/TestClient.wsdl
> TestCases_BWS/BWS_General_Java/src/main/resources/TestClient_0002.composite
> TestCases_BWS/BWS_General_Java/src/main/resources/TestInvocation.wsdl
> TestCases_BWS/BWS_General_Java/src/main/resources/Test_JCA_2005.composite
> TestCases_BWS/BWS_General_Java/src/main/resources/Test_Types.xsd
> TestCases_BWS/Test_Client_BWS/
> TestCases_BWS/Test_Client_BWS/META-INF/
> TestCases_BWS/Test_Client_BWS/META-INF/MANIFEST.MF
> TestCases_BWS/Test_Client_BWS/pom.xml
> TestCases_BWS/Test_Client_BWS/src/
> TestCases_BWS/Test_Client_BWS/src/main/
> TestCases_BWS/Test_Client_BWS/src/main/java/
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> JCA_0000_TestCase.java
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> JCA_2001_TestCase.java
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> JCA_2002_TestCase.java
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> JCA_3001_TestCase.java
> TestCases_BWS/Test_Client_BWS/src/main/java/client_javacaa/
> JCA_4001_TestCase.java
> TestCases_BWS/Test_Client_BWS/src/main/resources/
> TestCases_BWS/Test_Client_BWS/src/main/resources/META-INF/
> TestCases_BWS/Test_Client_BWS/src/main/resources/META-INF/MANIFEST.MF
> TestCases_BWS/Test_Client_BWS/src/main/resources/TestInvocation.wsdl
> TestCases_BWS/Test_Client_BWS/src/main/resources/commons-logging.properties
> TestCases_BWS/Test_Client_BWS/src/main/resources/log4j.properties
> TestCases_BWS/Test_Client_BWS/src/main/resources/oasis-sca-tests.properties
> TestCases_BWS/Test_Client_BWS/src/main/resources/openjpa.xml
> TestCases_BWS/Test_Client_BWS/src/main/resources/tuscany-oasis-
> sca-tests-errors.properties
> TestCases_BWS/build.xml
> TestCases_BWS/pom.xml
> TestCases_BWS/tozip.xml
> Log:
> Initial creation of Bindings TestCase repo
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail. Follow this link to all your TCs in OASIS
at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]