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

wsdl error of mulitiple asmx with reference to one shared dataset

I wrote a web service projects having 2 asmx and 1 dataset, says dsTest1.
The amsx will have a parameter of the dataset as follows:

in 1st asmx:
<Wethod()HelloWorld1 (byval a1 as dsTest1) as string

in 2nd asmx:
<Wethod()HelloWorld2 (byval a2 as dsTest1) as string

When I ran wsdl for the dynamic discovery file, vsdisco, I got the following
error:

Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Schema validation error: Schema with
targetNamespace='http://tempuri.org/dsTest1.xsd' has invalid syntax. The
global element 'http://tempuri.org/dsTest1.xsd:dsTest1' has already been
declared. Line 3, position 4.
Schema validation error: Schema with
targetNamespace='http://tempuri.org/dsTest1.xsd' has invalid syntax. The
identity constraint 'http://tempuri.org/dsTest1.xsd:TestTableKey1' has
already been declared. Line 16, position 6.
Warning: Schema could not be validated. Class generation may fail or may
produce incorrect results.
Writing file 'D:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\Service.vb'.

There's no problem when I did wsdl for only particular asmx. It seems that
wsdl processes twice for the dataset. Note: There's no problem for dotnet
framework 1.1. The problem becomes hurdle of our migration project.

Please kindly help.
Thanks in advance.
Nov 14 '06 #1
0 1107

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

Similar topics

3
by: Jimbo | last post by:
Hi, I am new to web services and am trying to set up a basic service using C# I am trying to run wsdl.exe on my machine to generate a proxuy class for my service. However, when running wsdl...
0
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and...
5
by: Mike Logan | last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use...
3
by: GavinM | last post by:
I have the same question as andreas.w.h.k asked on 1/5. Our configuration is as follows: The client must use the URL https://clustername.xyz.com/webservice.asmx to access this web service. ...
0
by: Xavier | last post by:
hello, when i develop a a asp.net webapplication - which use a webservice i have a folder Web References\localhost with 2 files If i deliver the application to a customer - and this has the...
6
by: hs | last post by:
Hi I have a webservice i created using visual studio 2003, and i want to expose/deploy it to the internet. my problem is when i open up the wsdl, it still references an internal machine how do...
4
by: WebDev2 | last post by:
I have a web service created via Visual Web Developer Express Edition on a IIS Server with .NET 2.0 installed. The test page displays just fine when the URL of the .asmx page is entered into a...
3
by: John K | last post by:
I am trying to eliminate the capability of displaying the details of a web service by disabling WSDL generation in the web.config file. I have made the following changes to the web.config: ...
4
by: Lee Franke | last post by:
The application that I want to use requires the header to contain a username/password. Example: <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.