You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by James Lorenzen <jl...@gestalt-llc.com> on 2005/06/30 18:38:26 UTC
Urgent Question concerning schema
Sorry for all of my questions lately, but this is an urgent issue I cannot resolve.
In our wsdm wsdl, we are referencing a schema that contains a complex type.
This web service works when the complex type is not included, but when it is, the web service does not work.
Can anybody tell me whats wrong with this schema? I am sure we are missing something simple and obvious, but I am not an xml schema expert. Below is the following schema:
Here is the returning error: Could not find element 'ServiceType@http://gestalt.com/dmit/tacf/ws/tacf-common' <mailto:'ServiceType@http://gestalt.com/dmit/tacf/ws/tacf-common'> . Do you mean to refer to the type with that name (in tacf-common.xsd)
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns ="http://gestalt.com/dmit/tacf/ws/tacf-common <http://gestalt.com/dmit/tacf/ws/tacf-common> "
xmlns:xs ="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema> "
targetNamespace ="http://gestalt.com/dmit/tacf/ws/tacf-common <http://gestalt.com/dmit/tacf/ws/tacf-common> "
elementFormDefault ="qualified"
attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation xml:lang="en">
TACF Web Services common schema definitions.
</xs:documentation>
</xs:annotation>
<!-- resource properties available via getResourceProperty operation -->
<xs:element name="HostName" type="xs:string"/>
<xs:element name="HostIpAddress" type="xs:string"/>
<xs:element name="NodeDescription" type="xs:string"/>
<!-- list of producers/consumers from MCSOA Perspective Manager -->
<xs:complexType name="ServiceType">
<xs:sequence>
<xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Uri" type="xs:string" minOccurs="1" maxOccurs="1"/>
<!-- Type is P for producer or C for consumer, or possibly B for both -->
<xs:element name="Type" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Expire" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServicesType">
<xs:sequence>
<xs:element ref="ServiceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Services" type="ServicesType"/>
</xs:schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org