You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2012/04/10 11:22:49 UTC

svn commit: r1311653 [3/3] - in /servicemix/components/trunk/bindings/servicemix-cxf-bc/src: main/java/org/apache/servicemix/cxfbc/ main/java/org/apache/servicemix/cxfbc/interceptors/ test/java/org/apache/servicemix/cxfbc/ test/resources/org/apache/ser...

Added: servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/wsn.wsdl
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/wsn.wsdl?rev=1311653&view=auto
==============================================================================
--- servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/wsn.wsdl (added)
+++ servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/wsn.wsdl Tue Apr 10 09:22:49 2012
@@ -0,0 +1,149 @@
+<?xml version="1.0" ?>
+<!--
+
+    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:definitions name="ServiceMix-WS-BrokeredNotification"
+   xmlns="http://schemas.xmlsoap.org/wsdl/"
+   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+   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"
+   xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
+   xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
+   xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
+   xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
+   xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
+   xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2"
+   xmlns:wsrf-rpw="http://docs.oasis-open.org/wsrf/rpw-2"
+   xmlns:tns="http://sample.com/wsn"
+   xmlns:sample-wsn="http://sample.com/wsn"
+   targetNamespace="http://sample.com/wsn">
+
+   <wsdl:import namespace="http://sample.com/wsn"
+      location="WSN_PortTypes.wsdl">
+   </wsdl:import>
+
+    <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rpw-2"
+        location="rpw-2.wsdl">
+    </wsdl:import>
+
+
+   <wsdl:binding name="NotificationBrokerJBI"
+      type="sample-wsn:NotificationBroker">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
+         style="document" />
+      <wsdl:operation name="Notify">
+         <soap:operation soapAction="http://sample.com/wsn/Notify"/>
+         <wsdl:input>
+            <soap:body use="literal" />
+         </wsdl:input>
+      </wsdl:operation>
+      <wsdl:operation name="Subscribe">
+         <soap:operation soapAction="http://sample.com/wsn/Subscribe"/>
+         <wsdl:input>
+            <soap:body use="literal" />
+         </wsdl:input>
+         <wsdl:output>
+            <soap:body use="literal" />
+         </wsdl:output>
+         <wsdl:fault name="ResourceUnknownFault">
+            <soap:fault use="literal" name="ResourceUnknownFault" />
+         </wsdl:fault>
+         <wsdl:fault name="InvalidFilterFault">
+            <soap:fault use="literal" name="InvalidFilterFault" />
+         </wsdl:fault>
+         <wsdl:fault name="TopicExpressionDialectUnknownFault">
+            <soap:fault use="literal"
+               name="TopicExpressionDialectUnknownFault" />
+         </wsdl:fault>
+         <wsdl:fault name="InvalidTopicExpressionFault">
+            <soap:fault use="literal"
+               name="InvalidTopicExpressionFault" />
+         </wsdl:fault>
+         <wsdl:fault name="TopicNotSupportedFault">
+            <soap:fault use="literal" name="TopicNotSupportedFault" />
+         </wsdl:fault>
+         <wsdl:fault
+            name="InvalidProducerPropertiesExpressionFault">
+            <soap:fault use="literal"
+               name="InvalidProducerPropertiesExpressionFault" />
+         </wsdl:fault>
+         <wsdl:fault name="InvalidMessageContentExpressionFault">
+            <soap:fault use="literal"
+               name="InvalidMessageContentExpressionFault" />
+         </wsdl:fault>
+         <wsdl:fault
+            name="UnacceptableInitialTerminationTimeFault">
+            <soap:fault use="literal"
+               name="UnacceptableInitialTerminationTimeFault" />
+         </wsdl:fault>
+         <wsdl:fault name="UnrecognizedPolicyRequestFault">
+            <soap:fault use="literal"
+               name="UnrecognizedPolicyRequestFault" />
+         </wsdl:fault>
+         <wsdl:fault  name="UnsupportedPolicyRequestFault">
+            <soap:fault use="literal"
+               name="UnsupportedPolicyRequestFault" />
+         </wsdl:fault>
+         <wsdl:fault name="NotifyMessageNotSupportedFault">
+            <soap:fault use="literal"
+               name="NotifyMessageNotSupportedFault" />
+         </wsdl:fault>
+         <wsdl:fault name="SubscribeCreationFailedFault">
+            <soap:fault use="literal"
+               name="SubscribeCreationFailedFault" />
+         </wsdl:fault>
+      </wsdl:operation>
+
+   </wsdl:binding>
+   <wsdl:service name="NotificationBrokerService">
+      <wsdl:port name="Broker" binding="tns:NotificationBrokerJBI">   
+        <soap:address location="http://localhost:5728/sample/NotificationBrokerService/" />
+      </wsdl:port>
+   </wsdl:service>
+
+   <wsdl:binding name="SubscriptionManagerJBI"
+      type="sample-wsn:SubscriptionManager">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
+         style="document" />
+
+      <wsdl:operation name="Unsubscribe">
+         <soap:operation soapAction="http://sample.com/wsn/Unsubscribe"/>
+         <wsdl:input name="UnsubscribeRequest">
+            <soap:body use="literal" />
+         </wsdl:input>
+         <wsdl:output name="UnsubscribeResponse">
+            <soap:body use="literal" />
+         </wsdl:output>
+         <wsdl:fault name="ResourceUnknownFault">
+            <soap:fault use="literal" name="ResourceUnknownFault" />
+         </wsdl:fault>
+         <wsdl:fault name="UnableToDestroySubscriptionFault">
+            <soap:fault use="literal"
+               name="UnableToDestroySubscriptionFault" />
+         </wsdl:fault>
+      </wsdl:operation>
+   </wsdl:binding>
+   <wsdl:service name="SubscriptionManagerService">
+      <wsdl:port name="SubscriptionManager" binding="tns:SubscriptionManagerJBI">
+        <soap:address location="http://localhost:5728/sample/SubscriptionManagerService/" />
+      </wsdl:port>
+   </wsdl:service>
+
+</wsdl:definitions>

