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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

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


Subject: ISSUE-210: Issues/Question for Java CAA testcases JCA_11016


http://www.osoa.org/jira/browse/JAVA-210

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:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Simon Laws <simon_laws@uk.ibm.com>                                                                                                                |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |sca-j@lists.oasis-open.org                                                                                                                        |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |08/20/2010 06:00 AM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[sca-j] [NEW ISSUE] Issues/Question for Java CAA testcases JCA_11016                                                                              |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|






1/ The first issue just seems to be a cut and paste problem to do with the
component names used in the composite. The following snippet demonstrates
the issue:

...
        <reference name="reference1"
target="TEST_JCA_11016Component1/Service1"/>
       <property name="testName">JCA_11016</property>
   </component>

   <!-- Component which has a reference with a Java interface with 3
operations -->
   <component name="TEST_JCA_3016Component1">
       <implementation.java
class="org.oasisopen.sca.test.Service1Calls3OperationsImpl"/>
       <service name="Service1">

..

Note that the reference refers to "TEST_JCA_11016Component1/Service1" while
the component is called "TEST_JCA_3016Component1". The component
"TEST_JCA_3016Component2" also appears to be incorrectly named.

2/ Toward the bottom of the composite the following definition appears:

....
        <reference name="reference1"
target="TEST_JCA_3016Component2/Service3OperationsWSDL">
           <interface.java
interface="org.oasisopen.sca.test.Service3Operations"/>
       </reference>
   </component>

       <!-- Component which has a service with a Java interface with 3
operations but which has a
            @WebServiceProvider annotation which references a WSDL with a
portType with only 2 operations... -->
       <component name="TEST_JCA_3016Component2">
       <implementation.java
class="org.oasisopen.sca.test.Service3OperationsWebServiceProviderImpl"/>
       <service name="Service3OperationsWSDL"/>
       <property name="serviceName">service2</property>
   </component>
...

The intention is to demonstrate that the WSDL that is referenced from
within Service3OperationsWebServiceProviderImpl using the following
annotation;

@WebServiceProvider(wsdlLocation="Service3OperationsWSDL.wsdl")
public class Service3OperationsWebServiceProviderImpl {

Is processed by the runtime. However the service name given in the
composite for "TEST_JCA_3016Component2" is "Service3OperationsWSDL". This
service is also directly referenced by the reference in
"TEST_JCA_3016Component1". This service name seems incorrect.

There is already and OASIS JIRA open relating so this issue (see
http://www.osoa.org/jira/browse/JAVA-203). If this JIRA resolution is
accepted then the service name in this composite, and the reference target
which refers to it, should be changed to be
"Service3OperationsWebServiceProviderImpl". As is stands the service name
in this test component appears to be the local part of the port type QName
from the referenced WSDL which doesn't seem right.

Regards

Simon

Simon Laws
Open Source SOA Development
tuscany.apache.org
Mail Point 146, Hursley Park, Winchester, Hampshire, SO21 2JN
Tel: Internal 248708  External +44 (0)1962 818708
Email: simon_laws@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]