2002/ws/desc/test-suite/results-messages generate-xpath-assertions.xslt,1.1,1.2

Update of /sources/public/2002/ws/desc/test-suite/results-messages
In directory hutz:/tmp/cvs-serv20944

Modified Files:
	generate-xpath-assertions.xslt 
Log Message:
Better handling of faults
in-only and robust-in-only support


Index: generate-xpath-assertions.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/generate-xpath-assertions.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** generate-xpath-assertions.xslt	16 Nov 2006 15:10:56 -0000	1.1
--- generate-xpath-assertions.xslt	16 Nov 2006 23:40:25 -0000	1.2
***************
*** 233,237 ****
  	</xsl:call-template>
        </xsl:when>
!       <xsl:when test='$mep = "http://www.w3.org/2006/01/wsdl/in-only"'>
  	<!-- We have an empty output message to process -->
  	<xsl:call-template name='process-interfaceOperationComponent-EmptyOutput'>
--- 233,238 ----
  	</xsl:call-template>
        </xsl:when>
!       <xsl:when test='$mep = "http://www.w3.org/2006/01/wsdl/in-only"
! 		      or $mep = "http://www.w3.org/2006/01/wsdl/robust-in-only"'>
  	<!-- We have an empty output message to process -->
  	<xsl:call-template name='process-interfaceOperationComponent-EmptyOutput'>
***************
*** 242,248 ****
  	</xsl:call-template>
        </xsl:when>
-       <xsl:when test='$mep = "http://www.w3.org/2006/01/wsdl/robust-in-only"'>
- 	<!-- No output message -->
-       </xsl:when>
      </xsl:choose>
  
--- 243,246 ----
***************
*** 350,362 ****
        </xsl:call-template>
  
! <!--	
! 	<xsl:if test='$bindingRef/../../cm:type="http://www.w3.org/2006/01/wsdl/soap"'>
! 	  <xsl:call-template name='lsoap:checkSoap'>
! 	    <xsl:with-param name='msgRef' select='$msgRef'/>
! 	    <xsl:with-param name='bindingRef' select='$bindingRef'/>
! 	    <xsl:with-param name='logMessage' select='$logMessage'/>
! 	  </xsl:call-template>
! 	</xsl:if>
! -->
      </dd>
    </xsl:template>
--- 348,362 ----
        </xsl:call-template>
  
!       <xsl:variable name='bindingComponent'
! 		    select='key("xmlId", $endpointComponent/cm:binding/@ref)'/>
! 
!       <xsl:if test='$bindingComponent/cm:type="http://www.w3.org/2006/01/wsdl/soap"'>
! 	<xsl:call-template name='lsoap:checkSoap'>
! 	  <xsl:with-param name='interfaceMessageReferenceComponent' select='$interfaceFaultReferenceComponent'/>
! 	  <xsl:with-param name='endpointComponent' select='$endpointComponent'/>
! 	  <xsl:with-param name='bindingComponent' select='$bindingComponent'/>
! 	  <xsl:with-param name='logMessage' select='$logMessage'/>
! 	</xsl:call-template>
!       </xsl:if>
      </dd>
    </xsl:template>
***************
*** 387,399 ****
        </xsl:call-template>
  
! <!--	
! 	<xsl:if test='$bindingRef/../../cm:type="http://www.w3.org/2006/01/wsdl/soap"'>
! 	  <xsl:call-template name='lsoap:checkSoap'>
! 	    <xsl:with-param name='msgRef' select='$msgRef'/>
! 	    <xsl:with-param name='bindingRef' select='$bindingRef'/>
! 	    <xsl:with-param name='logMessage' select='$logMessage'/>
! 	  </xsl:call-template>
! 	</xsl:if>
! -->
      </dd>
    </xsl:template>
--- 387,399 ----
        </xsl:call-template>
  
!       <xsl:call-template name='generate-assertion'>
! 	<xsl:with-param name='xpath'>
! 	  <xsl:value-of select='$logMessage'/><xsl:text>/l:httpHeaders/l:StatusCode[@value='202']</xsl:text>
! 	</xsl:with-param>
! 	<xsl:with-param name='description'>
! 	  <xsl:text>The message response MUST be 202</xsl:text>
! 	</xsl:with-param>
!       </xsl:call-template>
! 
      </dd>
    </xsl:template>

Received on Thursday, 16 November 2006 23:41:20 UTC