2004/ws/addressing/testsuitewsdl/logs .htaccess,NONE,1.1 Makefile,NONE,1.1 Overview.html,NONE,1.1 add-testcase.xslt,NONE,1.1 example-ws-i.xml,NONE,1.1 example.xml,NONE,1.1 example.xsl,NONE,1.1 fix-message-number.xslt,NONE,1.1 logs.xsl,NONE,1.1 raw-log-sorted.xml,NONE,1.1 raw-log-testcases.xml,NONE,1.1 raw-log.xml,NONE,1.1

Update of /sources/public/2004/ws/addressing/testsuitewsdl/logs
In directory hutz:/tmp/cvs-serv25855/logs

Added Files:
	.htaccess Makefile Overview.html add-testcase.xslt 
	example-ws-i.xml example.xml example.xsl 
	fix-message-number.xslt logs.xsl raw-log-sorted.xml 
	raw-log-testcases.xml raw-log.xml 
Log Message:
Moved from cvs.w3.org

--- NEW FILE: add-testcase.xslt ---
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:log="http://www.w3.org/2002/ws/addressing/logs/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
	<xsl:template match="* | comment()">
		<xsl:copy>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>
	<xsl:template match="log:message[@type='request']">
		<xsl:copy>
			<xsl:call-template name="testcase-attribute"/>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>
	<xsl:template match="log:message[@type='response']">
		<xsl:copy>
			<xsl:for-each select="preceding-sibling::log:message[1][@type='request']">
				<xsl:call-template name="testcase-attribute"/>
			</xsl:for-each>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>
	<xsl:template name="testcase-attribute">
		<xsl:variable name="testname" select="translate(.//*[local-name()='Body'],'TESFAUL','tesfaul')"/>
		<xsl:variable name="faulttestname" select="translate(.//*[local-name()='echoFault'],'TESFAUL','tesfaul')"/>
		<xsl:variable name="rptestname" select="translate(.//*[local-name()='testid'],'TESFAUL','tesfaul')"/>
		<xsl:attribute name="testcase">
			<xsl:choose>
				<xsl:when test="starts-with($testname,'fault-')">
					<xsl:value-of select="substring-after($testname,'fault-')"/>
				</xsl:when>
				<xsl:when test="starts-with($testname,'fault')">
					<xsl:value-of select="substring-after($testname,'fault')"/>
				</xsl:when>
				<xsl:when test="contains($faulttestname,'fault-')">
					<xsl:value-of select="concat('test',substring(substring-after($testname,'test'),0,6))"/>
				</xsl:when>
				<xsl:when test="contains($faulttestname,'fault')">
					<xsl:value-of select="concat('test',substring(substring-after($testname,'test'),0,6))"/>
				</xsl:when>
				<xsl:when test="contains($rptestname,'test')">
					<xsl:value-of select="$rptestname"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$testname"/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
	</xsl:template>
	<xsl:template match="@*">
		<xsl:copy-of select="."/>
	</xsl:template>
</xsl:stylesheet>

--- NEW FILE: fix-message-number.xslt ---
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:log="http://www.w3.org/2002/ws/addressing/logs/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
	<xsl:template match="* | comment()">
		<xsl:copy>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>
	<xsl:template match="log:message">
				<xsl:copy>
					<xsl:apply-templates select="@*"/>
					<xsl:attribute name="message"><xsl:value-of select="count(preceding-sibling::log:message[@testcase=current()/@testcase])+1"/></xsl:attribute>
					<xsl:apply-templates/>
				</xsl:copy>
	</xsl:template>
	<xsl:template match="@*">
		<xsl:copy-of select="."/>
	</xsl:template>
</xsl:stylesheet>

