This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Problem with a web service

essjay - Tuesday, February 7, 2012 8:20 AM:

Hi guys...

I've created my own Itemtype and configured/published a webservice for that item. I can see the web service information here:

localhost/.../Innovator.asmx

and can get the WSDL here:

localhost/.../Innovator.asmx

I've created a small Silverlight application and added my WSDL as a Service Reference.

I have created my Async call and executed the program. When my Silverlight app tries to contact the server I get the below error.

Can anyone shed any light on this?

Many thanks.{System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)}