You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2013/11/04 01:42:33 UTC
svn commit: r1538482 [4/4] - in /juddi/trunk:
juddi-client.net/juddi-client.net-sample/ juddi-client.net/juddi-client.net/
juddi-client.net/juddi-client.net/bindings/
juddi-client.net/juddi-client.net/org.apache.juddi.jaxb/
juddi-client.net/juddi-clien...
Added: juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wadl.xsd
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wadl.xsd?rev=1538482&view=auto
==============================================================================
--- juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wadl.xsd (added)
+++ juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wadl.xsd Mon Nov 4 00:42:32 2013
@@ -0,0 +1,217 @@
+<xs:schema targetNamespace="http://wadl.dev.java.net/2009/02" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://wadl.dev.java.net/2009/02">
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+ <xs:element name="application">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:grammars" minOccurs="0"/>
+ <xs:element ref="tns:resources" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="tns:resource_type"/>
+ <xs:element ref="tns:method"/>
+ <xs:element ref="tns:representation"/>
+ <xs:element ref="tns:param"/>
+ </xs:choice>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="doc">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="title" type="xs:string"/>
+ <xs:attribute ref="xml:lang"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="grammars">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:include"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="resources">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:resource" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="base" type="xs:anyURI"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="resource">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:param" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="tns:method"/>
+ <xs:element ref="tns:resource"/>
+ </xs:choice>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="type" type="tns:resource_type_list"/>
+ <xs:attribute name="queryType" type="xs:string" default="application/x-www-form-urlencoded"/>
+ <xs:attribute name="path" type="xs:string"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="resource_type_list">
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ <xs:element name="resource_type">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:param" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="tns:method"/>
+ <xs:element ref="tns:resource"/>
+ </xs:choice>
+ <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="method">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:request" minOccurs="0"/>
+ <xs:element ref="tns:response" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="name" type="tns:Method"/>
+ <xs:attribute name="href" type="xs:anyURI"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="Method">
+ <xs:union memberTypes="tns:HTTPMethods xs:NMTOKEN"/>
+ </xs:simpleType>
+ <xs:simpleType name="HTTPMethods">
+ <xs:restriction base="xs:NMTOKEN">
+ <xs:enumeration value="GET"/>
+ <xs:enumeration value="POST"/>
+ <xs:enumeration value="PUT"/>
+ <xs:enumeration value="HEAD"/>
+ <xs:enumeration value="DELETE"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="include">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="href" type="xs:anyURI"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="request">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:param" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:representation" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="response">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:param" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:representation" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="status" type="tns:statusCodeList"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="uriList">
+ <xs:list itemType="xs:anyURI"/>
+ </xs:simpleType>
+ <xs:element name="representation">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:param" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="element" type="xs:QName"/>
+ <xs:attribute name="mediaType" type="xs:string"/>
+ <xs:attribute name="href" type="xs:anyURI"/>
+ <xs:attribute name="profile" type="tns:uriList"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="statusCodeList">
+ <xs:list itemType="xs:unsignedInt"/>
+ </xs:simpleType>
+ <xs:simpleType name="ParamStyle">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="plain"/>
+ <xs:enumeration value="query"/>
+ <xs:enumeration value="matrix"/>
+ <xs:enumeration value="header"/>
+ <xs:enumeration value="template"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="param">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:option" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="tns:link" minOccurs="0"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="href" type="xs:anyURI"/>
+ <xs:attribute name="name" type="xs:NMTOKEN"/>
+ <xs:attribute name="style" type="tns:ParamStyle"/>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="type" type="xs:QName" /><!--default="xs:string"-->
+ <xs:attribute name="default" type="xs:string"/>
+ <xs:attribute name="required" type="xs:boolean" default="false"/>
+ <xs:attribute name="repeating" type="xs:boolean" default="false"/>
+ <xs:attribute name="fixed" type="xs:string"/>
+ <xs:attribute name="path" type="xs:string"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="option">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ <xs:attribute name="mediaType" type="xs:string"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="link">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:doc" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="resource_type" type="xs:anyURI"/>
+ <xs:attribute name="rel" type="xs:token"/>
+ <xs:attribute name="rev" type="xs:token"/>
+ <xs:anyAttribute namespace="##other" processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
\ No newline at end of file
Added: juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.cs
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.cs?rev=1538482&view=auto
==============================================================================
--- juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.cs (added)
+++ juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.cs Mon Nov 4 00:42:32 2013
@@ -0,0 +1,949 @@
+/*
+ * Copyright 2001-2008 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */
+
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.18052
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System.Xml.Serialization;
+
+//
+// This source code was auto-generated by xsd, Version=4.0.30319.17929.
+//
+
+namespace org.xmlsoap.schemas
+{
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ [System.Xml.Serialization.XmlRootAttribute("definitions", Namespace = "http://schemas.xmlsoap.org/wsdl/", IsNullable = false)]
+ public partial class tDefinitions : tExtensibleDocumented
+ {
+
+ private tImport[] importField;
+
+ private tTypes[] typesField;
+
+ private tMessage[] messageField;
+
+ private tPortType[] portTypeField;
+
+ private tBinding[] bindingField;
+
+ private tService[] serviceField;
+
+ private string targetNamespaceField;
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("import")]
+ public tImport[] import
+ {
+ get
+ {
+ return this.importField;
+ }
+ set
+ {
+ this.importField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("types")]
+ public tTypes[] types
+ {
+ get
+ {
+ return this.typesField;
+ }
+ set
+ {
+ this.typesField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("message")]
+ public tMessage[] message
+ {
+ get
+ {
+ return this.messageField;
+ }
+ set
+ {
+ this.messageField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("portType")]
+ public tPortType[] portType
+ {
+ get
+ {
+ return this.portTypeField;
+ }
+ set
+ {
+ this.portTypeField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("binding")]
+ public tBinding[] binding
+ {
+ get
+ {
+ return this.bindingField;
+ }
+ set
+ {
+ this.bindingField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("service")]
+ public tService[] service
+ {
+ get
+ {
+ return this.serviceField;
+ }
+ set
+ {
+ this.serviceField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
+ public string targetNamespace
+ {
+ get
+ {
+ return this.targetNamespaceField;
+ }
+ set
+ {
+ this.targetNamespaceField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tImport : tExtensibleAttributesDocumented
+ {
+
+ private string namespaceField;
+
+ private string locationField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
+ public string @namespace
+ {
+ get
+ {
+ return this.namespaceField;
+ }
+ set
+ {
+ this.namespaceField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
+ public string location
+ {
+ get
+ {
+ return this.locationField;
+ }
+ set
+ {
+ this.locationField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tFault))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tParam))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPortType))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPart))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tImport))]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public abstract partial class tExtensibleAttributesDocumented : tDocumented
+ {
+
+ private System.Xml.XmlAttribute[] anyAttrField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAnyAttributeAttribute()]
+ public System.Xml.XmlAttribute[] AnyAttr
+ {
+ get
+ {
+ return this.anyAttrField;
+ }
+ set
+ {
+ this.anyAttrField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tExtensibleDocumented))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tOperation))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPort))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tService))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperationFault))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperationMessage))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperation))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBinding))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tMessage))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tTypes))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tDefinitions))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tExtensibleAttributesDocumented))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tFault))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tParam))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPortType))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPart))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tImport))]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tDocumented
+ {
+
+ private tDocumentation documentationField;
+
+ /// <remarks/>
+ public tDocumentation documentation
+ {
+ get
+ {
+ return this.documentationField;
+ }
+ set
+ {
+ this.documentationField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tDocumentation
+ {
+
+ private System.Xml.XmlNode[] anyField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlTextAttribute()]
+ [System.Xml.Serialization.XmlAnyElementAttribute()]
+ public System.Xml.XmlNode[] Any
+ {
+ get
+ {
+ return this.anyField;
+ }
+ set
+ {
+ this.anyField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tOperation))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tPort))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tService))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperationFault))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperationMessage))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBindingOperation))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tBinding))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tMessage))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tTypes))]
+ [System.Xml.Serialization.XmlIncludeAttribute(typeof(tDefinitions))]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public abstract partial class tExtensibleDocumented : tDocumented
+ {
+
+ private System.Xml.XmlElement[] anyField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAnyElementAttribute()]
+ public System.Xml.XmlElement[] Any
+ {
+ get
+ {
+ return this.anyField;
+ }
+ set
+ {
+ this.anyField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tOperation : tExtensibleDocumented
+ {
+
+ private tExtensibleAttributesDocumented[] itemsField;
+
+ private ItemsChoiceType[] itemsElementNameField;
+
+ private string nameField;
+
+ private string parameterOrderField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("fault", typeof(tFault))]
+ [System.Xml.Serialization.XmlElementAttribute("input", typeof(tParam))]
+ [System.Xml.Serialization.XmlElementAttribute("output", typeof(tParam))]
+ [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
+ public tExtensibleAttributesDocumented[] Items
+ {
+ get
+ {
+ return this.itemsField;
+ }
+ set
+ {
+ this.itemsField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
+ [System.Xml.Serialization.XmlIgnoreAttribute()]
+ public ItemsChoiceType[] ItemsElementName
+ {
+ get
+ {
+ return this.itemsElementNameField;
+ }
+ set
+ {
+ this.itemsElementNameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NMTOKENS")]
+ public string parameterOrder
+ {
+ get
+ {
+ return this.parameterOrderField;
+ }
+ set
+ {
+ this.parameterOrderField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tFault : tExtensibleAttributesDocumented
+ {
+
+ private string nameField;
+
+ private System.Xml.XmlQualifiedName messageField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName message
+ {
+ get
+ {
+ return this.messageField;
+ }
+ set
+ {
+ this.messageField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tParam : tExtensibleAttributesDocumented
+ {
+
+ private string nameField;
+
+ private System.Xml.XmlQualifiedName messageField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName message
+ {
+ get
+ {
+ return this.messageField;
+ }
+ set
+ {
+ this.messageField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/", IncludeInSchema = false)]
+ public enum ItemsChoiceType
+ {
+
+ /// <remarks/>
+ fault,
+
+ /// <remarks/>
+ input,
+
+ /// <remarks/>
+ output,
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tPort : tExtensibleDocumented
+ {
+
+ private string nameField;
+
+ private System.Xml.XmlQualifiedName bindingField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName binding
+ {
+ get
+ {
+ return this.bindingField;
+ }
+ set
+ {
+ this.bindingField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tService : tExtensibleDocumented
+ {
+
+ private tPort[] portField;
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("port")]
+ public tPort[] port
+ {
+ get
+ {
+ return this.portField;
+ }
+ set
+ {
+ this.portField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tBindingOperationFault : tExtensibleDocumented
+ {
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tBindingOperationMessage : tExtensibleDocumented
+ {
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tBindingOperation : tExtensibleDocumented
+ {
+
+ private tBindingOperationMessage inputField;
+
+ private tBindingOperationMessage outputField;
+
+ private tBindingOperationFault[] faultField;
+
+ private string nameField;
+
+ /// <remarks/>
+ public tBindingOperationMessage input
+ {
+ get
+ {
+ return this.inputField;
+ }
+ set
+ {
+ this.inputField = value;
+ }
+ }
+
+ /// <remarks/>
+ public tBindingOperationMessage output
+ {
+ get
+ {
+ return this.outputField;
+ }
+ set
+ {
+ this.outputField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("fault")]
+ public tBindingOperationFault[] fault
+ {
+ get
+ {
+ return this.faultField;
+ }
+ set
+ {
+ this.faultField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tBinding : tExtensibleDocumented
+ {
+
+ private tBindingOperation[] operationField;
+
+ private string nameField;
+
+ private System.Xml.XmlQualifiedName typeField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("operation")]
+ public tBindingOperation[] operation
+ {
+ get
+ {
+ return this.operationField;
+ }
+ set
+ {
+ this.operationField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName type
+ {
+ get
+ {
+ return this.typeField;
+ }
+ set
+ {
+ this.typeField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tMessage : tExtensibleDocumented
+ {
+
+ private tPart[] partField;
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("part")]
+ public tPart[] part
+ {
+ get
+ {
+ return this.partField;
+ }
+ set
+ {
+ this.partField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tPart : tExtensibleAttributesDocumented
+ {
+
+ private string nameField;
+
+ private System.Xml.XmlQualifiedName elementField;
+
+ private System.Xml.XmlQualifiedName typeField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName element
+ {
+ get
+ {
+ return this.elementField;
+ }
+ set
+ {
+ this.elementField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute()]
+ public System.Xml.XmlQualifiedName type
+ {
+ get
+ {
+ return this.typeField;
+ }
+ set
+ {
+ this.typeField = value;
+ }
+ }
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tTypes : tExtensibleDocumented
+ {
+ }
+
+ /// <remarks/>
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.17929")]
+ [System.SerializableAttribute()]
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.ComponentModel.DesignerCategoryAttribute("code")]
+ [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/wsdl/")]
+ public partial class tPortType : tExtensibleAttributesDocumented
+ {
+
+ private tOperation[] operationField;
+
+ private string nameField;
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlElementAttribute("operation")]
+ public tOperation[] operation
+ {
+ get
+ {
+ return this.operationField;
+ }
+ set
+ {
+ this.operationField = value;
+ }
+ }
+
+ /// <remarks/>
+ [System.Xml.Serialization.XmlAttributeAttribute(DataType = "NCName")]
+ public string name
+ {
+ get
+ {
+ return this.nameField;
+ }
+ set
+ {
+ this.nameField = value;
+ }
+ }
+ }
+}
\ No newline at end of file
Added: juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.xsd
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.xsd?rev=1538482&view=auto
==============================================================================
--- juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.xsd (added)
+++ juddi/trunk/juddi-client.net/juddi-client.net/org.apache.juddi.v3.client.mapping/wsdl.xsd Mon Nov 4 00:42:32 2013
@@ -0,0 +1,310 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+
+Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
+All Rights Reserved
+
+License for WSDL Schema Files
+
+The Authors grant permission to copy and distribute the WSDL Schema
+Files in any medium without fee or royalty as long as this notice and
+license are distributed with them. The originals of these files can
+be located at:
+
+http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
+
+THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
+OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
+NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT,
+INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR
+RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
+
+The name and trademarks of the Authors may NOT be used in any manner,
+including advertising or publicity pertaining to these files or any program
+or service that uses these files, written prior permission. Title to copyright
+in these files will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ targetNamespace="http://schemas.xmlsoap.org/wsdl/"
+ elementFormDefault="qualified" >
+
+ <xs:complexType mixed="true" name="tDocumentation" >
+ <xs:sequence>
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="tDocumented" >
+ <xs:annotation>
+ <xs:documentation>
+ This type is extended by component types to allow them to be documented
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tDocumented" >
+ <xs:annotation>
+ <xs:documentation>
+ This type is extended by component types to allow attributes from other namespaces to be added.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:anyAttribute namespace="##other" processContents="lax" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tExtensibleDocumented" abstract="true" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tDocumented" >
+ <xs:annotation>
+ <xs:documentation>
+ This type is extended by component types to allow elements from other namespaces to be added.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="definitions" type="wsdl:tDefinitions" >
+ <xs:key name="message" >
+ <xs:selector xpath="wsdl:message" />
+ <xs:field xpath="@name" />
+ </xs:key>
+ <xs:key name="portType" >
+ <xs:selector xpath="wsdl:portType" />
+ <xs:field xpath="@name" />
+ </xs:key>
+ <xs:key name="binding" >
+ <xs:selector xpath="wsdl:binding" />
+ <xs:field xpath="@name" />
+ </xs:key>
+ <xs:key name="service" >
+ <xs:selector xpath="wsdl:service" />
+ <xs:field xpath="@name" />
+ </xs:key>
+ <xs:key name="import" >
+ <xs:selector xpath="wsdl:import" />
+ <xs:field xpath="@namespace" />
+ </xs:key>
+ </xs:element>
+
+ <xs:group name="anyTopLevelOptionalElement" >
+ <xs:annotation>
+ <xs:documentation>
+ Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:element name="import" type="wsdl:tImport" />
+ <xs:element name="types" type="wsdl:tTypes" />
+ <xs:element name="message" type="wsdl:tMessage" >
+ <xs:unique name="part" >
+ <xs:selector xpath="wsdl:part" />
+ <xs:field xpath="@name" />
+ </xs:unique>
+ </xs:element>
+ <xs:element name="portType" type="wsdl:tPortType" />
+ <xs:element name="binding" type="wsdl:tBinding" />
+ <xs:element name="service" type="wsdl:tService" >
+ <xs:unique name="port" >
+ <xs:selector xpath="wsdl:port" />
+ <xs:field xpath="@name" />
+ </xs:unique>
+ </xs:element>
+ </xs:choice>
+ </xs:group>
+
+ <xs:complexType name="tDefinitions" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:group ref="wsdl:anyTopLevelOptionalElement" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
+ <xs:attribute name="name" type="xs:NCName" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tImport" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
+ <xs:attribute name="namespace" type="xs:anyURI" use="required" />
+ <xs:attribute name="location" type="xs:anyURI" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tTypes" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" />
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tMessage" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tPart" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ <xs:attribute name="element" type="xs:QName" use="optional" />
+ <xs:attribute name="type" type="xs:QName" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tPortType" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
+ <xs:sequence>
+ <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tOperation" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:choice>
+ <xs:group ref="wsdl:request-response-or-one-way-operation" />
+ <xs:group ref="wsdl:solicit-response-or-notification-operation" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:group name="request-response-or-one-way-operation" >
+ <xs:sequence>
+ <xs:element name="input" type="wsdl:tParam" />
+ <xs:sequence minOccurs='0' >
+ <xs:element name="output" type="wsdl:tParam" />
+ <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:group name="solicit-response-or-notification-operation" >
+ <xs:sequence>
+ <xs:element name="output" type="wsdl:tParam" />
+ <xs:sequence minOccurs='0' >
+ <xs:element name="input" type="wsdl:tParam" />
+ <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:complexType name="tParam" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="optional" />
+ <xs:attribute name="message" type="xs:QName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tFault" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ <xs:attribute name="message" type="xs:QName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tBinding" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ <xs:attribute name="type" type="xs:QName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tBindingOperationMessage" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="optional" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tBindingOperationFault" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tBindingOperation" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
+ <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
+ <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tService" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:sequence>
+ <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tPort" >
+ <xs:complexContent>
+ <xs:extension base="wsdl:tExtensibleDocumented" >
+ <xs:attribute name="name" type="xs:NCName" use="required" />
+ <xs:attribute name="binding" type="xs:QName" use="required" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:attribute name="arrayType" type="xs:string" />
+ <xs:attribute name="required" type="xs:boolean" />
+ <xs:complexType name="tExtensibilityElement" abstract="true" >
+ <xs:attribute ref="wsdl:required" use="optional" />
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Modified: juddi/trunk/juddi-examples/uddi-samples/src/org/apache/juddi/samples/WsdlImport.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-examples/uddi-samples/src/org/apache/juddi/samples/WsdlImport.java?rev=1538482&r1=1538481&r2=1538482&view=diff
==============================================================================
--- juddi/trunk/juddi-examples/uddi-samples/src/org/apache/juddi/samples/WsdlImport.java (original)
+++ juddi/trunk/juddi-examples/uddi-samples/src/org/apache/juddi/samples/WsdlImport.java Mon Nov 4 00:42:32 2013
@@ -39,6 +39,7 @@ import org.uddi.api_v3.BusinessServices;
import org.uddi.api_v3.GetAuthToken;
import org.uddi.api_v3.Name;
import org.uddi.api_v3.SaveBusiness;
+import org.uddi.api_v3.SaveService;
import org.uddi.api_v3.SaveTModel;
import org.uddi.api_v3.TModel;
import org.uddi.v3_service.UDDIPublicationPortType;
@@ -94,14 +95,14 @@ public class WsdlImport {
//http://www.webservicex.net/stockquote.asmx?WSDL");
//http://www.webservicex.com/globalweather.asmx?WSDL");
//http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl");
- String domain = url.getHost();
+ String domain = "my.key.domain";
PrintUDDI<TModel> tmodelPrinter = new PrintUDDI<TModel>();
TModel keygen = UDDIClerk.createKeyGenator("uddi:" + domain + ":keygenerator", domain, "en");
//save the keygen
SaveTModel stm = new SaveTModel();
stm.setAuthInfo(rootAuthToken.getAuthInfo());
stm.getTModel().add(keygen);
- System.out.println(tmodelPrinter.print(keygen));
+ //System.out.println(tmodelPrinter.print(keygen));
//publish.saveTModel(stm);
@@ -149,19 +150,27 @@ public class WsdlImport {
}
//important, you'll need to save your new tModels, or else saving the business/service may fail
- publish.saveTModel(stm);
+ System.out.println(new PrintUDDI<SaveTModel>().print(tms));
+ //publish.saveTModel(stm);
//finaly, we're ready to save all of the services defined in the WSDL
//again, we're creating a new business, if you have one already, look it up using the Inquiry getBusinessDetails
- PrintUDDI<BusinessService> servicePrinter = new PrintUDDI<BusinessService>();
+ SaveService ss = new SaveService();
+
+
+ //PrintUDDI<BusinessService> servicePrinter = new PrintUDDI<BusinessService>();
for (int i = 0; i < businessServices.getBusinessService().size(); i++) {
- System.out.println(servicePrinter.print(businessServices.getBusinessService().get(i)));
+ ss.getBusinessService().add(businessServices.getBusinessService().get(i));
+ //System.out.println(servicePrinter.print(businessServices.getBusinessService().get(i)));
}
+
+ System.out.println(new PrintUDDI<SaveService>().print(ss));
+ /*
SaveBusiness sb = new SaveBusiness();
sb.setAuthInfo(rootAuthToken.getAuthInfo());
@@ -176,7 +185,7 @@ public class WsdlImport {
PrintUDDI<SaveBusiness> sbp = new PrintUDDI<SaveBusiness>();
System.out.println("Request " + sbp.print(sb));
publish.saveBusiness(sb);
-
+*/
//and we're done
//Be sure to report any problems to the jUDDI JIRA bug tracker at
//https://issues.apache.org/jira/browse/JUDDI
Modified: juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWadl.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWadl.jsp?rev=1538482&r1=1538481&r2=1538482&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWadl.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWadl.jsp Mon Nov 4 00:42:32 2013
@@ -50,7 +50,7 @@
try {
URL url = new URL(uri);
//"http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl");
- String domain = url.getHost();
+ //String domain = url.getHost();
//TModel keygen = UDDIClerk.createKeyGenator("uddi:" + domain + ":keygenerator", domain, "en");
Application app = WADL2UDDI.ParseWadl(url, username, password, ignoreSSL);
@@ -60,8 +60,8 @@
//TModel keygen = UDDIClerk.createKeyGenator("uddi:" + domain + ":keygenerator", domain, "en");
Properties properties = new Properties();
- properties.put("keyDomain", domain);
- properties.put("businessName", domain);
+ properties.put("keyDomain", keydomain);
+ properties.put("businessName", businessname);
properties.put("serverName", url.getHost());
properties.put("serverPort", url.getPort());
//wsdlURL = wsdlDefinition.getDocumentBaseURI();
@@ -75,7 +75,8 @@
tmodels.addAll(portTypeTModels);
boolean createKeyGen = false;
- TModel keygen = UDDIClerk.createKeyGenator("uddi:" + domain + ":keygenerator", domain, (String) session.getAttribute("locale"));
+ TModel keygen = UDDIClerk.createKeyGenator("uddi:" + keydomain + ":keygenerator",
+ keydomain + " Key Generator Partition", (String) session.getAttribute("locale"));
if (x.getTmodelDetails(keygen.getTModelKey()) == null) {
createKeyGen = true;
}
Modified: juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWsdl.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWsdl.jsp?rev=1538482&r1=1538481&r2=1538482&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWsdl.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/ajax/importFromWsdl.jsp Mon Nov 4 00:42:32 2013
@@ -69,7 +69,8 @@
tmodels.addAll(portTypeTModels);
boolean createKeyGen = false;
- TModel keygen = UDDIClerk.createKeyGenator("uddi:" + domain + ":keygenerator", domain, (String) session.getAttribute("locale"));
+ TModel keygen = UDDIClerk.createKeyGenator("uddi:" + keydomain + ":keygenerator",
+ keydomain + " Key Generator Partition", (String) session.getAttribute("locale"));
if (x.getTmodelDetails(keygen.getTModelKey()) == null) {
createKeyGen = true;
}
Modified: juddi/trunk/juddi-gui/src/main/webapp/importFromWadl.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/importFromWadl.jsp?rev=1538482&r1=1538481&r2=1538482&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/importFromWadl.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/importFromWadl.jsp Mon Nov 4 00:42:32 2013
@@ -57,126 +57,131 @@
</div>
</div>
<script type="text/javascript">
-
+
//by James Padolsey
//http://james.padolsey.com/javascript/parsing-urls-with-the-dom/
function parseURL(url) {
- var a = document.createElement('a');
+ var a = document.createElement('a');
a.href = url;
return {
source: url,
- protocol: a.protocol.replace(':',''),
+ protocol: a.protocol.replace(':', ''),
host: a.hostname,
port: a.port,
query: a.search,
- params: (function(){
+ params: (function() {
var ret = {},
- seg = a.search.replace(/^\?/,'').split('&'),
- len = seg.length, i = 0, s;
- for (;i<len;i++) {
- if (!seg[i]) { continue; }
+ seg = a.search.replace(/^\?/, '').split('&'),
+ len = seg.length, i = 0, s;
+ for (; i < len; i++) {
+ if (!seg[i]) {
+ continue;
+ }
s = seg[i].split('=');
ret[s[0]] = s[1];
}
return ret;
})(),
- file: (a.pathname.match(/\/([^\/?#]+)$/i) || [,''])[1],
- hash: a.hash.replace('#',''),
- path: a.pathname.replace(/^([^\/])/,'/$1'),
- relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [,''])[1],
- segments: a.pathname.replace(/^\//,'').split('/')
+ file: (a.pathname.match(/\/([^\/?#]+)$/i) || [, ''])[1],
+ hash: a.hash.replace('#', ''),
+ path: a.pathname.replace(/^([^\/])/, '/$1'),
+ relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [, ''])[1],
+ segments: a.pathname.replace(/^\//, '').split('/')
};
}
-
+
//after is entered, fetch the wsdl, parse the key domain
-
+ var trigger1_triggered = false;
//considerations, if its an ip address? what about localhost
function trigger1()
{
- var l = parseURL($("#wsdlurl").val());
- $("#keydomain").val(l.host);
- $("#collapse1").collapse('hide');
- $("#collapse2").collapse('show');
+ if (!trigger1_triggered) {
+ var l = parseURL($("#wsdlurl").val());
+ $("#keydomain").val(l.host);
+ $("#collapse1").collapse('hide');
+ $("#collapse2").collapse('show');
+ var trigger1_triggered = true;
+ }
}
-
+
function save(preview)
{
var postbackdata = new Array();
- var url='ajax/importFromWadl.jsp';
+ var url = 'ajax/importFromWadl.jsp';
postbackdata.push({
- name:"nonce",
+ name: "nonce",
value: $("#nonce").val()
});
- if (preview){
+ if (preview) {
postbackdata.push({
- name:"formaction",
+ name: "formaction",
value: "preview"
});
}
else
{
postbackdata.push({
- name:"formaction",
+ name: "formaction",
value: "save"
});
}
postbackdata.push({
- name:"wsdlusername",
+ name: "wsdlusername",
value: $("#wsdlusername").val()
});
postbackdata.push({
- name:"wsdlpassword",
+ name: "wsdlpassword",
value: $("#wsdlpassword").val()
});
postbackdata.push({
- name:"wsdlurl",
+ name: "wsdlurl",
value: $("#wsdlurl").val()
});
- if($('#wsdlignoressl').is(':checked')) {
+ if ($('#wsdlignoressl').is(':checked')) {
postbackdata.push({
- name:"ignoressl",
+ name: "ignoressl",
value: true
});
}
else
{
postbackdata.push({
- name:"ignoressl",
+ name: "ignoressl",
value: false
- });
+ });
}
postbackdata.push({
- name:"businessname",
+ name: "businessname",
value: $("#businessname").val()
});
-
+
postbackdata.push({
- name:"keydomain",
+ name: "keydomain",
value: $("#keydomain").val()
});
-
-
-
-
- var request= $.ajax({
+
+
+
+
+ var request = $.ajax({
url: url,
- type:"POST",
+ type: "POST",
// dataType: "html",
- cache: false,
+ cache: false,
// processData: false,f
data: postbackdata
});
-
-
+
+
request.done(function(msg) {
- window.console && console.log('postback done ' + url);
+ window.console && console.log('postback done ' + url);
$("#preview").html(msg);
});
request.fail(function(jqXHR, textStatus) {
- window.console && console.log('postback failed ' + url);
+ window.console && console.log('postback failed ' + url);
$("#preview").html(jqXHR + textStatus);
-
+
});
}
@@ -209,23 +214,23 @@
<a href="javascript:loadBusinessModel();"><i class="icon-list-alt icon-large"></i> <%=ResourceLoader.GetResource(session, "items.picker")%></a>
<script type="text/javascript">
- function loadBusinessModel()
+ function loadBusinessModel()
+ {
+ reloadBusinessModal();
+ $.dialogBusiness.confirm({
+ callback: function(success, result) {
+ if (success)
{
- reloadBusinessModal();
- $.dialogBusiness.confirm({
- callback: function(success, result) {
- if (success)
- {
- for (var i=0;i<result.length;i++){
- $("#businessname").val(result[i]);
- //if ($("#keylist option[value='"+result[i]+"']").length == 0)
- //$("#keylist").append("<option value=\"" + result[i] + "\">" + result[i] + "</option>");
- }
-
- }
- }
- });
+ for (var i = 0; i < result.length; i++) {
+ $("#businessname").val(result[i]);
+ //if ($("#keylist option[value='"+result[i]+"']").length == 0)
+ //$("#keylist").append("<option value=\"" + result[i] + "\">" + result[i] + "</option>");
+ }
+
}
+ }
+ });
+ }
</script>
<input type="text" id="businessname" placeholder="Business Key or a new Business Name">
</div>
Modified: juddi/trunk/juddi-gui/src/main/webapp/importFromWsdl.jsp
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-gui/src/main/webapp/importFromWsdl.jsp?rev=1538482&r1=1538481&r2=1538482&view=diff
==============================================================================
--- juddi/trunk/juddi-gui/src/main/webapp/importFromWsdl.jsp (original)
+++ juddi/trunk/juddi-gui/src/main/webapp/importFromWsdl.jsp Mon Nov 4 00:42:32 2013
@@ -57,126 +57,132 @@
</div>
</div>
<script type="text/javascript">
-
+
//by James Padolsey
//http://james.padolsey.com/javascript/parsing-urls-with-the-dom/
function parseURL(url) {
- var a = document.createElement('a');
+ var a = document.createElement('a');
a.href = url;
return {
source: url,
- protocol: a.protocol.replace(':',''),
+ protocol: a.protocol.replace(':', ''),
host: a.hostname,
port: a.port,
query: a.search,
- params: (function(){
+ params: (function() {
var ret = {},
- seg = a.search.replace(/^\?/,'').split('&'),
- len = seg.length, i = 0, s;
- for (;i<len;i++) {
- if (!seg[i]) { continue; }
+ seg = a.search.replace(/^\?/, '').split('&'),
+ len = seg.length, i = 0, s;
+ for (; i < len; i++) {
+ if (!seg[i]) {
+ continue;
+ }
s = seg[i].split('=');
ret[s[0]] = s[1];
}
return ret;
})(),
- file: (a.pathname.match(/\/([^\/?#]+)$/i) || [,''])[1],
- hash: a.hash.replace('#',''),
- path: a.pathname.replace(/^([^\/])/,'/$1'),
- relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [,''])[1],
- segments: a.pathname.replace(/^\//,'').split('/')
+ file: (a.pathname.match(/\/([^\/?#]+)$/i) || [, ''])[1],
+ hash: a.hash.replace('#', ''),
+ path: a.pathname.replace(/^([^\/])/, '/$1'),
+ relative: (a.href.match(/tps?:\/\/[^\/]+(.+)/) || [, ''])[1],
+ segments: a.pathname.replace(/^\//, '').split('/')
};
}
-
+
//after is entered, fetch the wsdl, parse the key domain
-
+ var trigger1_triggered = false;
//considerations, if its an ip address? what about localhost
function trigger1()
{
- var l = parseURL($("#wsdlurl").val());
- $("#keydomain").val(l.host);
- $("#collapse1").collapse('hide');
- $("#collapse2").collapse('show');
+ if (!trigger1_triggered)
+ {
+ var l = parseURL($("#wsdlurl").val());
+ $("#keydomain").val(l.host);
+ $("#collapse1").collapse('hide');
+ $("#collapse2").collapse('show');
+ trigger1_triggered = true;
+ }
}
-
+
function save(preview)
{
var postbackdata = new Array();
- var url='ajax/importFromWsdl.jsp';
+ var url = 'ajax/importFromWsdl.jsp';
postbackdata.push({
- name:"nonce",
+ name: "nonce",
value: $("#nonce").val()
});
- if (preview){
+ if (preview) {
postbackdata.push({
- name:"formaction",
+ name: "formaction",
value: "preview"
});
}
else
{
postbackdata.push({
- name:"formaction",
+ name: "formaction",
value: "save"
});
}
postbackdata.push({
- name:"wsdlusername",
+ name: "wsdlusername",
value: $("#wsdlusername").val()
});
postbackdata.push({
- name:"wsdlpassword",
+ name: "wsdlpassword",
value: $("#wsdlpassword").val()
});
postbackdata.push({
- name:"wsdlurl",
+ name: "wsdlurl",
value: $("#wsdlurl").val()
});
- if($('#wsdlignoressl').is(':checked')) {
+ if ($('#wsdlignoressl').is(':checked')) {
postbackdata.push({
- name:"ignoressl",
+ name: "ignoressl",
value: true
});
}
else
{
postbackdata.push({
- name:"ignoressl",
+ name: "ignoressl",
value: false
- });
+ });
}
postbackdata.push({
- name:"businessname",
+ name: "businessname",
value: $("#businessname").val()
});
-
+
postbackdata.push({
- name:"keydomain",
+ name: "keydomain",
value: $("#keydomain").val()
});
-
-
-
-
- var request= $.ajax({
+
+
+
+
+ var request = $.ajax({
url: url,
- type:"POST",
+ type: "POST",
// dataType: "html",
- cache: false,
+ cache: false,
// processData: false,f
data: postbackdata
});
-
-
+
+
request.done(function(msg) {
- window.console && console.log('postback done ' + url);
+ window.console && console.log('postback done ' + url);
$("#preview").html(msg);
});
request.fail(function(jqXHR, textStatus) {
- window.console && console.log('postback failed ' + url);
+ window.console && console.log('postback failed ' + url);
$("#preview").html(jqXHR + textStatus);
-
+
});
}
@@ -209,23 +215,23 @@
<a href="javascript:loadBusinessModel();"><i class="icon-list-alt icon-large"></i> <%=ResourceLoader.GetResource(session, "items.picker")%></a>
<script type="text/javascript">
- function loadBusinessModel()
+ function loadBusinessModel()
+ {
+ reloadBusinessModal();
+ $.dialogBusiness.confirm({
+ callback: function(success, result) {
+ if (success)
{
- reloadBusinessModal();
- $.dialogBusiness.confirm({
- callback: function(success, result) {
- if (success)
- {
- for (var i=0;i<result.length;i++){
- $("#businessname").val(result[i]);
- //if ($("#keylist option[value='"+result[i]+"']").length == 0)
- //$("#keylist").append("<option value=\"" + result[i] + "\">" + result[i] + "</option>");
- }
-
- }
- }
- });
+ for (var i = 0; i < result.length; i++) {
+ $("#businessname").val(result[i]);
+ //if ($("#keylist option[value='"+result[i]+"']").length == 0)
+ //$("#keylist").append("<option value=\"" + result[i] + "\">" + result[i] + "</option>");
+ }
+
}
+ }
+ });
+ }
</script>
<input type="text" id="businessname" placeholder="Business Key or a new Business Name">
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org