--- NEW FILE: example.xml ---
<?xml version="1.0" encoding="utf-8"?>
<log xmlns="http://www.w3.org/2002/ws/addressing/logs/" xmlns:s="http://www.w3.org/2002/ws/addr/testsuite/testcases/">
  <message testcase="test11030" message="1" context="15">
    <content href="../documents/echo/soap11/message0.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoRequest</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11030" message="2" context="15">
    <content href="../documents/echo/soap11/message1.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoResponse</wsa:Action>
        <wsa:RelatesTo>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <ns2:echoOut xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoOut>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11050" message="1" context="17">
    <content href="../documents/echo/soap11/message0.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoRequest</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11050" message="2" context="17">
    <content href="../documents/echo/soap11/message1.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoResponse</wsa:Action>
        <wsa:RelatesTo>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <ns2:echoOut xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoOut>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11070" message="1" context="19">
    <content href="../documents/echo/soap11/message0.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoRequest</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11070" message="2" context="19">
    <content href="../documents/echo/soap11/message1.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/wsaTestService2/wsaTestPortType/echoResponse</wsa:Action>
        <wsa:RelatesTo>uuid:6d503f87-3bdd-4627-8fbf-330985f3b922</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <ns2:echoOut xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoOut>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11090" message="1" context="21">
    <content href="../documents/echo/soap11/message2.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:fcd0ca97-1ce1-4900-bfb4-1adc87994b21</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/action/echoIn</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11090" message="2" context="21">
    <content href="../documents/echo/soap11/message3.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">
            http://example.org/action/echoOut</wsa:Action>
        <wsa:RelatesTo>uuid:fcd0ca97-1ce1-4900-bfb4-1adc87994b21</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <ns2:echoOut xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoOut>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11100" message="1" context="22">
    <content href="../documents/echo/soap11/message4.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:d36d576c-0be8-469b-8d40-d8c30c84b795</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">BadAction</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11100" message="2" context="22">
    <content href="../documents/echo/soap11/message5.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
        <wsa:FaultDetail>
            <wsa:ProblemAction>
                <wsa:Action>BadAction</wsa:Action>
            </wsa:ProblemAction>
        </wsa:FaultDetail>
        <wsa:RelatesTo>uuid:d36d576c-0be8-469b-8d40-d8c30c84b795</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <S:Fault>
            <faultcode xmlns="">wsa:ActionNotSupported</faultcode>
            <faultstring xmlns="">The "BadAction" cannot be processed at the receiver</faultstring>
        </S:Fault>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11101" message="1" context="23">
    <content href="../documents/echo/soap11/message4.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:To xmlns="http://www.w3.org/2005/08/addressing">http://example.org/node/A</wsa:To>
        <wsa:MessageID>uuid:d36d576c-0be8-469b-8d40-d8c30c84b795</wsa:MessageID>
        <wsa:ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
        </wsa:ReplyTo>
        <wsa:Action xmlns="http://www.w3.org/2005/08/addressing">BadAction</wsa:Action>
    </S:Header>
    <S:Body>
        <ns2:echoIn xmlns="http://example.org/notify" xmlns:ns2="http://example.org/echo">Message</ns2:echoIn>
    </S:Body>
</S:Envelope>
    </content>
  </message>
  <message testcase="test11101" message="2" context="23">
    <content href="../documents/echo/soap11/message5.xml">
<!-- $Id: example.xml,v 1.1 2007/07/09 20:39:11 plehegar Exp $ -->
      <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <S:Header>
        <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
        <wsa:FaultDetail>
            <wsa:ProblemAction>
                <wsa:Action>BadAction</wsa:Action>
            </wsa:ProblemAction>
        </wsa:FaultDetail>
        <wsa:RelatesTo>uuid:d36d576c-0be8-469b-8d40-d8c30c84b795</wsa:RelatesTo>
    </S:Header>
    <S:Body>
        <S:Fault>
            <faultcode xmlns="">wsa:ActionNotSupported</faultcode>
            <faultstring xmlns="">The "BadAction" cannot be processed at the receiver</faultstring>
        </S:Fault>
    </S:Body>
</S:Envelope>
    </content>
  </message>
</log>

--- NEW FILE: .htaccess ---
<Files ~ "\.html">
 ForceType 'text/html; charset=utf-8'
</Files>


