Actually, this won't work.
You want to define "foo" as a simpleType that restricts xs:string, e.g.,
<xs:simpleType name="foo">
<xs:restriction base="xs:string"/>
</xs:simpleType>
Anne
On Sat, Jun 14, 2008 at 5:03 PM, Jake Goulding <[EMAIL PROTECTED]> wrote:
> Ack, please disregard - turns out I had a simple copy and paste error:
>
> <xs:element name="foo" type="xs:string" />
>
> should have been
>
> <xs:complexType name="foo" type="xs:string" />
>
> Thanks anyway!
>
> -Jake
>
> Jake Goulding wrote:
>>
>> Hey all:
>>
>> I am having some trouble importing a WSDL that contains two top-level
>> schemas. The WSDL itself is attached.
>>
>> The basic thing is that I define the first schema with a type in one
>> namespace, then the second schema defines another type that uses the first
>> type. However, I keep getting the following error:
>>
>> [WARN] Type {urn:/ns2}foo missing!
>>
>> Any help would be appreciated!
>>
>> -Jake
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]