Oleg,

I got it worked after upgrading mono from 1.2.3 -> 1.2.6 (the problem
was with MySql connector + System.Data fixed in this version).

It's a real pain, that i just couldn't find a debugger for xsp2... i
installed the xsp-debug package as well, but after some googling, i
still don't know how to use it. does anyone has any documentation on
it?

However I've done a build of the webservice's .asmx and dll on my
windows machine, copied to the linux server, started xsp2 in the
folder, and it worked okay. The only problem was when I've tried to
connect to this web service from Visual Studio, it said when i've
tried to add a web reference:

The document at the url http://xxxxxxxxx.hu/WebShop.asmx was not
recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'There was an error downloading
'http://xxxxxxx.hu/<%25=Request.FilePath%25>?disco'.'.
  - The request failed with HTTP status 404: Not Found.
- Report from 'http://xxxxxxxx.hu/WebShop.asmx' is 'The document
format is not recognized (the content type is 'text/html;
charset=utf-8').'.
- Report from 'WSDL Document' is 'The document format is not
recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized
(the content type is 'text/html; charset=utf-8').'.

However by explicitly calling the Url http://xxxxxxxx.hu/WebShop.asmx?disco
Visual Studio finally was able to use all functions from the service.

I saw that I mcs is still unable to build this web service on the
linux, but who cares, we can build it with the ms frameworks build
tools (without VS) :D


On 16/01/2008, Oleg Deribas <[EMAIL PROTECTED]> wrote:
> Bálint Kardos wrote:
>
> > i'm trying to port a VisualStudio2005 project to mono. It has a
> > webservice with the following code:
>
> > with the MS framework, the DataSet type is fully functional,
> > with mono, it generates an exception:
>
> It used to work. But I've tried it more than year ago.
>
> But how do you use web services on mono? Web services on mono are
> completely unusable for me because of this bug:
> https://bugzilla.novell.com/show_bug.cgi?id=343174
>
> --
> Oleg
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


-- 

üdvözlettel
with regards

Kardos Bálint
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to