[Mono-list] Mono hosted webservices and Visual Studio

tracy Anne tracy_anne_barlow@yahoo.com
Mon, 4 Oct 2004 15:30:43 -0700 (PDT)

I had a look at your Service description file and
loaded it into VS.NET, the file displays as a series
of non ASCII characters, and would be unintelligable
to VS.NET.

On further examination I noticed that the encoding in
the XML Processing Instruction header is utf-16

<?xml version="1.0" encoding="utf-16"?>

I changed this to utf-8

<?xml version="1.0" encoding="utf-8"?>

and the xml displays correctly in VS.NET.

I suspect VS.NET does not handle utf-16 encoded XML.

Is there any reason why visual studio can't add a
web-reference to a
mono hosted webservice? Visual Studio 2003 always
finds the service;
allows one to add it to one's visual studio solution
and then removes 
again with a "failed to create xml-document".

I've tried this scenario on several windows boxes and
it is always the

The microsoft wsdl.exe is perfectly able to generate
the code stub, 

allows one use the service. The problem seems to lie
in the visual
studio integration.

The service I've written and which shows the above
symptoms can be
reached here:

/Morten Krog

Do you Yahoo!?
Declare Yourself - Register online to vote today!