[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    [Mono-list] Fwd: WCF application
From:       Daniel Soto <daniel.soto2k () gmail ! com>
Date:       2009-12-22 19:21:57
Message-ID: 72e874f00912221121t18aba368gfdbc6a5883314a7a () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I forgot to say, the other method to get service information is ws-Metadata
exchange, but it stands waiting.

Thanks!

---------- Forwarded message ----------
From: Daniel Soto <daniel.soto2k@gmail.com>
Date: 2009/12/22
Subject: WCF application
To: monodevelop-list <monodevelop-list@lists.ximian.com>, mono-list <
mono-list@ximian.com>


Hello.

I do this question in both lists, Mono and Monodevelop, because of my
problem applies in both.

I went test the new flavours that comes with Mono, WCF support, but I have
some problems to test it.

First, it's possible to add a service reference in Monodevelop? Not yet,
right? If I try to add in Web references, it does not allow adding an URL in
format http:// (or net.tcp//) my_address/Service.svc

Ok, I try to test an WCF app, but when I try to host it, an error 404
appears. I try to change the URL to http://my_addr/Service.svc?wsdl but an
error 500 appears, Application error.

Ok, I change in web.config Bindings section, setting the binding
configuration to basicHttpBinding (instead of wsHttpBinding), running it,
changing the url to http://my_addr/Service.svc?wsdl, and now does not appear
an 500 Application Error, but appears an XML indicating that an schema does
not exists.

Finally, I run svcutil http://my_addr/Service.svc?wsdl, It tries to get
service information using DISCO, but it fails. Later, it tries to get
service information using other method (I dont remember) but it stands wait
for long time.

What I'm doing bad?

Someone can help me to host correctly a WCF service in Mono?

How can I write a client program to test my service after hosted correctly?

Thanks in advance!

Daniel.

[Attachment #5 (text/html)]

I forgot to say, the other method to get service information is ws-Metadata exchange, \
but it stands waiting.<br><br>Thanks!<br><br><div class="gmail_quote">---------- \
Forwarded message ----------<br>From: <b class="gmail_sendername">Daniel Soto</b> \
<span dir="ltr">&lt;<a \
                href="mailto:daniel.soto2k@gmail.com">daniel.soto2k@gmail.com</a>&gt;</span><br>
                
Date: 2009/12/22<br>Subject: WCF application<br>To: monodevelop-list &lt;<a \
href="mailto:monodevelop-list@lists.ximian.com">monodevelop-list@lists.ximian.com</a>&gt;, \
mono-list &lt;<a href="mailto:mono-list@ximian.com">mono-list@ximian.com</a>&gt;<br> \
<br><br>Hello.<br><br>I do this question in both lists, Mono and Monodevelop, because \
of my problem applies in both.<br><br>I went test the new flavours that comes with \
Mono, WCF support, but I have some problems to test it.<br> <br>
First, it&#39;s possible to add a service reference in Monodevelop? Not yet, right? \
If I try to add in Web references, it does not allow adding an URL in format http:// \
(or net.tcp//) my_address/Service.svc<br><br>Ok, I try to test an WCF app, but when I \
try to host it, an error 404 appears. I try to change the URL to <a \
href="http://my_addr/Service.svc?wsdl" \
target="_blank">http://my_addr/Service.svc?wsdl</a> but an error 500 appears, \
Application error.<br>

<br>Ok, I change in web.config Bindings section, setting the binding configuration to \
basicHttpBinding (instead of wsHttpBinding), running it, changing the url to <a \
href="http://my_addr/Service.svc?wsdl" \
target="_blank">http://my_addr/Service.svc?wsdl</a>, and now does not appear an 500 \
Application Error, but appears an XML indicating that an schema does not exists.<br>

<br>Finally, I run svcutil <a href="http://my_addr/Service.svc?wsdl" \
target="_blank">http://my_addr/Service.svc?wsdl</a>, It tries to get service \
information using DISCO, but it fails. Later, it tries to get service information \
using other method (I dont remember) but it stands wait for long time.<br>

<br>What I&#39;m doing bad?<br><br>Someone can help me to host correctly a WCF \
service in Mono?<br><br>How can I write a client program to test my service after \
hosted correctly?<br><br>Thanks in advance!<br><font color="#888888"><br> Daniel.<br>
</font></div><br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic