WS-I

Attachments Profile [1.0] (with Basic Profile [1.1] and Simple Soap Binding Profile [1.0]) Test Assertions Version 1.0

Final Material

June 13, 2005

Editors:

David Lauzon, IBM Corporation (lauzond@ca.ibm.com)

Shrikant Wagh, Optimyz Software, Inc. (shrikant@optimyz.com)

Other Contributors

Simeon Greene (Oracle Corporation), Narendra Patil (Optimyz Software, Inc.), Keith Stobie (Microsoft Corporation)

Administrative contact:

secretary@ws-i.org


Abstract

This document contains the test assertions for the WS-I Attachments Profile 1.0 combined with the test assertions for the WS-I Simple Soap Binding Profile 1.0 and WS-I Basic Profile 1.1. These test assertions are used by the analyzer testing tool to determine if a Web service is conformant to the Attachments Profile 1.0 in conjunction with the Simple Soap Binding Profile 1.0 and the Basic Profile 1.1.

A "candidate" element is one that is to be verified for conformance. The binding of the tModel if <wsi-analyzerConfig:uddiReference> is given or the <wsi-analyzerConfig:wsdlElement> in the configuration file of the Analyzer define a candidate element for verification. A verification on an element also implies that the same verification is made for all the elements that it uses. That is, the elements it uses also become candidate elements. Verification it based on the following transitivity rules, applied recursively.

For WSDL element references:

For UDDI references:

The analyzer specification contains a detailed explanation of all of the fields listed in this document.

Notice

The material contained herein is not a license, either expressly or impliedly, to any intellectual property owned or controlled by any of the authors or developers of this material or WS-I. The material contained herein is provided on an "AS IS" basis and to the maximum extent permitted by applicable law, this material is provided AS IS AND WITH ALL FAULTS, and the authors and developers of this material and WS-I hereby disclaim all other warranties and conditions, either express, implied or statutory, including, but not limited to, any (if any) implied warranties, duties or conditions of merchantability, of fitness for a particular purpose, of accuracy or completeness of responses, of results, of workmanlike effort, of lack of viruses, and of lack of negligence. ALSO, THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD TO THIS MATERIAL.

IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR WS-I BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS MATERIAL, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.

Feedback

The Web Services-Interoperability Organization (WS-I) would like to receive input, suggestions and other feedback ("Feedback") on this work from a wide variety of industry participants to improve its quality over time.

By sending email, or otherwise communicating with WS-I, you (on behalf of yourself if you are an individual, and your company if you are providing Feedback on behalf of the company) will be deemed to have granted to WS-I, the members of WS-I, and other parties that have access to your Feedback, a non-exclusive, non-transferable, worldwide, perpetual, irrevocable, royalty-free license to use, disclose, copy, license, modify, sublicense or otherwise distribute and exploit in any manner whatsoever the Feedback you provide regarding the work. You acknowledge that you have no expectation of confidentiality with respect to any Feedback you provide. You represent and warrant that you have rights to provide this Feedback, and if you are providing Feedback on behalf of a company, you represent and warrant that you have the rights to provide Feedback on behalf of your company. You also acknowledge that WS-I is not required to review, discuss, use, consider or in any way incorporate your Feedback into future versions of its work. If WS-I does incorporate some or all of your Feedback in a future version of the work, it may, but is not obligated to include your name (or, if you are identified as acting on behalf of your company, the name of your company) on a list of contributors to the work. If the foregoing is not acceptable to you and any company on whose behalf you are acting, please do not provide any Feedback.

WS-I members should direct feedback on this document to wsi_testing@lists.ws-i.org; non-members should direct feedback to wsi-tools@ws-i.org.

NOTE

Test assertion headings that have this background color are disabled and will not be processed by the analyzer.


Table of Contents

Profile Definitions
Test Assertion Artifacts
discovery
description
message
envelope
Test Assertion Counts
Profile Requirements Index
Appendix A: Referenced Specifications


Profile Definitions

ID

Name

Version

Revision

Location

AP1

Attachments Profile

1.0

Final Material

http://ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html

BP11

Basic Profile

1.1

Final Material

http://ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html

SSBP1

Simple Soap Binding Profile

1.0

Final Material

http://ws-i.org/Profiles/SimpleSoapBindingProfile-1.0-2004-08-24.html


Test Assertion Artifacts


Profile Artifact: discovery

The Basic Profile requires support for UDDI V2.0.

Specification Reference List:


Test Assertions [as they appear in the document]:

ID

Entry Type

Test Type

Enabled

BP3001

tModel

required

true

BP3002

bindingTemplate

required

true

BP3003

tModel

required

true

BP5998

tModel

driverTestable

false

Test Assertions [sorted by ID]:

ID

Entry Type

Test Type

Enabled

BP3001

tModel

required

true

BP3002