--- NEW FILE: example-ws-i.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<l:log xmlns:l="http://www.w3.org/2002/ws/addressing/logs/">
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" testcase="test1100" timestamp="2006-01-17T22:26:20.234" conversation="1" wsi-log303:ID="1" type="request" message="1">
    <l:content><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://192.168.1.69:8001/wsaiop/services/wsaTestSoap11Endpoint</wsa:To><wsa:Action>http://example.org/action/notify</wsa:Action><wsa:MessageID>uuid:DA79C79B-0108-4000-E000-1700C0A80145</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify xmlns:m="http://example.org/notify">test1100</m:notify></soapenv:Body></soapenv:Envelope></l:content>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">192.168.1.69:3436</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">POST /wsaiop/services/wsaTestSoap11Endpoint HTTP/1.1&#13;
Host: 192.168.1.69:8001&#13;
Accept: application/soap+xml,multipart/related,text/*&#13;
User-Agent: IBM WebServices/1.0&#13;
Cache-Control: no-cache&#13;
Pragma: no-cache&#13;
SOAPAction: "http://example.org/action/notify"&#13;
Connection: Keep-Alive&#13;
Content-Type: text/xml; charset=utf-8&#13;
Content-Length: 783&#13;
Date: Tue, 17 Jan 2006 22:26:19 GMT&#13;
&#13;
</httpHeaders>
[...1199 lines suppressed...]
Connection: Keep-Alive&#13;
Content-Type: application/soap+xml; charset=utf-8;action="";&#13;
Content-Length: 896&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" testcase="test1250" timestamp="2006-01-17T22:26:27.969" conversation="2" wsi-log303:ID="64" type="response" message="4">
    <l:content/>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">127.0.0.1:3438</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">HTTP/1.1 200 OK&#13;
Content-Length: 0&#13;
Content-Language: en-GB&#13;
Server: WebSphere Application Server/7.0&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
</l:log>

--- NEW FILE: Makefile ---
# -*- makefile -*-

XSLTPROC=xsltproc
TIDY=tidy

all:	Overview.html example.xml example-ws-i.xml

Overview.html: ../report/logs.xml logs.xsl  Makefile ../address.xml
	@echo "Generating $@";\
	$(XSLTPROC) --stringparam file :w.xml logs.xsl ../report/logs.xml > $@
	@echo "Running tidy on $@";\
	sed -e 's/<l:a /<a /g' -e 's/<\/l:a>/<\/a>/g' < $@ >  $@.old; \
	$(TIDY) -utf8 $@.old > $@ 2>./tidy-output.txt;\
	rm $@.old

example.xml: ../testcases/testcases.xml example.xsl ../documents/*/* ../documents/*/*/*
	@echo "Generating $@";\
	$(XSLTPROC) --stringparam file :w.xml example.xsl ../testcases/testcases.xml > $@

example-ws-i.xml: ws-i/log.xml ws-i/ws-i.xsl ws-i/ws-i-sort.xsl add-testcase.xslt Makefile
	$(XSLTPROC) --stringparam file :w.xml ws-i/ws-i.xsl ws-i/log.xml > raw-log.xml
	$(XSLTPROC) --stringparam file :w.xml ws-i/ws-i-sort.xsl raw-log.xml > raw-log-sorted.xml
	$(XSLTPROC) --stringparam file :w.xml add-testcase.xslt raw-log-sorted.xml > raw-log-testcases.xml
	$(XSLTPROC) --stringparam file :w.xml fix-message-number.xslt raw-log-testcases.xml > $@

clean:
	rm -f *~* raw-log.xml html2ps.dbg ./valid-html.txt ./valid-xml.txt ./checkspell.txt ./valid-links.txt ./valid-pubrules.html ./valid-ns.html ./tidy-output.txt 

.PHONY: clean all