Added: servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/xml.xsd
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/xml.xsd?rev=1311653&view=auto
==============================================================================
--- servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/xml.xsd (added)
+++ servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/wsn/xml.xsd Tue Apr 10 09:22:49 2012
@@ -0,0 +1,149 @@
+<?xml version='1.0'?>
+<!--
+        Copyright © 2004 World Wide Web Consortium, 
+        (Massachusetts Institute of Technology, European Research 
+        Consortium for Informatics and Mathematics, Keio University). 
+        All Rights Reserved. 
+        http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
+        
+        The original file is available at 
+             http://www.w3.org/2001/xml.xsd
+  -->
+<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+
+ <xs:annotation>
+  <xs:documentation>
+   See http://www.w3.org/XML/1998/namespace.html and
+   http://www.w3.org/TR/REC-xml for information about this namespace.
+
+    This schema document describes the XML namespace, in a form
+    suitable for import by other schema documents.
+
+    Note that local names in this namespace are intended to be defined
+    only by the World Wide Web Consortium or its subgroups.  The
+    following names are currently defined in this namespace and should
+    not be used with conflicting semantics by any Working Group,
+    specification, or document instance:
+
+    base (as an attribute name): denotes an attribute whose value
+         provides a URI to be used as the base for interpreting any
+         relative URIs in the scope of the element on which it
+         appears; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML Base specification.
+
+    id   (as an attribute name): denotes an attribute whose value
+         should be interpreted as if declared to be of type ID.
+         The xml:id specification is not yet a W3C Recommendation,
+         but this attribute is included here to facilitate experimentation
+         with the mechanisms it proposes.  Note that it is _not_ included
+         in the specialAttrs attribute group.
+
+    lang (as an attribute name): denotes an attribute whose value
+         is a language code for the natural language of the content of
+         any element; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML specification.
+
+    space (as an attribute name): denotes an attribute whose
+         value is a keyword indicating what whitespace processing
+         discipline is intended for the content of the element; its
+         value is inherited.  This name is reserved by virtue of its
+         definition in the XML specification.
+
+    Father (in any context at all): denotes Jon Bosak, the chair of
+         the original XML Working Group.  This name is reserved by
+         the following decision of the W3C XML Plenary and
+         XML Coordination groups:
+
+             In appreciation for his vision, leadership and dedication
+             the W3C XML Plenary on this 10th day of February, 2000
+             reserves for Jon Bosak in perpetuity the XML name
+             xml:Father
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>This schema defines attributes and an attribute group
+        suitable for use by
+        schemas wishing to allow xml:base, xml:lang or xml:space attributes
+        on elements they define.
+
+        To enable this, such a schema must import this schema
+        for the XML namespace, e.g. as follows:
+        &lt;schema . . .>
+         . . .
+         &lt;import namespace="http://www.w3.org/XML/1998/namespace"
+                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
+
+        Subsequently, qualified reference to any of the attributes
+        or the group defined below will have the desired effect, e.g.
+
+        &lt;type . . .>
+         . . .
+         &lt;attributeGroup ref="xml:specialAttrs"/>
+
+         will define a type which will schema-validate an instance
+         element with any of those attributes</xs:documentation>
+
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>In keeping with the XML Schema WG's standard versioning
+   policy, this schema document will persist at
+   http://www.w3.org/2004/10/xml.xsd.
+   At the date of issue it can also be found at
+   http://www.w3.org/2001/xml.xsd.
+   The schema document at that URI may however change in the future,
+   in order to remain compatible with the latest version of XML Schema
+   itself, or with the XML namespace itself.  In other words, if the XML
+   Schema or XML namespaces change, the version of this document at
+   http://www.w3.org/2001/xml.xsd will change
+   accordingly; the version at
+   http://www.w3.org/2004/10/xml.xsd will not change.
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:attribute name="lang" type="xs:language">
+  <xs:annotation>
+   <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
+         codes as the enumerated possible values is probably never
+         going to be a realistic possibility.  See
+         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
+         at http://www.iana.org/assignments/lang-tag-apps.htm for
+         further information.</xs:documentation>
+
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="space">
+  <xs:simpleType>
+   <xs:restriction base="xs:NCName">
+    <xs:enumeration value="default"/>
+    <xs:enumeration value="preserve"/>
+   </xs:restriction>
+
+  </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="base" type="xs:anyURI">
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="id" type="xs:ID">
+
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xml-id/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attributeGroup name="specialAttrs">
+  <xs:attribute ref="xml:base"/>
+  <xs:attribute ref="xml:lang"/>
+  <xs:attribute ref="xml:space"/>
+
+ </xs:attributeGroup>
+
+</xs:schema>