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

[sca-assembly] New Issue: Wrong WS Binding Examples

From
Eieter Loenig1
Date
2009-11-11T10:43:10+00:00
ID
Thread
[sca-assembly] New Issue: Wrong WS Binding Examples
Target:

SCA-Assembly 1.1 - Committee Draft 03 Revision 4

Description:

The SCA-Assembly spec contains several examples of the <binding.ws> element
containing a @port attribute:
    <binding.ws: port="
http://www.stockquote.org/StockQuoteService#wsdl.endpoint
(StockQuoteService/StockQuoteServiceSOAP)"/>

According to the XML Schema sca-binding-ws-1.1-cd03.xsd, there is no @port
attribute:
    <element name="binding.ws:" type="sca:WebServiceBinding"
substitutionGroup="sca:binding"/>:
    <complexType name="WebServiceBinding">
        <complexContent>
            <extension base="sca:Binding">
                <sequence>
                    <element name="endpointReference" type="
wsa:EndpointReferenceType" minOccurs="0" maxOccurs="unbounded"/>
                    <any namespace="##other" processContents="lax"
minOccurs="0" maxOccurs="unbounded"/>
                </sequence>
                <attribute name="wsdlElement" type="anyURI" use="optional
"/>
                <attribute ref="wsdli:wsdlLocation" use="optional"/>
            </extension>
        </complexContent>
    </complexType>

Moreover, the value of the attribute contains "...#wsdl.endpoint(...)"..
which looks like a reference to a WSDL 2.0 element (WSDL 2.0 has been
removed by the resolution of SCA-Assembly issue 77).

Proposal:

Change all examples of the <binding.ws> element, such that they contain the
correct @wsdlElement attribute pointing to a WSDL 1.1 element, that is,
something like:
   <binding.ws wsdlElement="
   http://www.stockquote.org/StockQuoteService#wsdl.port
   (StockQuoteService/StockQuoteServiceSOAP)"/>

Kind Regards

Dieter König

Senior Technical Staff Member, WebSphere Process Server Architect
IBM Software Group, Application and Integration Middleware Software
WSS Business Process Solutions
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  Phone:            +49-7031-16-3426           IBM Deutschland                      (Embedded
                                                                                  image moved
                                                                                     to file:
                                                                                pic09421.gif)
                                                                       
  E-Mail:               Schönaicher Str. 220  
                                                                       
                                               71032 Böblingen       
                                                                       
                                               Germany                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  IBM Deutschland                                                      
  Research &                                                           
  Development                                                          
  GmbH /                                                               
  Vorsitzender des                                                     
  Aufsichtsrats:                                                       
  Martin Jetter                                                        
  Geschäftsführung:                                                
  Erich Baier                                                          
  Sitz der                                                             
  Gesellschaft:                                                        
  Böblingen /                                                        
  Registergericht:                                                     
  Amtsgericht                                                          
  Stuttgart, HRB                                                       
  243294                                                               
                                                                       

----- Forwarded by Dieter Koenig1/Germany/IBM on 11.11.2009 11:23 -----.
                                                                       
  From:       David Booz/Poughkeepsie/IBM@IBMUS                        
                                                                       
  To:         Dieter Koenig1/Germany/IBM@IBMDE                         
                                                                       
  Cc:         Michael Beisiegel/Somers/IBM@IBMUS                       
                                                                       
  Date:       10.11.2009 22:46                                         
                                                                       
  Subject:    Re: SCA-Assembly -- binding.ws                           
                                                                       

@wsdlElement is correct.  The .port and .endpoint examples in Assembly a
bad.  Please open an issue for both of them.

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:

                                                                       
  From:       Dieter Koenig1/Germany/IBM@IBMDE                         
                                                                       
  To:         David Booz/Poughkeepsie/IBM@IBMUS, Michael Beisiegel/Somers/IBM@IBMUS
                                                                       
  Date:       11/10/2009 03:06 PM                                      
                                                                       
  Subject:    SCA-Assembly -- binding.ws                               
                                                                       

Hi Dave, Michael,

while walking through the specs looking for a mapping of the BPMN endpoint
element, I noticed that the SCA-Assembly CD 03 Rev 4 has many examples like
   <binding.ws port="
   http://www.stockquote.org/StockQuoteService#wsdl.endpoint
   (StockQuoteService/StockQuoteServiceSOAP)"/>

OTOH, the sca-binding-ws-1.1-cd03.xsd defines
     <element name="binding.ws" type="sca:WebServiceBinding"
   substitutionGroup="sca:binding"/>:
     <complexType name="WebServiceBinding">
       <complexContent>
         <extension base="sca:Binding">
           <sequence>
             <element name="endpointReference" type="
   wsa:EndpointReferenceType" minOccurs="0" maxOccurs="unbounded"/>
             <any namespace="##other" processContents="lax" minOccurs="0"
   maxOccurs="unbounded"/>
           </sequence>
           <attribute name="wsdlElement" type="anyURI" use="optional"/>
           <attribute ref="wsdli:wsdlLocation" use="optional"/>
         </extension>
       </complexContent>
     </complexType>

Assuming I am looking at the most current artifacts -- which attribute of "
binding.ws" is correct ("@port" or "@wsdlElement")?

This does not seem to fit -- shall I submit an issue to the TC?

Moreover, "wsdl.endpoint" sounds like WSDL 2.0 -- should probably become "
wsdl.port" following Assembly-77 which removed WSDL 2.0.

Kind Regards

Dieter König

Senior Technical Staff Member, WebSphere Process Server Architect
IBM Software Group, Application and Integration Middleware Software
WSS Business Process Solutions
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  Phone:            +49-7031-16-3426           IBM Deutschland                      (Embedded
                                                                                  image moved
                                                                                     to file:
                                                                                pic19857.gif)
                                                                       
  E-Mail:               Schönaicher Str. 220  
                                                                       
                                               71032 Böblingen       
                                                                       
                                               Germany                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  IBM Deutschland                                                      
  Research &                                                           
  Development                                                          
  GmbH /                                                               
  Vorsitzender des                                                     
  Aufsichtsrats:                                                       
  Martin Jetter                                                        
  Geschäftsführung:                                                
  Erich Baier                                                          
  Sitz der                                                             
  Gesellschaft:                                                        
  Böblingen /                                                        
  Registergericht:                                                     
  Amtsgericht                                                          
  Stuttgart, HRB                                                       
  243294
← Prev in month ← Prev in thread
Next in thread → Next in month →