Hi there,
I've got an Xml schema that I want to use in a WSDL document. I can cut and
paste it into the WSDL, then load that doc into a ServiceDescription object
and access the schema via the ServiceDescription.Types.Schemas collection
and everything works fine. However for maintenance reasons instead of doing
this I just want to reference the schema, by using an "import" tag child
node of "types" that points to the schema on the filesystem:
<types>
<import
namespace="http://schemas.teletext.co.uk/dtv/templatelist"
uri="templatelist.xsd"/>
<import namespace="http://schemas.teletext.co.uk/dtv/data"
uri="data.xsd"/>
</types>
If I do this then ServiceDescription.Types.Schemas returns an empty
collection. Any ideas what I might be doing wrong?
thanks a lot,
Julian
IMPORTANT NOTICE
This communication contains information, which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient(s) please note that any form of
distribution, copying or use of this communication or the information in it
is strictly prohibited and may be unlawful. If you have received this
communication in error please return it to the sender. The opinions
expressed within this communication are not necessarily those expressed by
Teletext Ltd.
Teletext Ltd.
Building 10
Chiswick Park
566 Chiswick High Road
London W4 5TS
Registered in England number 2694814
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com