← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [sca-assembly] [ASSEMBLY-89] Need for a Callback annotation for WSDLinterface files - PROPOSAL

From
David Booz <>
Date
2008-11-19T21:45:23+00:00
ID
Thread
Re: [sca-assembly] [ASSEMBLY-89] Need for a Callback annotation for WSDLinterface files - PROPOSAL
What happens if both @callbackInterface and @callback are in use at the same time for a service or reference and they point to different interfaces?  I would presume that's an error.

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:

Mike Edwards ---11/19/2008 09:08:00 AM---Folks, The following is a proposal for resolving Issue 89:

From:

Mike Edwards <>

To:

"OASIS Assembly" <>

Date:

11/19/2008 09:08 AM

Subject:

[sca-assembly] [ASSEMBLY-89] Need for a Callback annotation for WSDL interface files - PROPOSAL

Folks, 

The following is a proposal for resolving Issue 89: 

(sca-assembly-1.1-spec-cd01-rev3.doc) 

Add the following at the end of Section 8.4, following line 2678: 

SCA defines an attribute which is used to indicate that a given WSDL Port Type element (WSDL 1.1) or WSDL Interface 

element (WSDL 2.0) has an associated callback interface.  This is the @callback attribute, which can be applied to 

a WSDL <portType/> element or a WSDL <interface/> element. 

The @callback attribute is defined as a global attribute in the SCA namespace, as follows: 

    <attribute name="callback" type="QName"/> 

The value of the @callback attribute is the QName of a Port Type (WSDL 1.1) or the QName of an Interface (WSDL 2.0). 

The Port Type or the Interface declared by the @callback attribute is the callback interface to use for the service which 

is annotated by the @callback attribute. 

Here is an example of a porttype element with a callback attribute: 

   <portType name="LoanService" sca:callback="foo:LoanServiceCallback"> 

       <operation name="apply"> 

          <input message="tns:ApplicationInput"/> 

          <output message="tns:ApplicationOutput"/> 

       </operation> 

       ... 

   </portType> 

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:  

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
← Prev in month ← Prev in thread
Next in thread → Next in month →