472,371 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 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 4677
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...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.