Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem with WCF REST Services
timo77
#1 Posted : Tuesday, December 16, 2008 11:12:17 PM(UTC)
Groups: Member
Joined: 12/16/2008(UTC)
Posts: 3

Hi All,

thanks for this web server.
I'm using it, and it works fine for almost my needs.

In my app, I have a WCF REST Service that I use via Javascript.
In development enviroment all works fine.
In production machine with the utildev web server if I use "localhost" as machine name all works fine, if I use ip address or machine name the browser can't download the javascript definition of my WCF REST services.

Here it's the exception in eventlog:

WebHost: unable to process the request.
System.ServiceModel.Activation.HostedHttpRequestAsyncResult/64758626
Exception: System.ServiceModel.ServiceActivationException: No protocol binding for address 'http://10.0.0.36/Services/PlaceHolderService.svc/js'. The protocols binding are configured at site's level in the configuration of IIS or WAS. ---> System.InvalidOperationException: No protocol binding for address 'http://10.0.0.36/Services/PlaceHolderService.svc/js'

Thanks for any reply!

Ultidev Team
#2 Posted : Wednesday, December 17, 2008 5:23:55 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Thank you much for the positive feedback, we truly appreciate it.

The error you are seeing is related to the bug in WCF. We were in talks with Microsoft for a couple of weeks when we discovered the problem, but eventually they decided that this problem does not warrant any kind of quick fix. Hopefully next release of .NET Framework 3.x will address the problem. Until then only ASMX services are supported by UltiDev Cassini.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
timo77
#3 Posted : Thursday, December 18, 2008 12:03:07 AM(UTC)
Groups: Member
Joined: 12/16/2008(UTC)
Posts: 3

Thanks for your reply!

Ok, I changed way for my solution, for now, because I had to release my app.

In the new version I'm tring to use WCF basichttpbinding Services with SilverLight.
Does the bug exist for any kind of WCF services?

Thanks
Ultidev Team
#4 Posted : Thursday, December 18, 2008 4:19:44 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

Although we can't say for sure all kinds of WCF services won't work because we were unable to test that much, we think that most of WCF functionality relying on HTTP to receive inbound calls is likely to fail when hosted under UltiDev Cassini, until MS produces the fix.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
timo77
#5 Posted : Thursday, December 18, 2008 5:47:53 AM(UTC)
Groups: Member
Joined: 12/16/2008(UTC)
Posts: 3

Oky,
I'll try and I'll post the result.

Thanks.

Ultidev Team
#6 Posted : Thursday, December 18, 2008 7:25:40 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you! We will appreciate your information.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.