- From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 07 Jul 2006 16:19:51 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/HTTPBinding-8B
In directory hutz:/tmp/cvs-serv18667/test-suite/documents/bad/HTTPBinding-8B
Added Files:
Echo.wsdl TestMetadata.xml
Log Message:
New test
--- NEW FILE: TestMetadata.xml ---
<?xml version="1.0"?>
<TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata">
<Identifier>
http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/HTTPBinding-8B
</Identifier>
<Title>Bad Document HTTPBinding-8B</Title>
<Purpose>Illustrates the HTTP assertion HTTPSerialization-2607011.</Purpose>
<Description>If the "application/x-www-form-urlencoded" format is used then the {style} property of Interface Operation component being bound MUST contain a value of "http://www.w3.org/2006/01/wsdl/style/iri"</Description>
<Status>accepted</Status>
<SpecRef></SpecRef>
<Preconditions>none</Preconditions>
<Inputs>
<Input role="root">Echo.wsdl</Input>
</Inputs>
<ExpectedResults>
<Successful>false</Successful>
<ViolatesAssertion>HTTPSerialization-2607011</ViolatesAssertion>
</ExpectedResults>
<Version>1.0</Version>
<Contributor>
<Name>Philippe Le Hégaret</Name>
<Affiliation>W3C</Affiliation>
<EMail>plh@w3.org</EMail>
</Contributor>
<Rights>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</Rights>
<Grouping>/documents/bad</Grouping>
<SeeAlso><Reference>http://www.w3.org/TR/wsdl20-adjuncts</Reference></SeeAlso>
</TestMetadata>
--- NEW FILE: Echo.wsdl ---
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:description targetNamespace="http://example.org/Echo"
xmlns:tns="http://example.org/Echo"
xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
xmlns:whttp="http://www.w3.org/2006/01/wsdl/http"
xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<wsdl:documentation>
This test shows an invalid use of the HTTP binding.
</wsdl:documentation>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://example.org/Echo">
<xsd:element name="Echo" type="xsd:string" />
<xsd:element name="EchoResponse" type="xsd:string" />
</xsd:schema>
</wsdl:types>
<wsdl:interface name="EchoInterface">
<wsdl:operation name="echo"
pattern="http://www.w3.org/2006/01/wsdl/in-out" wsdlx:safe="true">
<wsdl:input element="tns:Echo" />
<wsdl:output element="tns:EchoResponse" />
</wsdl:operation>
</wsdl:interface>
<wsdl:binding name="EchoHTTPBinding" interface="tns:EchoInterface"
type="http://www.w3.org/2006/01/wsdl/http" whttp:version="1.1">
<wsdl:operation ref="tns:echo"
whttp:inputSerialization="application/x-www-form-urlencoded"
whttp:method="GET" />
</wsdl:binding>
<wsdl:service name="EchoService" interface="tns:EchoInterface">
<wsdl:documentation>The Echo service.</wsdl:documentation>
<wsdl:endpoint name="EchoHTTPEndpoint"
binding="tns:EchoHTTPBinding" whttp:authenticationType="basic"
whttp:authenticationRealm="example.org Realm" />
</wsdl:service>
</wsdl:description>
Received on Friday, 7 July 2006 16:20:09 UTC