--- NEW FILE: logs.xsl ---
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    xmlns:l="http://www.w3.org/2002/ws/addr/testsuite/logs/"
    xmlns:tc="http://www.w3.org/2002/ws/addr/testsuite/testcases/"
    version="1.0">

  <xsl:output method="html"
       encoding="utf-8"
       doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
       indent="no"/>

    <xsl:template match="/">
    <html>
	<head>
	   <title>Web Services Addressing 1.0 - Captured Log Files</title>
	    <link href="http://www.w3.org/StyleSheets/public" rel="stylesheet" type="text/css"/>
	    <link href="../../../../StyleSheets/public" rel="stylesheet" type="text/css"/>
	    <link rel="stylesheet" type="text/css" href="../../../wsa-style.css"/>
	    <link rel="stylesheet" type="text/css" href="../../public-style.css"/>
	    <link href="../testsuite.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
       <h1>Web Services Addressing 1.0 - Captured Log Files</h1>

	 <ul>
	 <xsl:for-each select="l:logs/l:log">
	    <li>
		<a name="{@xml:id}"></a>
		<a href="{@file}"><xsl:value-of select="@file"/></a>
	        - <xsl:copy-of select="l:title/node()"/> 
	      </li>
	 </xsl:for-each>
	 </ul>

    <hr/>
    <p>
      Generated from <a href="../report/logs.xml">logs.xml</a> using
      <a href="logs.xsl">logs.xsl</a>.<br/>
      $Date: 2007/07/09 20:39:12 $
    </p>
    <xsl:copy-of select="document('../address.xml')/suffix/*"/>

	</body>
    </html>
</xsl:template>
</xsl:stylesheet>