bindingTemplate

required

true

BP3003

tModel

required

true

BP5998

tModel

driverTestable

false


Test Assertion: BP3001

Entry Type

Test Type

Enabled

Additional Entry Types

Prerequisites

Profile Requirements

Message Input

WSDL Input

Target

Partial-Target

Collateral

tModel

required

true

 

definitions

[Not specified]

R3002
R3010
R3011

 

 

 

Context:
For a candidate uddi:tModel

Assertion Description:
The uddi:tModel element uses WSDL as the description language and the uddi:tModel contains a reference to a WSDL binding. The uddi:overviewDoc/uddi:overviewURL element contains a reference to a WSDL definition, which uses a namespace of http://schemas.xmlsoap.org/wsdl/. The uddi:overviewURL may use the fragment notation to resolve to a specific wsdl:binding.

Failure Message:
The uddi:tModel does not reference a WSDL based Web service definition or the uddi:tModel does not reference a wsdl:binding.

Failure Detail Description:
{tModel key}{uddi:overviewDoc}

Comments:
[Not specified]

 

Return to top of document.

Test Assertion: BP3002

Entry Type

Test Type

Enabled

Additional Entry Types

Prerequisites

Profile Requirements

Message Input

WSDL Input

Target

Partial-Target

Collateral

bindingTemplate

required

true

 

 

[Not specified]

R3100

 

 

 

Context:
For a candidate uddi:bindingTemplate

Assertion Description:
The uddi:bindingTemplate element contains a uddi:accessPoint element, with a non-empty value.

Failure Message:
The uddi:bindingTemplate does not contain an uddi:accessPoint element, or it is empty.

Failure Detail Description:
bindingTemplate key

Comments:
[Not specified]

 

Return to top of document.

Test Assertion: BP3003

Entry Type

Test Type

Enabled

Additional Entry Types

Prerequisites

Profile Requirements

Message Input

WSDL Input

Target

Partial-Target

Collateral

tModel

required

true

 

 

[Not specified]

R3003

 

 

 

Context:
For a candidate uddi:tModel

Assertion Description:
The uddi:tModel is categorized using the uddi:types taxonomy, as "wsdlSpec": the uddi:keyedReference element has a tModelKey attribute value equal to "uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4" and a keyValue attribute value equal to "wsdlSpec".

Failure Message:
The uddi:tModel is not categorized using the uddi:types taxonomy with a categorization of "wsdlSpec".

Failure Detail Description:
{tModel key}{categoryBag}

Comments:
[Not specified]

 

Return to top of document.

Test Assertion: BP5998

Entry Type

Test Type

Enabled

Additional Entry Types

Prerequisites

Profile Requirements

Message Input

WSDL Input

Target

Partial-Target

Collateral

tModel

driverTestable

false

 

 

[Not specified]

 

 

 

 

Context:
Driver testable.

Assertion Description:
Driver testable.

Failure Message:

Failure Detail Description:

Comments:
All of these profile requirements are testable only by using a driver test program, since a test assertion would require application-level knowledge of the message exchange.

 

Return to top of document.


Profile Artifact: description

The Basic Profile requires support for XML Schema 1.0 and WSDL 1.1.

Specification Reference List:


Test Assertions [as they appear in the document]:

ID

Entry Type

Test Type

Enabled

BP2201

definitions

required

true

BP2202

types

required

true

BP2700

definitions

required

true

BP2102

types

required

true

BP2011

types

required

true

BP2701

definitions

required

true

BP2703

definitions

required

true

BP2034

definitions

recommended

true

BP2018

definitions

required

true

BP2208

operation

required

true

BP2010

portType

required

true

BP2020

binding

required

true

BP2021

binding

required

true

BP2402

binding

required

true

BP2022

binding

required

true

BP2032

binding

required

true

BP2404

binding

required

true

BP2012

binding

required

true

BP2406

binding

required

true

BP2019

binding

required

true

BP2013

binding

required

true

BP2014

operation

required

true

BP2017

binding

required

true

BP2101

definitions

required

true

BP2098

import

required

true

BP2803

import

required

true

BP2103

definitions

required

true

BP2104

definitions

required

true

BP2105

definitions

required

true

BP2416

definitions

required

true

BP2417

definitions

required

true

BP2107

types

required

true

BP2108

types

required

true

BP2110

types

recommended

true

BP2111

binding

required

true

BP2112

binding

required

true

BP2113

binding

required

true

BP2115

message

required

true

BP2116

message

required

true

BP2117

binding

required

true

BP2118

binding

required

true

BP2114

binding

recommended

true

BP2119

binding

required

true

BP2120

binding

required

true

BP2122

types

required

true

BP2123

definitions

recommended

true

BP4200

definitions

informational

true

BP4201

definitions

informational

true

BP4202

types

informational

true

BP2998

definitions<