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

wsdl.exe

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 from the command line I get an error
report along the lines of;

'The document is not a recognised document type...'
'There is an error in XML Document (1,1)...'

I have tried looking up this problem on the internet and there are lots of
references to uncommenting a line to do with 'vsdisco' in the machine.config
file. I have .Net 1.1.4322 installed and the machine.config file has no
such line in it and no reference to vsdisco in it at all. Is there something
wrong with my set up or do I just need to add a line to the httpHandlers
section in maching.config - if so what should that line be?

Any pointers would be very welcome.

Thanks,

Jimbo.

Jul 21 '05 #1
3 3981
What is the input your are giving wsdl.exe?

"Jimbo" <ji***@nospam.none> wrote in message
news:d9**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
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 from the command line I get an
error report along the lines of;

'The document is not a recognised document type...'
'There is an error in XML Document (1,1)...'

I have tried looking up this problem on the internet and there are lots of
references to uncommenting a line to do with 'vsdisco' in the
machine.config
file. I have .Net 1.1.4322 installed and the machine.config file has no
such line in it and no reference to vsdisco in it at all. Is there
something
wrong with my set up or do I just need to add a line to the httpHandlers
section in maching.config - if so what should that line be?

Any pointers would be very welcome.

Thanks,

Jimbo.

Jul 21 '05 #2
Manina,

Thanks for the response.

I am using the following;

wsdl.exe http://localhost/ServiceHome/Service.asmx?WSDL

the Service.asmx file just contains the line

<%@ WebService Language="c#" Codebehind="Service.asmx.cs"
Class="ServiceHome.Service" %>

It was created on a different machine using VStudio.Net (not 2003)

The C# file with the implementation of the Service is in the same directory.

Jimbo.
"Marina" <so*****@nospam.com> wrote in message
news:eT*************@TK2MSFTNGP15.phx.gbl...
What is the input your are giving wsdl.exe?

"Jimbo" <ji***@nospam.none> wrote in message
news:d9**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
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 from the command line I get an
error report along the lines of;

'The document is not a recognised document type...'
'There is an error in XML Document (1,1)...'

I have tried looking up this problem on the internet and there are lots
of
references to uncommenting a line to do with 'vsdisco' in the
machine.config
file. I have .Net 1.1.4322 installed and the machine.config file has no
such line in it and no reference to vsdisco in it at all. Is there
something
wrong with my set up or do I just need to add a line to the httpHandlers
section in maching.config - if so what should that line be?

Any pointers would be very welcome.

Thanks,

Jimbo.


Jul 21 '05 #3
Try saving your WSDL definition to one of the other file types wsdl reads (I
can't remember the details, and I'm on a pc running XP home, so no IIS to
check) WSDl is reading your file as a normal xml, so not seeing the right
stuff in the header - sorry to be so vague, but that's the direction you
should be looking in.

"Jimbo" <ji***@nospam.none> wrote in message
news:d9**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
Manina,

Thanks for the response.

I am using the following;

wsdl.exe http://localhost/ServiceHome/Service.asmx?WSDL

the Service.asmx file just contains the line

<%@ WebService Language="c#" Codebehind="Service.asmx.cs"
Class="ServiceHome.Service" %>

It was created on a different machine using VStudio.Net (not 2003)

The C# file with the implementation of the Service is in the same
directory.

Jimbo.
"Marina" <so*****@nospam.com> wrote in message
news:eT*************@TK2MSFTNGP15.phx.gbl...
What is the input your are giving wsdl.exe?

"Jimbo" <ji***@nospam.none> wrote in message
news:d9**********@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
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 from the command line I get an
error report along the lines of;

'The document is not a recognised document type...'
'There is an error in XML Document (1,1)...'

I have tried looking up this problem on the internet and there are lots
of
references to uncommenting a line to do with 'vsdisco' in the
machine.config
file. I have .Net 1.1.4322 installed and the machine.config file has no
such line in it and no reference to vsdisco in it at all. Is there
something
wrong with my set up or do I just need to add a line to the httpHandlers
section in maching.config - if so what should that line be?

Any pointers would be very welcome.

Thanks,

Jimbo.




Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Jul 21 '05 #4

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

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
6
by: Naveed Anwar | last post by:
how a tcp server running on given uri like "soap:tcp://localhost:8080/MyReceiver" will return wsdl. In normal web service case which runs on http returns wsdl by simply appending '?wsdl' in url,...
1
by: Mike Logan | last post by:
I have a schema that defines my messages and objects. I then have a WSDL that defines the web services. I have my sample XSD, sample WSDL, and the code generated from WSDL.exe. In the generated...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.