--- NEW FILE: Overview.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:l="http://www.w3.org/2002/ws/addr/testsuite/logs/"
xmlns:tc="http://www.w3.org/2002/ws/addr/testsuite/testcases/">
<head>
<meta name="generator" content=
"HTML Tidy for Cygwin (vers 1st September 2004), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Web Services Addressing 1.0 - Captured Log Files</title>
<link href="http://www.w3.org/StyleSheets/public" rel="stylesheet"
type="text/css">
<link href="../../../../StyleSheets/public" rel="stylesheet" type=
"text/css">
<link rel="stylesheet" type="text/css" href=
"../../../wsa-style.css">
<link rel="stylesheet" type="text/css" href=
"../../public-style.css">
<link href="../testsuite.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Web Services Addressing 1.0 - Captured Log Files</h1>
<ul>
<li><a name="IBM-IBM-IBM" id="IBM-IBM-IBM"></a><a href=
"../report/IBM-IBM-IBM.xml">../report/IBM-IBM-IBM.xml</a> - IBM
capture from IBM to IBM.</li>
<li><a name="Sun-Sun-Sun" id="Sun-Sun-Sun"></a><a href=
"../report/Sun-Sun-Sun.xml">../report/Sun-Sun-Sun.xml</a> - Sun
capture from Sun to Sun.</li>
<li><a name="example" id="example"></a><a href=
"example.xml">example.xml</a> - log file generated from <a xmlns=
"http://www.w3.org/2002/ws/addr/testsuite/logs/" href=
"../testcases/">testcases</a> and example <a xmlns=
"http://www.w3.org/2002/ws/addr/testsuite/logs/" href=
"../documents/">documents</a>.</li>
<li><a name="example-ws-i" id="example-ws-i"></a><a href=
"example-ws-i.xml">example-ws-i.xml</a> - log file generated from
an example WS-I Monitor log file using a <a xmlns=
"http://www.w3.org/2002/ws/addr/testsuite/logs/" href=
"ws-i/ws-i.xsl">stylesheet</a></li>
</ul>
<hr>
<p>Generated from <a href="../report/logs.xml">logs.xml</a> using
<a href="logs.xsl">logs.xsl</a>.<br>
$Date: 2007/07/09 20:39:11 $</p>
<address><a href="../">Web Services Addressing WSDL 1.0 Test
Suite</a><br>
<br>
<a href="mailto:david.illsley@uk.ibm.com">David Illsley</a>,
<a href="mailto:arun.gupta@sun.com">Arun Gupta</a>, Editors<br>
<a href="mailto:bob.freund@hitachisoftware.com">Bob Freund</a>,
Chair<br>
<br>
<a href="/People/Hugo/">Hugo Haas</a>, <a href=
"/People/LeHegaret/">Philippe Le Hégaret</a>, W3C Team
contacts<br></address>
<p class="copyright"><a rel="Copyright" href=
"/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2006
<a href="/"><acronym title=
"World Wide Web Consortium">W3C</acronym></a> <sup>®</sup> (
<a href="http://www.csail.mit.edu/"><acronym title=
"Massachusetts Institute of Technology">MIT</acronym></a> ,
<a href="http://www.ercim.org/"><acronym title=
"European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>
,<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
W3C <a href=
"/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a href=
"/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
<a rel="Copyright" href=
"/Consortium/Legal/copyright-documents">document use</a> and
<a rel="Copyright" href=
"/Consortium/Legal/copyright-software">software licensing</a> rules
apply. Your interactions with this site are in accordance with our
<a href="/Consortium/Legal/privacy-statement#Public">public</a>
and<a href="/Consortium/Legal/privacy-statement#Members">Member</a>
privacy statements.</p>
</body>
</html>

--- NEW FILE: raw-log-sorted.xml ---
<?xml version="1.0"?>
<l:log xmlns:l="http://www.w3.org/2002/ws/addressing/logs/">
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" timestamp="2006-01-17T22:26:20.234" conversation="1" wsi-log303:ID="1" type="request">
    <l:content><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://192.168.1.69:8001/wsaiop/services/wsaTestSoap11Endpoint</wsa:To><wsa:Action>http://example.org/action/notify</wsa:Action><wsa:MessageID>uuid:DA79C79B-0108-4000-E000-1700C0A80145</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify xmlns:m="http://example.org/notify">test1100</m:notify></soapenv:Body></soapenv:Envelope></l:content>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">192.168.1.69:3436</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">POST /wsaiop/services/wsaTestSoap11Endpoint HTTP/1.1&#13;
Host: 192.168.1.69:8001&#13;
Accept: application/soap+xml,multipart/related,text/*&#13;
User-Agent: IBM WebServices/1.0&#13;
Cache-Control: no-cache&#13;
Pragma: no-cache&#13;
SOAPAction: "http://example.org/action/notify"&#13;
Connection: Keep-Alive&#13;
Content-Type: text/xml; charset=utf-8&#13;
Content-Length: 783&#13;
Date: Tue, 17 Jan 2006 22:26:19 GMT&#13;
&#13;
</httpHeaders>
[...1199 lines suppressed...]
Connection: Keep-Alive&#13;
Content-Type: application/soap+xml; charset=utf-8;action="";&#13;
Content-Length: 896&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" timestamp="2006-01-17T22:26:27.969" conversation="2" wsi-log303:ID="64" type="response">
    <l:content/>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">127.0.0.1:3438</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">HTTP/1.1 200 OK&#13;
Content-Length: 0&#13;
Content-Language: en-GB&#13;
Server: WebSphere Application Server/7.0&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
</l:log>

--- NEW FILE: example.xsl ---
<?xml version="1.0"?>
<!--
    Generate example log file format from testcases

    $Header: /sources/public/2004/ws/addressing/testsuitewsdl/logs/example.xsl,v 1.1 2007/07/09 20:39:11 plehegar Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:s="http://www.w3.org/2002/ws/addr/testsuite/testcases/"
  version="1.0">

  <xsl:output method="xml" encoding="utf-8" indent="yes"/>

  <xsl:template match="/">
<log xmlns="http://www.w3.org/2002/ws/addressing/logs/">
    <xsl:for-each select="s:testcases/s:testcase">

      <xsl:variable name="context">
        <xsl:number count="*" format="1"/>
      </xsl:variable>

      <xsl:for-each select="s:message-exchange/s:message">

	<xsl:variable name="number">
	    <xsl:number count="*" format="1"/>
	</xsl:variable>

	<xsl:choose>
	<xsl:when test="@name">

	<message testcase="{../../@xml:id}" message="{$number}" context="{$context}">
	   <xsl:variable name="file">../documents/<xsl:value-of select="./@document"/></xsl:variable>
           <!-- http://www.xml.com/pub/a/2003/08/20/embedded.html -->
	   <content href="{$file}" ><xsl:copy-of select="document($file)"/></content>
	</message>
	</xsl:when>

	</xsl:choose>
	
      </xsl:for-each>
    </xsl:for-each>

</log>
  </xsl:template>
</xsl:stylesheet>

--- NEW FILE: raw-log.xml ---
<?xml version="1.0"?>
<l:log xmlns:l="http://www.w3.org/2002/ws/addressing/logs/" xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/">
  <l:message timestamp="2006-01-17T22:26:20.234" conversation="1" wsi-log303:ID="1" type="request">
    <l:content><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://192.168.1.69:8001/wsaiop/services/wsaTestSoap11Endpoint</wsa:To><wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://example.org/action/notify</wsa:Action><wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:DA79C79B-0108-4000-E000-1700C0A80145</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify xmlns:m="http://example.org/notify">test1100</m:notify></soapenv:Body></soapenv:Envelope></l:content>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">192.168.1.69:3436</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">POST /wsaiop/services/wsaTestSoap11Endpoint HTTP/1.1&#13;
Host: 192.168.1.69:8001&#13;
Accept: application/soap+xml,multipart/related,text/*&#13;
User-Agent: IBM WebServices/1.0&#13;
Cache-Control: no-cache&#13;
Pragma: no-cache&#13;
SOAPAction: "http://example.org/action/notify"&#13;
Connection: Keep-Alive&#13;
Content-Type: text/xml; charset=utf-8&#13;
Content-Length: 783&#13;
Date: Tue, 17 Jan 2006 22:26:19 GMT&#13;
&#13;
</httpHeaders>
[...1199 lines suppressed...]
Connection: Keep-Alive&#13;
Content-Type: application/soap+xml; charset=utf-8;action="";&#13;
Content-Length: 896&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
  <l:message timestamp="2006-01-17T22:26:27.969" conversation="2" wsi-log303:ID="64" type="response">
    <l:content></l:content>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">127.0.0.1:3438</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">HTTP/1.1 200 OK&#13;
Content-Length: 0&#13;
Content-Language: en-GB&#13;
Server: WebSphere Application Server/7.0&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
</l:log>

--- NEW FILE: raw-log-testcases.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<l:log xmlns:l="http://www.w3.org/2002/ws/addressing/logs/">
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" testcase="test1100" timestamp="2006-01-17T22:26:20.234" conversation="1" wsi-log303:ID="1" type="request">
    <l:content><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:To>http://192.168.1.69:8001/wsaiop/services/wsaTestSoap11Endpoint</wsa:To><wsa:Action>http://example.org/action/notify</wsa:Action><wsa:MessageID>uuid:DA79C79B-0108-4000-E000-1700C0A80145</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify xmlns:m="http://example.org/notify">test1100</m:notify></soapenv:Body></soapenv:Envelope></l:content>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">192.168.1.69:3436</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">POST /wsaiop/services/wsaTestSoap11Endpoint HTTP/1.1&#13;
Host: 192.168.1.69:8001&#13;
Accept: application/soap+xml,multipart/related,text/*&#13;
User-Agent: IBM WebServices/1.0&#13;
Cache-Control: no-cache&#13;
Pragma: no-cache&#13;
SOAPAction: "http://example.org/action/notify"&#13;
Connection: Keep-Alive&#13;
Content-Type: text/xml; charset=utf-8&#13;
Content-Length: 783&#13;
Date: Tue, 17 Jan 2006 22:26:19 GMT&#13;
&#13;
</httpHeaders>
[...1199 lines suppressed...]
Connection: Keep-Alive&#13;
Content-Type: application/soap+xml; charset=utf-8;action="";&#13;
Content-Length: 896&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
  <l:message xmlns:wsi-log303="http://www.ws-i.org/testing/2003/03/log/" xmlns:wsi-log407="http://www.ws-i.org/testing/2004/07/log/" testcase="test1250" timestamp="2006-01-17T22:26:27.969" conversation="2" wsi-log303:ID="64" type="response">
    <l:content/>
    <senderHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">localhost:9080</senderHostAndPort>
    <receiverHostAndPort xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">127.0.0.1:3438</receiverHostAndPort>
    <httpHeaders xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ws-i.org/testing/2003/03/log/">HTTP/1.1 200 OK&#13;
Content-Length: 0&#13;
Content-Language: en-GB&#13;
Server: WebSphere Application Server/7.0&#13;
Date: Tue, 17 Jan 2006 22:26:27 GMT&#13;
&#13;
</httpHeaders>
  </l:message>
</l:log>

Received on Monday, 9 July 2007 20:39:49 UTC