consuming WCF service in InfoPath form:The remote server returned an unexpected response: (405) Method Not Allowed.


 

 

I was consuming a WCF service with wsHttpBinding in web based infopath form.

This error drove me nuts for sometime and adding myService.svc to http://server:8371/ on the client fixed the issue.

I was using the service inside code behind creating channel on the wcf service. My next post would publish steps to integrate forms and WCF services

Advertisements

Tags: ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: