[Mono-list] TestService Proxy problem

Lluis Sanchez lluis@ximian.com
Mon, 20 Oct 2003 19:59:28 +0200


On dg, 2003-10-19 at 20:12, Gustavo García wrote:
> I'm trying the TestService with mod_mono 0.5 and xsp 0.6. When I try the
> access to service with Proxy generated with wsdl, i obtain the next
> exception:
> 
> "Unhandled Exception: System.Exception: Content is not XML: text/html"
> 
> Why mod_mono/xsp returns text/html type?  The proxy is pointing to the
> .asmx file (http://127.0.0.1/mono/TestService.asmx).

It returns text/html because XSP is probably trying to show an error
page. Maybe something is not well configured in your system. 

Load this in your browser:

http://localhost:8080/TestService.asmx/Echo?a=hi

If there is a problem in the configuration, you should see the error in
the browser.

> 
> Thank you very much.
> 
> Gustavo García
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list