OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-bindings message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-bindings] Test assertion - BWS-TA-40005 - is there some realmeaning here?


It seems that the way to test a reference is to implement a provider that
is "fixed" to support the SCA default transport binding rules, and then
connect them together.  Do the same in reverse to test a service.

Almost every test case in all the suites have the service side covered
because the first SCA component that always gets control is being invoked
over a doc/lit interface with a bare <binding.ws/> on the service.  The
client is the jaxws test client.

I haven't reviewed the WS binding tests yet so I can't comment on the
extent of coverage for the remaining variants.

Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093  or  8-295-6093
e-mail:booz@us.ibm.com


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Mike Edwards <mike_edwards@uk.ibm.com>                                                                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"OASIS Bindings" <sca-bindings@lists.oasis-open.org>                                                                                              |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |06/07/2010 04:51 AM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[sca-bindings] Test assertion - BWS-TA-40005 - is there some real meaning here?                                                                   |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|






Folks,

I've pondered test assertion BWS-TA-40005 in trying to think of some
suitable testcase for it.

So far, I've failed.

Perhaps someone could propose some effective meaning that would be
testable.

The problem I see here is:

a) For a reference, the most that is needed is an interface definition and
a <binding.ws/> element that has a
target service endpoint defined.  In principle, nothing else is known about
the target service.

So I suppose that any runtime must make a choice about the web services
binding it is going to employ in this case.

The spec says that it should use SOAP 1.1 / HTTP with doc/lit or rpc/lit in
these circumstances.

b) For a service, nothing is required beyond the binding.ws element.

Again, the spec says that the service should use SOAP 1.1 / HTTP with
doc/lit or rpc/lit


In reality, doc/lit vs rpc/lit can be fixed in the interface declared on
the service (I use doc/lit wrapped almost exclusively in
the testcases).

So, I suppose SOAP 1.1 / HTTP with doc/lit is in reality pervasive in the
testcases, both for services and for references,
other than those cases where the testcases deliberately test out other
combinations such as rpc/lit or SOAP 1.2.  In that
sense, the whole testcase suite will fail if BWS-TA-40005 is not honoured.


So I can argue that no testcase is needed - either we can't devise one or
looking at it the other way, there are already
a load of testcases that assume it as a matter of course....



Comments?



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






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]