473,729 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\wwwr oot\WebServices \samples\WSDL\d otnet\OblixSamp leForDotNetWSDL \Web
References\loca lhost\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 4839
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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XA01.phx.gbl!TK 2MSFTNGP08.phx. gbl!TK2MSFTNGP1 2
.phx.gbl
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :8131
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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\wwwr oot\WebServices \samples\WSDL\d otnet\OblixSamp leForDotNetWSDL \
Web
References\loca lhost\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***@microsof t.com> wrote in message
news:Ge******** ******@cpmsftng xa10.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XA01.phx.gbl!TK 2MSFTNGP08.phx. gbl!TK2MSFTNGP1 2
phx.gbl
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :8131
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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\wwwr oot\WebServices \samples\WSDL\d otnet\OblixSamp leForDotNetWSDL \
Web
References\loca lhost\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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTFE ED02.phx.gbl!TK 2MSFTNGP08.phx. gbl!TK2MSFTNGP0 9
..phx.gbl
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :8140
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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***@microsof t.com> wrote in message
news:Ge******** ******@cpmsftng xa10.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 206.208.224.161
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XA01.phx.gbl!TK 2MSFTNGP08.phx. gbl!TK2MSFTNGP1 2 phx.gbl
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :8131
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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\wwwr oot\WebServices \samples\WSDL\d otnet\OblixSamp leForDotNetWSDL \ Web
References\loca lhost\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
2697
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 configuration : Fedora Core 3 Apache 2.0
0
1751
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 find too much that was helpful... I am trying to tie into the web services offered by a large firm. They have a basic set of methods I was able to integrate easily into my project using the tried and true "auto generate the proxy method". The...
0
1959
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 find too much that was helpful... I am trying to tie into the web services offered by a large firm. They have a basic set of methods I was able to integrate easily into my project using the tried and true "auto generate the proxy method". The...
5
2320
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 orders to a non-Windows web service. 1) I received DTD files for the SOAP messages that I need to send. I was able to convert them to XSD files. Upon examination of the files it is apparent that the XSD does not match the database in any way. so...
0
2372
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 know how to create the WDSL. I created web service with Visual Studio that mimics his service and after some tweaking of the soapAction in the WSDL I'm able to call his service successfully. When I use SOAPScope to look the messages being sent and...
1
8709
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 6.0. Code: --- use in mainform ------- Option Compare Database Option Explicit
7
20563
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 _Ron
1
2451
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 with PHP Version 5.2.6 with the official soap extension. On both my client and server there is some error configuration:
0
982
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 some code, but i have also a "Hello World" code for download : http://xs4all.nl/~ramse/BSNTest.zip Any help will be very helpful
0
8917
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9281
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9142
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.