473,418 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

WDSL Import Error


I have run into a problem when trying to import a WSDL reference under VS
2003 and 1.1 of the framework. It appears as if it is in the generation of
the proxy that things are failing.

When I add the reference, I get the following error:

C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet \OblixSampleForDotNetWSDL\Web
References\localhost\Reference.map(1): Custom tool error: Unable to import
WebService/Schema. A schema with the namespace 'http://www.oblix.com/' has
already been added.

I have applied the two following hotfixes
http://support.microsoft.com/?id=822411 and
http://support.microsoft.com/?id=823639 and am still seeing the problem.

Anyone have any ideas?

Thanks
D.
Nov 23 '05 #1
3 4783
Hi,

This error is going to happen if a schema in the imported WSDL files Types
section has an xs:import statement in it that imports a schema that has the
same target namespace as the schema that contains the import statement.
Either the WSDL in question is incorrectly formed, or the schema's should
be combined.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
From: "Neter Smith" <ne*****@gmail.com>
Subject: WDSL Import Error
Date: Thu, 16 Dec 2004 13:10:06 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <e7**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8131
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
I have run into a problem when trying to import a WSDL reference under VS
2003 and 1.1 of the framework. It appears as if it is in the generation of
the proxy that things are failing.

When I add the reference, I get the following error:

C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet \OblixSampleForDotNetWSDL\
Web
References\localhost\Reference.map(1): Custom tool error: Unable to import
WebService/Schema. A schema with the namespace 'http://www.oblix.com/' has
already been added.

I have applied the two following hotfixes
http://support.microsoft.com/?id=822411 and
http://support.microsoft.com/?id=823639 and am still seeing the problem.

Anyone have any ideas?

Thanks
D.

Nov 23 '05 #2
If I collapse the schema files (there were 3 includes in the WSDL) I can
successfully generate the proxy stubs. It was my understanding and
interpretation of the spec that multiple includes could contain the same
targetNamespace.

Also http://support.microsoft.com/?id=822411 states a symptom of " When the
Web Services Description Language (WSDL) imports a schema that includes
multiple schema by using the xsd:include element, and when these schemas
include any command schema, the WSDL tool (Wsdl.exe) cannot generate the
proxy for the Web service." was addressed in the hotfix - this does not seem
to be the case.

As I have a workaround, I can continue with development, but is this not
what was supposed to be addressed with the hotfix?

Thanks!
"Dan Rogers" <da***@microsoft.com> wrote in message
news:Ge**************@cpmsftngxa10.phx.gbl...
Hi,

This error is going to happen if a schema in the imported WSDL files Types
section has an xs:import statement in it that imports a schema that has
the
same target namespace as the schema that contains the import statement.
Either the WSDL in question is incorrectly formed, or the schema's should
be combined.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
From: "Neter Smith" <ne*****@gmail.com>
Subject: WDSL Import Error
Date: Thu, 16 Dec 2004 13:10:06 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <e7**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12
phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8131
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
I have run into a problem when trying to import a WSDL reference under VS
2003 and 1.1 of the framework. It appears as if it is in the generation
of
the proxy that things are failing.

When I add the reference, I get the following error:

C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet \OblixSampleForDotNetWSDL\
Web
References\localhost\Reference.map(1): Custom tool error: Unable to import
WebService/Schema. A schema with the namespace 'http://www.oblix.com/' has
already been added.

I have applied the two following hotfixes
http://support.microsoft.com/?id=822411 and
http://support.microsoft.com/?id=823639 and am still seeing the problem.

Anyone have any ideas?

Thanks
D.

Nov 23 '05 #3
Hi Neter,

The XML schema specification provides two means to use multiple schemas
together. One is the Import instruction, and the other is the Include
instruction. The Import instruction is used to bring in schema from other
namespaces. The include instruction is used to combine schemas that have
the same target namespaces.

It is not valid to use Import to combine schemas that have the same target
namespace.

Breaking one schema into multiple files can be problematic and by best
practice should be avoided. But if you must do this, you can use the
include instruction in XML schema to accomplish this.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
From: "Neter Smith" <ne*****@gmail.com>
References: <e7**************@TK2MSFTNGP12.phx.gbl>
<Ge**************@cpmsftngxa10.phx.gbl>
Subject: Re: WDSL Import Error
Date: Thu, 16 Dec 2004 15:03:02 -0500
Lines: 80
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <#o**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
..phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8140
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

If I collapse the schema files (there were 3 includes in the WSDL) I can
successfully generate the proxy stubs. It was my understanding and
interpretation of the spec that multiple includes could contain the same
targetNamespace.

Also http://support.microsoft.com/?id=822411 states a symptom of " When
the
Web Services Description Language (WSDL) imports a schema that includes
multiple schema by using the xsd:include element, and when these schemas
include any command schema, the WSDL tool (Wsdl.exe) cannot generate the
proxy for the Web service." was addressed in the hotfix - this does not
seem
to be the case.

As I have a workaround, I can continue with development, but is this not
what was supposed to be addressed with the hotfix?

Thanks!
"Dan Rogers" <da***@microsoft.com> wrote in message
news:Ge**************@cpmsftngxa10.phx.gbl...
Hi,

This error is going to happen if a schema in the imported WSDL files Types
section has an xs:import statement in it that imports a schema that has
the
same target namespace as the schema that contains the import statement.
Either the WSDL in question is incorrectly formed, or the schema's should
be combined.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
From: "Neter Smith" <ne*****@gmail.com>
Subject: WDSL Import Error
Date: Thu, 16 Dec 2004 13:10:06 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <e7**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP12 phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8131
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
I have run into a problem when trying to import a WSDL reference under VS
2003 and 1.1 of the framework. It appears as if it is in the generation
of
the proxy that things are failing.

When I add the reference, I get the following error:

C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet \OblixSampleForDotNetWSDL\ Web
References\localhost\Reference.map(1): Custom tool error: Unable to import
WebService/Schema. A schema with the namespace 'http://www.oblix.com/' has
already been added.

I have applied the two following hotfixes
http://support.microsoft.com/?id=822411 and
http://support.microsoft.com/?id=823639 and am still seeing the problem.

Anyone have any ideas?

Thanks
D.


Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jean.rossier | last post by:
Hello All, I am facing a problem while importing pylab library(in a .py program file) via web browser however the same program works when I execute it from the command prompt. my...
0
by: bob | last post by:
I have been trying to auto generate a proxy from a WSDL file. I do this fairly regularly, so I am not a novice, but perhaps I am missing something easy. I searched on the problem, but did not...
0
by: bob | last post by:
I have been trying to auto generate a proxy from a WSDL file. I do this fairly regularly, so I am not a novice, but perhaps I am missing something easy. I searched on the problem, but did not...
5
by: MR | last post by:
I apologize in advance for re-asking a question that I posed before. I understand a little more than i did before and I am posing 2 specific questions: I need to write an application that sends...
0
by: ryan | last post by:
I've been tasked with consuming a Perl web service that was written by a person in a different department of my company. The problem is it's the guy's first attempt at web services and he doesn't...
1
by: baling | last post by:
Hi.... Hi everybody, i have a code that i make in VBA and know I want to use this code in to VB6. But i don't know how to use that code in to VB 6.0 Please correct this code so i can use it in VB...
7
by: Ron Adam | last post by:
from __future__ import absolute_import Is there a way to check if this is working? I get the same results with or without it. Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) on win 32 ...
1
by: Paul van Brouwershaven | last post by:
Hi All, I'm struggling with the WDSL restrictions in PHP/SOAP for a while know. I would like to create some simple restrictions in my WDSL file. The script are running both on the same server...
0
by: Rene | last post by:
I have a class generated of a WSDL file. Now i am trying to use the class, but getting error "System.NullReferenceException was unhandled" How mus a declare the type out of the WSDL ? Here...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.