Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Inline XML Schema stops expanding(WSDL and XML Schema viewing/editing)
Inline XML Schema stops expanding [message #503216] Fri, 11 December 2009 13:02 Go to next message
novum  is currently offline novum
Messages: 2
Registered: December 2009
Junior Member
Hi all,

I get some strange behavior when viewing an inline XML Schema. When I browse (in design mode) from WSDL request or response to the XML Schema elements I cannot expand the whole tree. The editor simply stops expanding at element BODYType of request and response (see attached WSDL). When looking in source mode there are clear sub elements.
I already tried the following:
- Validate the WSDL with WS-I test tools -> OK
- Extract the XML Schema from WSDL and then try to browse it. This works ok and I can expand further.

Of course I could extract the XML Schema from the WSDL, but I do not want to do this work for all WSDLs.

I am using WTP 3.1.1 in Eclipse 3.5.1

Any ideas?

Best regards,
Ferry

P.S. Sorry for attaching the WSDL in the message, but attaching it does not seem to work.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns=" http://xmlns.example.com/GenericSOAPGateway/Processes/Servic eImplementation/GetInformation.2.SOAPReceiver.serviceagent" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns0=" http://xmlns.example.com/fixed/GenericSOAPGateway/GetInforma tion.2" xmlns:ns1=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-secext-1.0.xsd" xmlns:ns2="http://xmlns.example.com/Common/LegalFormCode.xsd" xmlns:ns3="http://xmlns.example.com/Common/CurrencyCode.xsd" xmlns:ns4="http://xmlns.example.com/common/soap/ResultStatus.xsd" xmlns:ns5="http://www.w3.org/2000/09/xmldsig#" xmlns:ns6="http://xmlns.example.com/Common/ProductV2.xsd" xmlns:ns7=" http://xmlns.example.com/service/GetInformation/2.0/Response" xmlns:ns8=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-utility-1.0.xsd" xmlns:ns9="http://xmlns.example.com/service/GetInformation/2.0/Request" targetNamespace=" http://xmlns.example.com/GenericSOAPGateway/Processes/Servic eImplementation/GetInformation.2.SOAPReceiver.serviceagent">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.example.com/Common/LegalFormCode.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="type_LegalFormCode">
<xs:restriction base="xs:string">
<xs:enumeration value="00"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="05"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
<xs:enumeration value="12"/>
<xs:enumeration value="20"/>
<xs:enumeration value="21"/>
<xs:enumeration value="22"/>
<xs:enumeration value="23"/>
<xs:enumeration value="40"/>
<xs:enumeration value="41"/>
<xs:enumeration value="42"/>
<xs:enumeration value="50"/>
<xs:enumeration value="51"/>
<xs:enumeration value="52"/>
<xs:enumeration value="53"/>
<xs:enumeration value="54"/>
<xs:enumeration value="60"/>
<xs:enumeration value="61"/>
<xs:enumeration value="62"/>
<xs:enumeration value="63"/>
<xs:enumeration value="64"/>
<xs:enumeration value="65"/>
<xs:enumeration value="66"/>
<xs:enumeration value="70"/>
<xs:enumeration value="71"/>
<xs:enumeration value="72"/>
<xs:enumeration value="73"/>
<xs:enumeration value="74"/>
<xs:enumeration value="80"/>
<xs:enumeration value="81"/>
<xs:enumeration value="82"/>
<xs:enumeration value="83"/>
<xs:enumeration value="84"/>
<xs:enumeration value="85"/>
<xs:enumeration value="86"/>
<xs:enumeration value="90"/>
<xs:enumeration value="91"/>
<xs:enumeration value="92"/>
<xs:enumeration value="93"/>
<xs:enumeration value="94"/>
<xs:enumeration value="95"/>
<xs:enumeration value="96"/>
<xs:enumeration value="97"/>
<xs:enumeration value="BT"/>
<xs:enumeration value="KG"/>
<xs:enumeration value="MT"/>
<xs:enumeration value="NP"/>
<xs:enumeration value="PR"/>
<xs:enumeration value="SV"/>
<xs:enumeration value="VG"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en" targetNamespace="http://www.w3.org/XML/1998/namespace" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<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, xml:space or xml:id
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 . . .&gt;
. . .
&lt;import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;

Subsequently, qualified reference to any of the attributes
or the group defined below will have the desired effect, e.g.

&lt;type . . .&gt;
. . .
&lt;attributeGroup ref="xml:specialAttrs"/&gt;

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/2005/08/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/2005/08/xml.xsd will not change.
</xs:documentation>
</xs:annotation>
<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:attribute name="lang">
<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.

The union allows for the 'un-declaration' of xml:lang with
the empty string.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:union memberTypes="xs:language">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</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:attributeGroup name="specialAttrs">
<xs:attribute ref="xml:base"/>
<xs:attribute ref="xml:lang"/>
<xs:attribute ref="xml:space"/>
</xs:attributeGroup>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.example.com/Common/CurrencyCode.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="type_CurrencyCode">
<xs:restriction base="xs:string">
<xs:enumeration value="AED"/>
<xs:enumeration value="AFN"/>
<xs:enumeration value="ALL"/>
<xs:enumeration value="AMD"/>
<xs:enumeration value="ANG"/>
<xs:enumeration value="AOA"/>
<xs:enumeration value="ARS"/>
<xs:enumeration value="AUD"/>
<xs:enumeration value="AWG"/>
<xs:enumeration value="AZN"/>
<xs:enumeration value="BAM"/>
<xs:enumeration value="BBD"/>
<xs:enumeration value="BDT"/>
<xs:enumeration value="BGN"/>
<xs:enumeration value="BHD"/>
<xs:enumeration value="BIF"/>
<xs:enumeration value="BMD"/>
<xs:enumeration value="BND"/>
<xs:enumeration value="BOB"/>
<xs:enumeration value="BOV"/>
<xs:enumeration value="BRL"/>
<xs:enumeration value="BSD"/>
<xs:enumeration value="BTN"/>
<xs:enumeration value="BWP"/>
<xs:enumeration value="BYR"/>
<xs:enumeration value="BZD"/>
<xs:enumeration value="CAD"/>
<xs:enumeration value="CDF"/>
<xs:enumeration value="CHF"/>
<xs:enumeration value="CLF"/>
<xs:enumeration value="CLP"/>
<xs:enumeration value="CNY"/>
<xs:enumeration value="COP"/>
<xs:enumeration value="COU"/>
<xs:enumeration value="CRC"/>
<xs:enumeration value="CSD"/>
<xs:enumeration value="CUP"/>
<xs:enumeration value="CVE"/>
<xs:enumeration value="CYP"/>
<xs:enumeration value="CZK"/>
<xs:enumeration value="DJF"/>
<xs:enumeration value="DKK"/>
<xs:enumeration value="DOP"/>
<xs:enumeration value="DZD"/>
<xs:enumeration value="EEK"/>
<xs:enumeration value="EGP"/>
<xs:enumeration value="ERN"/>
<xs:enumeration value="ETB"/>
<xs:enumeration value="EUR"/>
<xs:enumeration value="FJD"/>
<xs:enumeration value="FKP"/>
<xs:enumeration value="GBP"/>
<xs:enumeration value="GEL"/>
<xs:enumeration value="GHC"/>
<xs:enumeration value="GIP"/>
<xs:enumeration value="GMD"/>
<xs:enumeration value="GNF"/>
<xs:enumeration value="GTQ"/>
<xs:enumeration value="GYD"/>
<xs:enumeration value="HKD"/>
<xs:enumeration value="HNL"/>
<xs:enumeration value="HRK"/>
<xs:enumeration value="HTG"/>
<xs:enumeration value="HUF"/>
<xs:enumeration value="IDR"/>
<xs:enumeration value="ILS"/>
<xs:enumeration value="INR"/>
<xs:enumeration value="IQD"/>
<xs:enumeration value="IRR"/>
<xs:enumeration value="ISK"/>
<xs:enumeration value="JMD"/>
<xs:enumeration value="JOD"/>
<xs:enumeration value="JPY"/>
<xs:enumeration value="KES"/>
<xs:enumeration value="KGS"/>
<xs:enumeration value="KHR"/>
<xs:enumeration value="KMF"/>
<xs:enumeration value="KPW"/>
<xs:enumeration value="KRW"/>
<xs:enumeration value="KWD"/>
<xs:enumeration value="KYD"/>
<xs:enumeration value="KZT"/>
<xs:enumeration value="LAK"/>
<xs:enumeration value="LBP"/>
<xs:enumeration value="LKR"/>
<xs:enumeration value="LRD"/>
<xs:enumeration value="LSL"/>
<xs:enumeration value="LTL"/>
<xs:enumeration value="LVL"/>
<xs:enumeration value="LYD"/>
<xs:enumeration value="MAD"/>
<xs:enumeration value="MDL"/>
<xs:enumeration value="MGA"/>
<xs:enumeration value="MKD"/>
<xs:enumeration value="MMK"/>
<xs:enumeration value="MNT"/>
<xs:enumeration value="MOP"/>
<xs:enumeration value="MRO"/>
<xs:enumeration value="MTL"/>
<xs:enumeration value="MUR"/>
<xs:enumeration value="MVR"/>
<xs:enumeration value="MWK"/>
<xs:enumeration value="MXN"/>
<xs:enumeration value="MXV"/>
<xs:enumeration value="MYR"/>
<xs:enumeration value="MZM"/>
<xs:enumeration value="NAD"/>
<xs:enumeration value="NGN"/>
<xs:enumeration value="NIO"/>
<xs:enumeration value="NOK"/>
<xs:enumeration value="NPR"/>
<xs:enumeration value="NZD"/>
<xs:enumeration value="OMR"/>
<xs:enumeration value="PAB"/>
<xs:enumeration value="PEN"/>
<xs:enumeration value="PGK"/>
<xs:enumeration value="PHP"/>
<xs:enumeration value="PKR"/>
<xs:enumeration value="PLN"/>
<xs:enumeration value="PYG"/>
<xs:enumeration value="QAR"/>
<xs:enumeration value="RON"/>
<xs:enumeration value="RUB"/>
<xs:enumeration value="RWF"/>
<xs:enumeration value="SAR"/>
<xs:enumeration value="SBD"/>
<xs:enumeration value="SCR"/>
<xs:enumeration value="SDD"/>
<xs:enumeration value="SEK"/>
<xs:enumeration value="SGD"/>
<xs:enumeration value="SHP"/>
<xs:enumeration value="SIT"/>
<xs:enumeration value="SKK"/>
<xs:enumeration value="SLL"/>
<xs:enumeration value="SOS"/>
<xs:enumeration value="SRD"/>
<xs:enumeration value="STD"/>
<xs:enumeration value="SYP"/>
<xs:enumeration value="SZL"/>
<xs:enumeration value="THB"/>
<xs:enumeration value="TJS"/>
<xs:enumeration value="TMM"/>
<xs:enumeration value="TND"/>
<xs:enumeration value="TOP"/>
<xs:enumeration value="TRY"/>
<xs:enumeration value="TTD"/>
<xs:enumeration value="TWD"/>
<xs:enumeration value="TZS"/>
<xs:enumeration value="UAH"/>
<xs:enumeration value="UGX"/>
<xs:enumeration value="USD"/>
<xs:enumeration value="UYU"/>
<xs:enumeration value="UZS"/>
<xs:enumeration value="VEB"/>
<xs:enumeration value="VND"/>
<xs:enumeration value="VUV"/>
<xs:enumeration value="WST"/>
<xs:enumeration value="XAF"/>
<xs:enumeration value="XAG"/>
<xs:enumeration value="XAU"/>
<xs:enumeration value="XBA"/>
<xs:enumeration value="XBB"/>
<xs:enumeration value="XBC"/>
<xs:enumeration value="XBD"/>
<xs:enumeration value="XCD"/>
<xs:enumeration value="XDR"/>
<xs:enumeration value="XFO"/>
<xs:enumeration value="XFU"/>
<xs:enumeration value="XOF"/>
<xs:enumeration value="XPD"/>
<xs:enumeration value="XPF"/>
<xs:enumeration value="XPT"/>
<xs:enumeration value="XTS"/>
<xs:enumeration value="XXX"/>
<xs:enumeration value="YER"/>
<xs:enumeration value="ZAR"/>
<xs:enumeration value="ZMK"/>
<xs:enumeration value="ZWD"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<xsd:schema xmlns="http://xmlns.example.com/common/soap/ResultStatus.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.example.com/common/soap/ResultStatus.xsd" version="1.1" elementFormDefault="qualified" attributeFormDefault="qualified">
<xsd:complexType name="ResultStatus">
<xsd:sequence>
<xsd:element name="STATUS_CODE" type="xsd:integer"/>
<xsd:element name="ERROR_CODE" type="xsd:string" minOccurs="0"/>
<xsd:element name="ERROR_DESCRIPTION" type="xsd:string" minOccurs="0"/>
<xsd:element name="ERROR_PARAMS" type="xsd:string" minOccurs="0"/>
<xsd:element name="APPLICATION_ERROR_CODE" type="xsd:string" minOccurs="0"/>
<xsd:element name="APPLICATION_ERROR_DESCRIPTION" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="" finalDefault="">
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any minOccurs="0" maxOccurs="unbounded" processContents="strict" namespace="##any"/>
</sequence>
<attribute name="Algorithm" use="required" type="anyURI"/>
</complexType>
<simpleType name="CryptoBinary">
<restriction base="base64Binary"/>
</simpleType>
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary"/>
<element name="Q" type="ds:CryptoBinary"/>
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
<element name="Y" type="ds:CryptoBinary"/>
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary"/>
<element name="PgenCounter" type="ds:CryptoBinary"/>
</sequence>
</sequence>
</complexType>
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/>
</sequence>
<attribute name="Algorithm" use="required" type="anyURI"/>
</complexType>
<simpleType name="DigestValueType">
<restriction base="base64Binary"/>
</simpleType>
<simpleType name="HMACOutputLengthType">
<restriction base="integer"/>
</simpleType>
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName"/>
<element ref="ds:KeyValue"/>
<element ref="ds:MgmtData"/>
<element ref="ds:PGPData"/>
<element ref="ds:RetrievalMethod"/>
<element ref="ds:SPKIData"/>
<element ref="ds:X509Data"/>
<any processContents="lax" namespace="##other"/>
</choice>
<attribute name="Id" type="ID"/>
</complexType>
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue"/>
<element ref="ds:RSAKeyValue"/>
<any processContents="lax" namespace="##other"/>
</choice>
</complexType>
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID"/>
</complexType>
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any processContents="lax" namespace="##any"/>
</sequence>
<attribute name="Encoding" type="anyURI"/>
<attribute name="Id" type="ID"/>
<attribute name="MimeType" type="string"/>
</complexType>
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary"/>
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
<any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/>
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary"/>
<any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/>
</sequence>
</choice>
</complexType>
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary"/>
<element name="Exponent" type="ds:CryptoBinary"/>
</sequence>
</complexType>
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0"/>
<element ref="ds:DigestMethod"/>
<element ref="ds:DigestValue"/>
</sequence>
<attribute name="Id" type="ID"/>
<attribute name="Type" type="anyURI"/>
<attribute name="URI" type="anyURI"/>
</complexType>
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0"/>
</sequence>
<attribute name="Type" type="anyURI"/>
<attribute name="URI" type="anyURI"/>
</complexType>
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary"/>
<any minOccurs="0" processContents="lax" namespace="##other"/>
</sequence>
</complexType>
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0"/>
<any minOccurs="0" maxOccurs="unbounded" processContents="strict" namespace="##other"/>
</sequence>
<attribute name="Algorithm" use="required" type="anyURI"/>
</complexType>
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID"/>
</complexType>
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any processContents="lax" namespace="##other"/>
</choice>
<attribute name="Id" type="ID"/>
<attribute name="Target" use="required" type="anyURI"/>
</complexType>
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo"/>
<element ref="ds:SignatureValue"/>
<element ref="ds:KeyInfo" minOccurs="0"/>
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID"/>
</complexType>
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID"/>
</extension>
</simpleContent>
</complexType>
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod"/>
<element ref="ds:SignatureMethod"/>
<element ref="ds:Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="ID"/>
</complexType>
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<element name="XPath" type="string"/>
<any processContents="lax" namespace="##other"/>
</choice>
<attribute name="Algorithm" use="required" type="anyURI"/>
</complexType>
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509CRL" type="base64Binary"/>
<element name="X509Certificate" type="base64Binary"/>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
<element name="X509SKI" type="base64Binary"/>
<element name="X509SubjectName" type="string"/>
<any processContents="lax" namespace="##other"/>
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string"/>
<element name="X509SerialNumber" type="integer"/>
</sequence>
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
<element name="DigestMethod" type="ds:DigestMethodType"/>
<element name="DigestValue" type="ds:DigestValueType"/>
<element name="KeyInfo" type="ds:KeyInfoType"/>
<element name="KeyName" type="string"/>
<element name="KeyValue" type="ds:KeyValueType"/>
<element name="Manifest" type="ds:ManifestType"/>
<element name="MgmtData" type="string"/>
<element name="Object" type="ds:ObjectType"/>
<element name="PGPData" type="ds:PGPDataType"/>
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
<element name="Reference" type="ds:ReferenceType"/>
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
<element name="SPKIData" type="ds:SPKIDataType"/>
<element name="Signature" type="ds:SignatureType"/>
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<element name="SignatureValue" type="ds:SignatureValueType"/>
<element name="SignedInfo" type="ds:SignedInfoType"/>
<element name="Transform" type="ds:TransformType"/>
<element name="Transforms" type="ds:TransformsType"/>
<element name="X509Data" type="ds:X509DataType"/>
</schema>
<xs:schema xmlns:c="http://xmlns.example.com/Common/CurrencyCode.xsd" xmlns="http://xmlns.example.com/Common/ProductV2.xsd" xmlns:l="http://xmlns.example.com/Common/LegalFormCode.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.example.com/Common/ProductV2.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://xmlns.example.com/Common/LegalFormCode.xsd"/>
<xs:import namespace="http://xmlns.example.com/Common/CurrencyCode.xsd"/>
<xs:complexType name="type_ProductV2">
<xs:sequence>
<xs:element name="PRODUCT_INSTANCE_ID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRODUCT_NAME" type="xs:string" minOccurs="0"/>
<xs:element name="QUANTITY" type="xs:string" minOccurs="0"/>
<xs:element name="SERVICE_ID" type="xs:string" minOccurs="0"/>
<xs:element name="MONTHLY_RECURRING_CHARGE" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CURRENCY_CODE" default="EUR" type="c:type_CurrencyCode"/>
<xs:element name="AMOUNT" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ONE_TIME_CHARGE" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CURRENCY_CODE" default="EUR" type="c:type_CurrencyCode"/>
<xs:element name="AMOUNT" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PRODUCT_PARAMETER" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="NAME" type="xs:string"/>
<xs:element name="VALUE" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PARTY_ROLE_PRODUCT_INVOLVEMENT" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="PRODUCT_INVOLVEMENT_ROLE">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Contractor"/>
<xs:enumeration value="Billing Agent"/>
<xs:enumeration value="User"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PARTY_ROLE">
<xs:complexType>
<xs:sequence>
<xs:element name="PRIVACY_SETTING" type="xs:string" minOccurs="0"/>
<xs:element name="PARTY_ROLE_ID" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z,0-9]{8}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PARTY">
<xs:complexType>
<xs:sequence>
<xs:element name="FULL_PARTY_NAME" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PARTY_ID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LEGAL_FORM_CODE" default="VG" type="l:type_LegalFormCode" minOccurs="0"/>
<xs:element name="IS_INTERNAL" type="xs:boolean" minOccurs="0"/>
<xs:element name="PRICE_LIST" type="xs:string" minOccurs="0"/>
<xs:element name="CONTACT_PERSON" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="LAST_NAME" type="xs:string"/>
<xs:element name="FIRST_NAME" type="xs:string" minOccurs="0"/>
<xs:element name="MIDDLE_NAME" type="xs:string" minOccurs="0"/>
<xs:element name="PRIMARY_CONTACT_ROLE" type="xs:string"/>
<xs:element name="GENDER" type="xs:string" minOccurs="0"/>
<xs:element name="TITLE" type="xs:string" minOccurs="0"/>
<xs:element name="EMAIL_ADDRESS" type="xs:string" minOccurs="0"/>
<xs:element name="VALIDITY_PERIOD" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="FROM" type="xs:dateTime"/>
<xs:element name="UNTIL" type="xs:dateTime" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="WORK_NUMBER" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="UNFORMATTED">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="FAX_NUMBER" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="UNFORMATTED">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="MOBILE_NUMBER" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="UNFORMATTED">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Re: Inline XML Schema stops expanding [message #503246 is a reply to message #503216] Fri, 11 December 2009 15:15 Go to previous messageGo to next message
Valentin is currently offline Valentin
Messages: 36
Registered: July 2009
Member
Hi Ferry, unfortunately your post does not contain the entire WSDL document.
If you can, perhaps try to paste a smaller relevant example?
Alternatively, open a bug against WebTools Web Services wst.wsdl. You should
be able to attach a sample project there.

Valentin

"novum" <bergfvd+eclipse@gmail.com> wrote in message
news:hftft5$39h$1@build.eclipse.org...
> Hi all,
>
> I get some strange behavior when viewing an inline XML Schema. When I
> browse (in design mode) from WSDL request or response to the XML Schema
> elements I cannot expand the whole tree. The editor simply stops expanding
> at element BODYType of request and response (see attached WSDL). When
> looking in source mode there are clear sub elements.
> I already tried the following:
> - Validate the WSDL with WS-I test tools -> OK
> - Extract the XML Schema from WSDL and then try to browse it. This works
> ok and I can expand further.
>
> Of course I could extract the XML Schema from the WSDL, but I do not want
> to do this work for all WSDLs.
>
> I am using WTP 3.1.1 in Eclipse 3.5.1
>
> Any ideas?
>
> Best regards,
> Ferry
>
> P.S. Sorry for attaching the WSDL in the message, but attaching it does
> not seem to work.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:tns=" http://xmlns.example.com/GenericSOAPGateway/Processes/Servic eImplementation/GetInformation.2.SOAPReceiver.serviceagent"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:ns0=" http://xmlns.example.com/fixed/GenericSOAPGateway/GetInforma tion.2"
> xmlns:ns1=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-secext-1.0.xsd"
> xmlns:ns2="http://xmlns.example.com/Common/LegalFormCode.xsd"
> xmlns:ns3="http://xmlns.example.com/Common/CurrencyCode.xsd"
> xmlns:ns4="http://xmlns.example.com/common/soap/ResultStatus.xsd"
> xmlns:ns5="http://www.w3.org/2000/09/xmldsig#"
> xmlns:ns6="http://xmlns.example.com/Common/ProductV2.xsd"
> xmlns:ns7=" http://xmlns.example.com/service/GetInformation/2.0/Response"
> xmlns:ns8=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse curity-utility-1.0.xsd"
> xmlns:ns9="http://xmlns.example.com/service/GetInformation/2.0/Request"
> targetNamespace=" http://xmlns.example.com/GenericSOAPGateway/Processes/Servic eImplementation/GetInformation.2.SOAPReceiver.serviceagent">
> <wsdl:types>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xmlns.example.com/Common/LegalFormCode.xsd"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> <xs:simpleType name="type_LegalFormCode">
> <xs:restriction base="xs:string">
> <xs:enumeration value="00"/>
> <xs:enumeration value="01"/>
> <xs:enumeration value="02"/>
> <xs:enumeration value="03"/>
> <xs:enumeration value="05"/>
> <xs:enumeration value="10"/>
> <xs:enumeration value="11"/>
> <xs:enumeration value="12"/>
> <xs:enumeration value="20"/>
> <xs:enumeration value="21"/>
> <xs:enumeration value="22"/>
> <xs:enumeration value="23"/>
> <xs:enumeration value="40"/>
> <xs:enumeration value="41"/>
> <xs:enumeration value="42"/>
> <xs:enumeration value="50"/>
> <xs:enumeration value="51"/>
> <xs:enumeration value="52"/>
> <xs:enumeration value="53"/>
> <xs:enumeration value="54"/>
> <xs:enumeration value="60"/>
> <xs:enumeration value="61"/>
> <xs:enumeration value="62"/>
> <xs:enumeration value="63"/>
> <xs:enumeration value="64"/>
> <xs:enumeration value="65"/>
> <xs:enumeration value="66"/>
> <xs:enumeration value="70"/>
> <xs:enumeration value="71"/>
> <xs:enumeration value="72"/>
> <xs:enumeration value="73"/>
> <xs:enumeration value="74"/>
> <xs:enumeration value="80"/>
> <xs:enumeration value="81"/>
> <xs:enumeration value="82"/>
> <xs:enumeration value="83"/>
> <xs:enumeration value="84"/>
> <xs:enumeration value="85"/>
> <xs:enumeration value="86"/>
> <xs:enumeration value="90"/>
> <xs:enumeration value="91"/>
> <xs:enumeration value="92"/>
> <xs:enumeration value="93"/>
> <xs:enumeration value="94"/>
> <xs:enumeration value="95"/>
> <xs:enumeration value="96"/>
> <xs:enumeration value="97"/>
> <xs:enumeration value="BT"/>
> <xs:enumeration value="KG"/>
> <xs:enumeration value="MT"/>
> <xs:enumeration value="NP"/>
> <xs:enumeration value="PR"/>
> <xs:enumeration value="SV"/>
> <xs:enumeration value="VG"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:schema>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xml:lang="en" targetNamespace="http://www.w3.org/XML/1998/namespace"
> elementFormDefault="unqualified" attributeFormDefault="unqualified">
> <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, xml:space or xml:id
> attributes on elements they define.
>
> To enable this, such a schema must import this schema
> for the XML namespace, e.g. as follows:
> <schema . . .>
> . . .
> <import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="http://www.w3.org/2001/xml.xsd"/>
>
> Subsequently, qualified reference to any of the attributes
> or the group defined below will have the desired effect, e.g.
>
> <type . . .>
> . . .
> <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/2005/08/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/2005/08/xml.xsd will not change.
> </xs:documentation>
> </xs:annotation>
> <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:attribute name="lang">
> <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.
>
> The union allows for the 'un-declaration' of xml:lang with
> the empty string.</xs:documentation>
> </xs:annotation>
> <xs:simpleType>
> <xs:union memberTypes="xs:language">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:enumeration value=""/>
> </xs:restriction>
> </xs:simpleType>
> </xs:union>
> </xs:simpleType>
> </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:attributeGroup name="specialAttrs">
> <xs:attribute ref="xml:base"/>
> <xs:attribute ref="xml:lang"/>
> <xs:attribute ref="xml:space"/>
> </xs:attributeGroup>
> </xs:schema>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xmlns.example.com/Common/CurrencyCode.xsd"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> <xs:simpleType name="type_CurrencyCode">
> <xs:restriction base="xs:string">
> <xs:enumeration value="AED"/>
> <xs:enumeration value="AFN"/>
> <xs:enumeration value="ALL"/>
> <xs:enumeration value="AMD"/>
> <xs:enumeration value="ANG"/>
> <xs:enumeration value="AOA"/>
> <xs:enumeration value="ARS"/>
> <xs:enumeration value="AUD"/>
> <xs:enumeration value="AWG"/>
> <xs:enumeration value="AZN"/>
> <xs:enumeration value="BAM"/>
> <xs:enumeration value="BBD"/>
> <xs:enumeration value="BDT"/>
> <xs:enumeration value="BGN"/>
> <xs:enumeration value="BHD"/>
> <xs:enumeration value="BIF"/>
> <xs:enumeration value="BMD"/>
> <xs:enumeration value="BND"/>
> <xs:enumeration value="BOB"/>
> <xs:enumeration value="BOV"/>
> <xs:enumeration value="BRL"/>
> <xs:enumeration value="BSD"/>
> <xs:enumeration value="BTN"/>
> <xs:enumeration value="BWP"/>
> <xs:enumeration value="BYR"/>
> <xs:enumeration value="BZD"/>
> <xs:enumeration value="CAD"/>
> <xs:enumeration value="CDF"/>
> <xs:enumeration value="CHF"/>
> <xs:enumeration value="CLF"/>
> <xs:enumeration value="CLP"/>
> <xs:enumeration value="CNY"/>
> <xs:enumeration value="COP"/>
> <xs:enumeration value="COU"/>
> <xs:enumeration value="CRC"/>
> <xs:enumeration value="CSD"/>
> <xs:enumeration value="CUP"/>
> <xs:enumeration value="CVE"/>
> <xs:enumeration value="CYP"/>
> <xs:enumeration value="CZK"/>
> <xs:enumeration value="DJF"/>
> <xs:enumeration value="DKK"/>
> <xs:enumeration value="DOP"/>
> <xs:enumeration value="DZD"/>
> <xs:enumeration value="EEK"/>
> <xs:enumeration value="EGP"/>
> <xs:enumeration value="ERN"/>
> <xs:enumeration value="ETB"/>
> <xs:enumeration value="EUR"/>
> <xs:enumeration value="FJD"/>
> <xs:enumeration value="FKP"/>
> <xs:enumeration value="GBP"/>
> <xs:enumeration value="GEL"/>
> <xs:enumeration value="GHC"/>
> <xs:enumeration value="GIP"/>
> <xs:enumeration value="GMD"/>
> <xs:enumeration value="GNF"/>
> <xs:enumeration value="GTQ"/>
> <xs:enumeration value="GYD"/>
> <xs:enumeration value="HKD"/>
> <xs:enumeration value="HNL"/>
> <xs:enumeration value="HRK"/>
> <xs:enumeration value="HTG"/>
> <xs:enumeration value="HUF"/>
> <xs:enumeration value="IDR"/>
> <xs:enumeration value="ILS"/>
> <xs:enumeration value="INR"/>
> <xs:enumeration value="IQD"/>
> <xs:enumeration value="IRR"/>
> <xs:enumeration value="ISK"/>
> <xs:enumeration value="JMD"/>
> <xs:enumeration value="JOD"/>
> <xs:enumeration value="JPY"/>
> <xs:enumeration value="KES"/>
> <xs:enumeration value="KGS"/>
> <xs:enumeration value="KHR"/>
> <xs:enumeration value="KMF"/>
> <xs:enumeration value="KPW"/>
> <xs:enumeration value="KRW"/>
> <xs:enumeration value="KWD"/>
> <xs:enumeration value="KYD"/>
> <xs:enumeration value="KZT"/>
> <xs:enumeration value="LAK"/>
> <xs:enumeration value="LBP"/>
> <xs:enumeration value="LKR"/>
> <xs:enumeration value="LRD"/>
> <xs:enumeration value="LSL"/>
> <xs:enumeration value="LTL"/>
> <xs:enumeration value="LVL"/>
> <xs:enumeration value="LYD"/>
> <xs:enumeration value="MAD"/>
> <xs:enumeration value="MDL"/>
> <xs:enumeration value="MGA"/>
> <xs:enumeration value="MKD"/>
> <xs:enumeration value="MMK"/>
> <xs:enumeration value="MNT"/>
> <xs:enumeration value="MOP"/>
> <xs:enumeration value="MRO"/>
> <xs:enumeration value="MTL"/>
> <xs:enumeration value="MUR"/>
> <xs:enumeration value="MVR"/>
> <xs:enumeration value="MWK"/>
> <xs:enumeration value="MXN"/>
> <xs:enumeration value="MXV"/>
> <xs:enumeration value="MYR"/>
> <xs:enumeration value="MZM"/>
> <xs:enumeration value="NAD"/>
> <xs:enumeration value="NGN"/>
> <xs:enumeration value="NIO"/>
> <xs:enumeration value="NOK"/>
> <xs:enumeration value="NPR"/>
> <xs:enumeration value="NZD"/>
> <xs:enumeration value="OMR"/>
> <xs:enumeration value="PAB"/>
> <xs:enumeration value="PEN"/>
> <xs:enumeration value="PGK"/>
> <xs:enumeration value="PHP"/>
> <xs:enumeration value="PKR"/>
> <xs:enumeration value="PLN"/>
> <xs:enumeration value="PYG"/>
> <xs:enumeration value="QAR"/>
> <xs:enumeration value="RON"/>
> <xs:enumeration value="RUB"/>
> <xs:enumeration value="RWF"/>
> <xs:enumeration value="SAR"/>
> <xs:enumeration value="SBD"/>
> <xs:enumeration value="SCR"/>
> <xs:enumeration value="SDD"/>
> <xs:enumeration value="SEK"/>
> <xs:enumeration value="SGD"/>
> <xs:enumeration value="SHP"/>
> <xs:enumeration value="SIT"/>
> <xs:enumeration value="SKK"/>
> <xs:enumeration value="SLL"/>
> <xs:enumeration value="SOS"/>
> <xs:enumeration value="SRD"/>
> <xs:enumeration value="STD"/>
> <xs:enumeration value="SYP"/>
> <xs:enumeration value="SZL"/>
> <xs:enumeration value="THB"/>
> <xs:enumeration value="TJS"/>
> <xs:enumeration value="TMM"/>
> <xs:enumeration value="TND"/>
> <xs:enumeration value="TOP"/>
> <xs:enumeration value="TRY"/>
> <xs:enumeration value="TTD"/>
> <xs:enumeration value="TWD"/>
> <xs:enumeration value="TZS"/>
> <xs:enumeration value="UAH"/>
> <xs:enumeration value="UGX"/>
> <xs:enumeration value="USD"/>
> <xs:enumeration value="UYU"/>
> <xs:enumeration value="UZS"/>
> <xs:enumeration value="VEB"/>
> <xs:enumeration value="VND"/>
> <xs:enumeration value="VUV"/>
> <xs:enumeration value="WST"/>
> <xs:enumeration value="XAF"/>
> <xs:enumeration value="XAG"/>
> <xs:enumeration value="XAU"/>
> <xs:enumeration value="XBA"/>
> <xs:enumeration value="XBB"/>
> <xs:enumeration value="XBC"/>
> <xs:enumeration value="XBD"/>
> <xs:enumeration value="XCD"/>
> <xs:enumeration value="XDR"/>
> <xs:enumeration value="XFO"/>
> <xs:enumeration value="XFU"/>
> <xs:enumeration value="XOF"/>
> <xs:enumeration value="XPD"/>
> <xs:enumeration value="XPF"/>
> <xs:enumeration value="XPT"/>
> <xs:enumeration value="XTS"/>
> <xs:enumeration value="XXX"/>
> <xs:enumeration value="YER"/>
> <xs:enumeration value="ZAR"/>
> <xs:enumeration value="ZMK"/>
> <xs:enumeration value="ZWD"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:schema>
> <xsd:schema
> xmlns="http://xmlns.example.com/common/soap/ResultStatus.xsd"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xmlns.example.com/common/soap/ResultStatus.xsd"
> version="1.1" elementFormDefault="qualified"
> attributeFormDefault="qualified">
> <xsd:complexType name="ResultStatus">
> <xsd:sequence>
> <xsd:element name="STATUS_CODE" type="xsd:integer"/>
> <xsd:element name="ERROR_CODE" type="xsd:string"
> minOccurs="0"/>
> <xsd:element name="ERROR_DESCRIPTION" type="xsd:string"
> minOccurs="0"/>
> <xsd:element name="ERROR_PARAMS" type="xsd:string"
> minOccurs="0"/>
> <xsd:element name="APPLICATION_ERROR_CODE"
> type="xsd:string" minOccurs="0"/>
> <xsd:element name="APPLICATION_ERROR_DESCRIPTION"
> type="xsd:string" minOccurs="0"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
> targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1"
> elementFormDefault="qualified" attributeFormDefault="unqualified"
> blockDefault="" finalDefault="">
> <complexType name="CanonicalizationMethodType" mixed="true">
> <sequence>
> <any minOccurs="0" maxOccurs="unbounded"
> processContents="strict" namespace="##any"/>
> </sequence>
> <attribute name="Algorithm" use="required" type="anyURI"/>
> </complexType>
> <simpleType name="CryptoBinary">
> <restriction base="base64Binary"/>
> </simpleType>
> <complexType name="DSAKeyValueType">
> <sequence>
> <sequence minOccurs="0">
> <element name="P" type="ds:CryptoBinary"/>
> <element name="Q" type="ds:CryptoBinary"/>
> </sequence>
> <element name="G" type="ds:CryptoBinary"
> minOccurs="0"/>
> <element name="Y" type="ds:CryptoBinary"/>
> <element name="J" type="ds:CryptoBinary"
> minOccurs="0"/>
> <sequence minOccurs="0">
> <element name="Seed" type="ds:CryptoBinary"/>
> <element name="PgenCounter"
> type="ds:CryptoBinary"/>
> </sequence>
> </sequence>
> </complexType>
> <complexType name="DigestMethodType" mixed="true">
> <sequence>
> <any minOccurs="0" maxOccurs="unbounded"
> processContents="lax" namespace="##other"/>
> </sequence>
> <attribute name="Algorithm" use="required" type="anyURI"/>
> </complexType>
> <simpleType name="DigestValueType">
> <restriction base="base64Binary"/>
> </simpleType>
> <simpleType name="HMACOutputLengthType">
> <restriction base="integer"/>
> </simpleType>
> <complexType name="KeyInfoType" mixed="true">
> <choice maxOccurs="unbounded">
> <element ref="ds:KeyName"/>
> <element ref="ds:KeyValue"/>
> <element ref="ds:MgmtData"/>
> <element ref="ds:PGPData"/>
> <element ref="ds:RetrievalMethod"/>
> <element ref="ds:SPKIData"/>
> <element ref="ds:X509Data"/>
> <any processContents="lax" namespace="##other"/>
> </choice>
> <attribute name="Id" type="ID"/>
> </complexType>
> <complexType name="KeyValueType" mixed="true">
> <choice>
> <element ref="ds:DSAKeyValue"/>
> <element ref="ds:RSAKeyValue"/>
> <any processContents="lax" namespace="##other"/>
> </choice>
> </complexType>
> <complexType name="ManifestType">
> <sequence>
> <element ref="ds:Reference" maxOccurs="unbounded"/>
> </sequence>
> <attribute name="Id" type="ID"/>
> </complexType>
> <complexType name="ObjectType" mixed="true">
> <sequence minOccurs="0" maxOccurs="unbounded">
> <any processContents="lax" namespace="##any"/>
> </sequence>
> <attribute name="Encoding" type="anyURI"/>
> <attribute name="Id" type="ID"/>
> <attribute name="MimeType" type="string"/>
> </complexType>
> <complexType name="PGPDataType">
> <choice>
> <sequence>
> <element name="PGPKeyID" type="base64Binary"/>
> <element name="PGPKeyPacket" type="base64Binary"
> minOccurs="0"/>
> <any minOccurs="0" maxOccurs="unbounded"
> processContents="lax" namespace="##other"/>
> </sequence>
> <sequence>
> <element name="PGPKeyPacket" type="base64Binary"/>
> <any minOccurs="0" maxOccurs="unbounded"
> processContents="lax" namespace="##other"/>
> </sequence>
> </choice>
> </complexType>
> <complexType name="RSAKeyValueType">
> <sequence>
> <element name="Modulus" type="ds:CryptoBinary"/>
> <element name="Exponent" type="ds:CryptoBinary"/>
> </sequence>
> </complexType>
> <complexType name="ReferenceType">
> <sequence>
> <element ref="ds:Transforms" minOccurs="0"/>
> <element ref="ds:DigestMethod"/>
> <element ref="ds:DigestValue"/>
> </sequence>
> <attribute name="Id" type="ID"/>
> <attribute name="Type" type="anyURI"/>
> <attribute name="URI" type="anyURI"/>
> </complexType>
> <complexType name="RetrievalMethodType">
> <sequence>
> <element ref="ds:Transforms" minOccurs="0"/>
> </sequence>
> <attribute name="Type" type="anyURI"/>
> <attribute name="URI" type="anyURI"/>
> </complexType>
> <complexType name="SPKIDataType">
> <sequence maxOccurs="unbounded">
> <element name="SPKISexp" type="base64Binary"/>
> <any minOccurs="0" processContents="lax"
> namespace="##other"/>
> </sequence>
> </complexType>
> <complexType name="SignatureMethodType" mixed="true">
> <sequence>
> <element name="HMACOutputLength"
> type="ds:HMACOutputLengthType" minOccurs="0"/>
> <any minOccurs="0" maxOccurs="unbounded"
> processContents="strict" namespace="##other"/>
> </sequence>
> <attribute name="Algorithm" use="required" type="anyURI"/>
> </complexType>
> <complexType name="SignaturePropertiesType">
> <sequence>
> <element ref="ds:SignatureProperty"
> maxOccurs="unbounded"/>
> </sequence>
> <attribute name="Id" type="ID"/>
> </complexType>
> <complexType name="SignaturePropertyType" mixed="true">
> <choice maxOccurs="unbounded">
> <any processContents="lax" namespace="##other"/>
> </choice>
> <attribute name="Id" type="ID"/>
> <attribute name="Target" use="required" type="anyURI"/>
> </complexType>
> <complexType name="SignatureType">
> <sequence>
> <element ref="ds:SignedInfo"/>
> <element ref="ds:SignatureValue"/>
> <element ref="ds:KeyInfo" minOccurs="0"/>
> <element ref="ds:Object" minOccurs="0"
> maxOccurs="unbounded"/>
> </sequence>
> <attribute name="Id" type="ID"/>
> </complexType>
> <complexType name="SignatureValueType">
> <simpleContent>
> <extension base="base64Binary">
> <attribute name="Id" type="ID"/>
> </extension>
> </simpleContent>
> </complexType>
> <complexType name="SignedInfoType">
> <sequence>
> <element ref="ds:CanonicalizationMethod"/>
> <element ref="ds:SignatureMethod"/>
> <element ref="ds:Reference" maxOccurs="unbounded"/>
> </sequence>
> <attribute name="Id" type="ID"/>
> </complexType>
> <complexType name="TransformType" mixed="true">
> <choice minOccurs="0" maxOccurs="unbounded">
> <element name="XPath" type="string"/>
> <any processContents="lax" namespace="##other"/>
> </choice>
> <attribute name="Algorithm" use="required" type="anyURI"/>
> </complexType>
> <complexType name="TransformsType">
> <sequence>
> <element ref="ds:Transform" maxOccurs="unbounded"/>
> </sequence>
> </complexType>
> <complexType name="X509DataType">
> <sequence maxOccurs="unbounded">
> <choice>
> <element name="X509CRL" type="base64Binary"/>
> <element name="X509Certificate"
> type="base64Binary"/>
> <element name="X509IssuerSerial"
> type="ds:X509IssuerSerialType"/>
> <element name="X509SKI" type="base64Binary"/>
> <element name="X509SubjectName" type="string"/>
> <any processContents="lax" namespace="##other"/>
> </choice>
> </sequence>
> </complexType>
> <complexType name="X509IssuerSerialType">
> <sequence>
> <element name="X509IssuerName" type="string"/>
> <element name="X509SerialNumber" type="integer"/>
> </sequence>
> </complexType>
> <element name="CanonicalizationMethod"
> type="ds:CanonicalizationMethodType"/>
> <element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
> <element name="DigestMethod" type="ds:DigestMethodType"/>
> <element name="DigestValue" type="ds:DigestValueType"/>
> <element name="KeyInfo" type="ds:KeyInfoType"/>
> <element name="KeyName" type="string"/>
> <element name="KeyValue" type="ds:KeyValueType"/>
> <element name="Manifest" type="ds:ManifestType"/>
> <element name="MgmtData" type="string"/>
> <element name="Object" type="ds:ObjectType"/>
> <element name="PGPData" type="ds:PGPDataType"/>
> <element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
> <element name="Reference" type="ds:ReferenceType"/>
> <element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
> <element name="SPKIData" type="ds:SPKIDataType"/>
> <element name="Signature" type="ds:SignatureType"/>
> <element name="SignatureMethod" type="ds:SignatureMethodType"/>
> <element name="SignatureProperties"
> type="ds:SignaturePropertiesType"/>
> <element name="SignatureProperty"
> type="ds:SignaturePropertyType"/>
> <element name="SignatureValue" type="ds:SignatureValueType"/>
> <element name="SignedInfo" type="ds:SignedInfoType"/>
> <element name="Transform" type="ds:TransformType"/>
> <element name="Transforms" type="ds:TransformsType"/>
> <element name="X509Data" type="ds:X509DataType"/>
> </schema>
> <xs:schema
> xmlns:c="http://xmlns.example.com/Common/CurrencyCode.xsd"
> xmlns="http://xmlns.example.com/Common/ProductV2.xsd"
> xmlns:l="http://xmlns.example.com/Common/LegalFormCode.xsd"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xmlns.example.com/Common/ProductV2.xsd"
> elementFormDefault="qualified" attributeFormDefault="unqualified">
> <xs:import
> namespace="http://xmlns.example.com/Common/LegalFormCode.xsd"/>
> <xs:import
> namespace="http://xmlns.example.com/Common/CurrencyCode.xsd"/>
> <xs:complexType name="type_ProductV2">
> <xs:sequence>
> <xs:element name="PRODUCT_INSTANCE_ID" minOccurs="0">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:maxLength value="30"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:element>
> <xs:element name="PRODUCT_NAME" type="xs:string"
> minOccurs="0"/>
> <xs:element name="QUANTITY" type="xs:string"
> minOccurs="0"/>
> <xs:element name="SERVICE_ID" type="xs:string"
> minOccurs="0"/>
> <xs:element name="MONTHLY_RECURRING_CHARGE"
> minOccurs="0">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="CURRENCY_CODE"
> default="EUR" type="c:type_CurrencyCode"/>
> <xs:element name="AMOUNT"
> type="xs:decimal"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="ONE_TIME_CHARGE" minOccurs="0">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="CURRENCY_CODE"
> default="EUR" type="c:type_CurrencyCode"/>
> <xs:element name="AMOUNT"
> type="xs:decimal"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="PRODUCT_PARAMETER" minOccurs="0"
> maxOccurs="unbounded">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="NAME" type="xs:string"/>
> <xs:element name="VALUE" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="PARTY_ROLE_PRODUCT_INVOLVEMENT"
> minOccurs="0" maxOccurs="unbounded">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="PRODUCT_INVOLVEMENT_ROLE">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:enumeration
> value="Contractor"/>
> <xs:enumeration value="Billing
> Agent"/>
> <xs:enumeration value="User"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:element>
> <xs:element name="PARTY_ROLE">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="PRIVACY_SETTING" type="xs:string" minOccurs="0"/>
> <xs:element
> name="PARTY_ROLE_ID" minOccurs="0">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="ID" minOccurs="0">
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:pattern value="[A-Z,0-9]{8}"/>
>
> </xs:restriction>
>
> </xs:simpleType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:element name="PARTY">
> <xs:complexType>
> <xs:sequence>
> <xs:element
> name="FULL_PARTY_NAME" minOccurs="0">
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:maxLength value="100"/>
>
> </xs:restriction>
>
> </xs:simpleType>
> </xs:element>
> <xs:element
> name="PARTY_ID" minOccurs="0">
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:maxLength value="100"/>
>
> </xs:restriction>
>
> </xs:simpleType>
> </xs:element>
> <xs:element
> name="LEGAL_FORM_CODE" default="VG" type="l:type_LegalFormCode"
> minOccurs="0"/>
> <xs:element
> name="IS_INTERNAL" type="xs:boolean" minOccurs="0"/>
> <xs:element
> name="PRICE_LIST" type="xs:string" minOccurs="0"/>
> <xs:element
> name="CONTACT_PERSON" minOccurs="0" maxOccurs="unbounded">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="LAST_NAME" type="xs:string"/>
>
> <xs:element name="FIRST_NAME" type="xs:string" minOccurs="0"/>
>
> <xs:element name="MIDDLE_NAME" type="xs:string" minOccurs="0"/>
>
> <xs:element name="PRIMARY_CONTACT_ROLE" type="xs:string"/>
>
> <xs:element name="GENDER" type="xs:string" minOccurs="0"/>
>
> <xs:element name="TITLE" type="xs:string" minOccurs="0"/>
>
> <xs:element name="EMAIL_ADDRESS" type="xs:string" minOccurs="0"/>
>
> <xs:element name="VALIDITY_PERIOD" minOccurs="0">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="FROM" type="xs:dateTime"/>
>
> <xs:element name="UNTIL" type="xs:dateTime" minOccurs="0"/>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="WORK_NUMBER" minOccurs="0">
>
> <xs:complexType>
>
> <xs:choice>
>
> <xs:element name="UNFORMATTED">
>
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:maxLength value="25"/>
>
> </xs:restriction>
>
> </xs:simpleType>
>
> </xs:element>
>
> </xs:choice>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="FAX_NUMBER" minOccurs="0">
>
> <xs:complexType>
>
> <xs:choice>
>
> <xs:element name="UNFORMATTED">
>
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:maxLength value="25"/>
>
> </xs:restriction>
>
> </xs:simpleType>
>
> </xs:element>
>
> </xs:choice>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="MOBILE_NUMBER" minOccurs="0">
>
> <xs:complexType>
>
> <xs:choice>
>
> <xs:element name="UNFORMATTED">
>
> <xs:simpleType>
>
> <xs:restriction base="xs:string">
>
> <xs:maxLength value="25"/>
>
> </xs:restriction>
>
Re: Inline XML Schema stops expanding [message #503449 is a reply to message #503216] Mon, 14 December 2009 04:29 Go to previous message
novum  is currently offline novum
Messages: 2
Registered: December 2009
Junior Member
Thanks for your answer Valentin. I posted it to Web Tools Web Services wst.wsdl and attached the WSDL.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297715

Previous Topic:Re: XML generation from XSD puts "token" in attributes
Next Topic:Re: Incomplete EAR creation/deloyment
Goto Forum:
  


Current Time: Tue Sep 23 08:22:49 GMT 2014

Powered by FUDForum. Page generated in 0.02244 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software