473,396 Members | 1,724 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,396 software developers and data experts.

Unable to Import WebService/Schema

When adding a Web Reference to a new project before I even add any code to
test the service I thought i would build the project to see if it would
complie and following error occured:

Custom Tool Error: "unable to import webservice/schema. Uable to import
Binding etc.

This is the first thing i did after importing the web reference.

Could anyone please try with a new project and try to import the reference
if i give the url:

http://europa.eu.int/comm/taxation_c...ckVatPort?wsdl

any help with this will be appreciated???

Regards

Ben
Dec 6 '05 #1
5 12200
The rest of the message is "the element
'urn:europa.eu.int:taxud:vies:services:checkVat:ty pes:checkVat' is
missing" and that's exactly what's wrong. The WSDL doesn't define that
element in that namespace. It *does* define a "checkVat" but in the
"http://www.europa.eu.int/comm/taxation_customs/vies/services/checkVat/types"
namespace (see "targetNamespace" on the <schema>).

Cheers,
~Mork

Dec 6 '05 #2
Thanks for your help Mork,

Can I ask you, do I just copy the element detail into that namespace and use
a local copy or is this something that the service provider will have to fix.
Sorry to be naive on this its my first go at using a web service.

Thanks again

Ben

"Mork" wrote:
The rest of the message is "the element
'urn:europa.eu.int:taxud:vies:services:checkVat:ty pes:checkVat' is
missing" and that's exactly what's wrong. The WSDL doesn't define that
element in that namespace. It *does* define a "checkVat" but in the
"http://www.europa.eu.int/comm/taxation_customs/vies/services/checkVat/types"
namespace (see "targetNamespace" on the <schema>).

Cheers,
~Mork

Dec 6 '05 #3
Yep. You could easily download the WSDL document, make that change
locally and then run wsdl.exe against the modified WSDL document to
generate a new proxy. Chances are one of those namespaces are correct.
I would still let the service provider know so they can fix it.

Cheers,
~Mork

Dec 6 '05 #4
Thanks again Mork i have sent off an email request to the provider to see if
they can fix the problem with their wsdl document. To be honest I have not
the first clue where to begin editing the doucment and what to include etc.
So i will just hope for them to fix the output.

kind regards

funkybrown

"Mork" wrote:
Yep. You could easily download the WSDL document, make that change
locally and then run wsdl.exe against the modified WSDL document to
generate a new proxy. Chances are one of those namespaces are correct.
I would still let the service provider know so they can fix it.

Cheers,
~Mork

Dec 7 '05 #5
funkybrown,

You're welcome. E-mail me directly if you'd like help changing the
local WSDL and creating a new proxy to test with.

Cheers,
~Mork

Dec 7 '05 #6

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

Similar topics

0
by: maxim mat | last post by:
Hi I need to build client for web service. But when I'm using Visual Studio .NET to add Web Reference, I get error: "Custom tool error: Unable to import WebService/Schema. Unable to import...
3
by: Neter Smith | last post by:
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...
0
by: brian.mills | last post by:
I'm having trouble with a web service I've been using since I've change computers. The project was in source safe, and i've pulled it out, but I can now not change beetween static and dynamic on a...
2
by: Nathan Wiegman | last post by:
Hi, I am using the XSD utility to generate schemas for some of the classes that we serialize in our project. Everything works fine and dandy until I try and create a schema for a class that...
0
by: berkcansiz | last post by:
Hello All, I am trying to use a web service hosted at ajax 1.3. Ehen I try to add this web reference into my project(.NET) I got an error saying; Error 9 Custom tool error: Unable to import...
0
by: shruthi | last post by:
Hai, I m nt able to refer the webservice created using java and xml through vb.net.when i try to refer the wsdl file i get an error D:\WindowsApplication7\Web References\ws\Reference.map(1):...
0
by: =?Utf-8?B?dGVzaHRyYWRlQGdtYWlsLmNvbQ==?= | last post by:
Hi All, I am still new to Webservices in .NET Basically, This is what I am trying to accomplish. My Client has given me the soft copy of the WSDL file and XSD Files and has asked me to create...
1
by: leno | last post by:
Hi all, I'm having this problem when i combined multiple schema's into one. The error msg is below: Unable to load schema with target namespace 'http://www.tdbanknorth.com/IFX170_TDBN' from...
1
by: h11rick | last post by:
Hello Can anyone please advise me on how can I import the file from db2look back to the DB2? I've read the post on extracting the schema using db2look but it only covers on how to extract. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.