Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/fragids/greatH.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/fragids/greatH.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/fragids/greatH.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/fragids/greatH.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="utf-8" ?> +<description + xmlns="http://www.w3.org/ns/wsdl" + targetNamespace= "http://greath.example.com/2004/wsdl/resSvc" + xmlns:tns= "http://greath.example.com/2004/wsdl/resSvc" + xmlns:ghns = "http://greath.example.com/2004/schemas/resSvc" + xmlns:wsoap= "http://www.w3.org/ns/wsdl/soap" + xmlns:soap="http://www.w3.org/2003/05/soap-envelope" + xmlns:wsdlx= "http://www.w3.org/ns/wsdl-extensions"> + + <documentation> + This document describes the GreatH Web service. Additional + application-level requirements for use of this service -- + beyond what WSDL 2.0 is able to describe -- are available + at http://greath.example.com/2004/reservation-documentation.html + </documentation> + + <types> + <xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://greath.example.com/2004/schemas/resSvc" + xmlns="http://greath.example.com/2004/schemas/resSvc"> + + <xs:element name="checkAvailability" type="tCheckAvailability"/> + <xs:complexType name="tCheckAvailability"> + <xs:sequence> + <xs:element name="checkInDate" type="xs:date"/> + <xs:element name="checkOutDate" type="xs:date"/> + <xs:element name="roomType" type="xs:string"/> + </xs:sequence> + </xs:complexType> + + <xs:element name="checkAvailabilityResponse" type="xs:double"/> + + <xs:element name="invalidDataError" type="xs:string"/> + + </xs:schema> + </types> + + <interface name = "reservationInterface" > + + <fault name = "invalidDataFault" + element = "ghns:invalidDataError"/> + + <operation name="opCheckAvailability" + pattern="http://www.w3.org/ns/wsdl/in-out" + style="http://www.w3.org/ns/wsdl/style/iri" + wsdlx:safe = "true"> + <input messageLabel="In" + element="ghns:checkAvailability" /> + <output messageLabel="Out" + element="ghns:checkAvailabilityResponse" /> + <outfault ref="tns:invalidDataFault" messageLabel="Out"/> + </operation> + + </interface> + + <binding name="reservationSOAPBinding" + interface="tns:reservationInterface" + type="http://www.w3.org/ns/wsdl/soap" + wsoap:version="1.2" + wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP/"> + + <fault ref="tns:invalidDataFault" + wsoap:code="soap:Sender"/> + + <operation ref="tns:opCheckAvailability" wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"> + <input /> + <output /> + <outfault ref="tns:invalidDataFault" /> + </operation> + + </binding> + + <service name="reservationService" + interface="tns:reservationInterface"> + + <endpoint name="reservationEndpoint" + binding="tns:reservationSOAPBinding" + address ="http://greath.example.com/2004/reservation"/> + + </service> + +</description>
Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/EndpointElementTest.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<description xmlns="http://www.w3.org/ns/wsdl" + targetNamespace="http://ws.apache.woden/endpoint" + xmlns:tns="http://ws.apache.woden/endpoint" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd + http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd"> + + <documentation> + Used by EndpointElementTest for FVT of the EndpointElement implementation. + </documentation> + + <interface name="interface1" /> + + <binding name="binding1" /> + + <service name="service1" interface="tns:interface1"> + <endpoint name="endpoint1" binding="tns:binding1" address="urn:abc" /> + <endpoint name="endpoint2" binding="tns:binding1" /> + <endpoint name="endpoint3" binding="tns:binding1" address="urn:xyz" /> + </service> + +</description> \ No newline at end of file Added: webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/ServiceElementTest.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/ServiceElementTest.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/ServiceElementTest.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/org/apache/woden/wsdl20/xml/resources/ServiceElementTest.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<description xmlns="http://www.w3.org/ns/wsdl" + targetNamespace="http://ws.apache.woden/service" + xmlns:tns="http://ws.apache.woden/service" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd + http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd"> + + <documentation> + Used by ServiceElementTest for FVT of the ServiceElement implementation. + </documentation> + + <interface name="interface1" /> + <binding name="binding1" /> + + <service name="service1" interface="tns:interface1"> + <endpoint name="endpoint1" binding="tns:binding1" /> + <endpoint name="endpoint2" binding="tns:binding1" /> + <endpoint name="endpoint3" binding="tns:binding1" /> + </service> + +</description> \ No newline at end of file Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/documentation/extension/resources/nonamespace.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/documentation/extension/resources/nonamespace.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/documentation/extension/resources/nonamespace.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/documentation/extension/resources/nonamespace.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<wsdl:description targetNamespace="http://example.org/nodefaultNS" + xmlns:tns="http://example.org/nodefaultNS" + xmlns:wsdl="http://www.w3.org/ns/wsdl"> + + <wsdl:documentation> + <testcase> + Test that when the WSDL does not declare a default namespace, + no-namespace elements that extend wsdl:documentation are + represented in Woden with a namespace URI of 'null'. + </testcase> + </wsdl:documentation> + + <wsdl:types> + <wsdl:documentation> + <docext>element docext should have a ns uri of null</docext> + </wsdl:documentation> + </wsdl:types> + + <wsdl:interface name="interface1"> + <wsdl:documentation> + This is <docext>stuff</docext>. + </wsdl:documentation> + </wsdl:interface> + + <wsdl:binding name="binding1" interface="tns:interface1" type="urn:abc"> + <wsdl:documentation> + This is more <docext>stuff</docext> + </wsdl:documentation> + </wsdl:binding> + + <wsdl:service name="service1" interface="tns:interface1"> + <wsdl:documentation> + Enough <docext>stuff</docext>! + </wsdl:documentation> + <wsdl:endpoint name="endpoint1" binding="tns:binding1" address="urn:xyz" /> + </wsdl:service> + +</wsdl:description> \ No newline at end of file Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/Messages.properties URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/Messages.properties?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/Messages.properties (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/Messages.properties Tue Sep 1 05:50:45 2009 @@ -0,0 +1,19 @@ +############################################################ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################# + +# Error message formats for the Foo extension set +FOO-001=The value "{0}" is not an odd number. Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/resources/FooBindingExtensions.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/resources/FooBindingExtensions.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/resources/FooBindingExtensions.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/extensions/foo/resources/FooBindingExtensions.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<description xmlns="http://www.w3.org/ns/wsdl" + targetNamespace="http://ws.apache.woden" + xmlns:tns="http://ws.apache.woden" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:wfoo= "http://www.w3.org/ns/wsdl/foo" + xsi:schemaLocation= + "http://www.w3.org/ns/wsdl http://www.w3.org/ns/wsdl/wsdl20.xsd + http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd"> + + <documentation> + Used by FooBindingExtensionsTest to test the FooBindingExtensions implementation. + This is not a valid WSDL 2.0 document and is not intended to be parsed with validation + enabled. It contains only the elements and attributes required to test that Foo extensions + to the wsdl:binding element are parsed correctly into the expected object model and can + be accessed via the API. + </documentation> + + <interface name="interface0" /> + + <interface name="interface1" /> + + <binding name="binding0" + interface="tns:interface0" + type="http://www.w3.org/ns/wsdl/foo" + wfoo:bar="2"> + <documentation> + {bar} should raise an error if wfoo:bar is not an odd number. + </documentation> + </binding> + + <binding name="binding1" + interface="tns:interface1" + type="http://www.w3.org/ns/wsdl/foo" + wfoo:bar="3" + wfoo:baz="john" > + <documentation> + {bar} should be 3 if wfoo:bar is "3" + {baz} should be "john" if wfoo:baz is "john" + </documentation> + </binding> + +</description> \ No newline at end of file Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.jar URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.jar?rev=809833&view=auto ============================================================================== Binary file - no diff available. Propchange: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.wsdl URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.wsdl?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.wsdl (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.wsdl Tue Sep 1 05:50:45 2009 @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +--> +<description xmlns="http://www.w3.org/ns/wsdl" + targetNamespace="http://ws.apache.woden" + xmlns:tns="http://ws.apache.woden" + xmlns:xs="http://www.w3.org/2001/XMLSchema"> + + <documentation> + Used by SchemaLocationTest to test the behaviour of the SchemaResolverAdapter class. + </documentation> + + <types> + <xs:schema targetNamespace="http://example.com/inline"> + <xs:import namespace="http://example.com/data" schemaLocation="dummy" /> + </xs:schema> + </types> + +</description> \ No newline at end of file Added: webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.xsd URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.xsd?rev=809833&view=auto ============================================================================== --- webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.xsd (added) +++ webservices/woden/trunk/java/woden-tests/src/test/resources/testcase/resolver/schemaloc/resources/SchemaLocationTest.xsd Tue Sep 1 05:50:45 2009 @@ -0,0 +1,27 @@ +<!-- + ! + ! Licensed to the Apache Software Foundation (ASF) under one or more + ! contributor license agreements. See the NOTICE file distributed with + ! this work for additional information regarding copyright ownership. + ! The ASF licenses this file to You under the Apache License, Version 2.0 + ! (the "License"); you may not use this file except in compliance with + ! the License. You may obtain a copy of the License at + ! + ! http://www.apache.org/licenses/LICENSE-2.0 + ! + ! Unless required by applicable law or agreed to in writing, software + ! distributed under the License is distributed on an "AS IS" BASIS, + ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ! See the License for the specific language governing permissions and + ! limitations under the License. + !--> +<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' + targetNamespace="http://example.com/data"> + <xs:element name="aardvaark"> + <xs:complexType> + <xs:sequence> + <xs:element ref="population" minOccurs='1' maxOccurs='unbounded'/> + </xs:sequence> + </xs:complexType> + </xs:element> +</xs:schema> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
