E
eschneider
Hello,
I'm try to deploy my first WCF service. I used the VS Publish method, and VS
claims it worked fine.
However, my client gives me an error, but all works fine on my local
network.
Also I can't add a reference to my client to the real url.
Anyone know whats wrong?
Alos is there a newsgroup for WCF?
Thanks,
Eric
http://www.schneidersoft.com/CouponService/
System.ServiceModel.ProtocolException was unhandled
Message="The remote server returned an unexpected response: (405) Method
Not Allowed."
StackTrace:
at
System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyRespon
se(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory
factory, WebException responseException)
at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChann
elRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message)
at Microsoft.Tools.ServiceModel.CFClientBase`1.getReply(Message
msg)
at
Microsoft.Tools.ServiceModel.CFClientBase`1.Invoke[TREQUEST,TRESPONSE](CFInv
okeInfo info, FindCouponsRequest request)
at CouponServiceClient.FindCoupons(FindCouponsRequest request)
at CouponServiceClient.FindCoupons(CouponRequest request1)
at ShopWize.Client.CartForm.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at ShopWize.Client.CartForm.Main()
InnerException: System.Net.WebException
Message="The remote server returned an error: (405) Method Not
Allowed."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChann
elRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message)
at Microsoft.Tools.ServiceModel.CFClientBase`1.getReply(Message
msg)
at
Microsoft.Tools.ServiceModel.CFClientBase`1.Invoke[TREQUEST,TRESPONSE](CFInv
okeInfo info, FindCouponsRequest request)
at CouponServiceClient.FindCoupons(FindCouponsRequest request)
at CouponServiceClient.FindCoupons(CouponRequest request1)
at ShopWize.Client.CartForm.Form1_Load(Object sender, EventArgs
e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at ShopWize.Client.CartForm.Main()
InnerException:
I'm try to deploy my first WCF service. I used the VS Publish method, and VS
claims it worked fine.
However, my client gives me an error, but all works fine on my local
network.
Also I can't add a reference to my client to the real url.
Anyone know whats wrong?
Alos is there a newsgroup for WCF?
Thanks,
Eric
http://www.schneidersoft.com/CouponService/
System.ServiceModel.ProtocolException was unhandled
Message="The remote server returned an unexpected response: (405) Method
Not Allowed."
StackTrace:
at
System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyRespon
se(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory
factory, WebException responseException)
at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChann
elRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message)
at Microsoft.Tools.ServiceModel.CFClientBase`1.getReply(Message
msg)
at
Microsoft.Tools.ServiceModel.CFClientBase`1.Invoke[TREQUEST,TRESPONSE](CFInv
okeInfo info, FindCouponsRequest request)
at CouponServiceClient.FindCoupons(FindCouponsRequest request)
at CouponServiceClient.FindCoupons(CouponRequest request1)
at ShopWize.Client.CartForm.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at ShopWize.Client.CartForm.Main()
InnerException: System.Net.WebException
Message="The remote server returned an error: (405) Method Not
Allowed."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChann
elRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message
message)
at Microsoft.Tools.ServiceModel.CFClientBase`1.getReply(Message
msg)
at
Microsoft.Tools.ServiceModel.CFClientBase`1.Invoke[TREQUEST,TRESPONSE](CFInv
okeInfo info, FindCouponsRequest request)
at CouponServiceClient.FindCoupons(FindCouponsRequest request)
at CouponServiceClient.FindCoupons(CouponRequest request1)
at ShopWize.Client.CartForm.Form1_Load(Object sender, EventArgs
e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at ShopWize.Client.CartForm.Main()
InnerException: