Hi all,
Hopefully someone can point me in the right direction with this.
As per: http://stackoverflow.com/questions/11138460/another-the-remote-server-returned-an-unexpected-response-400-bad-request
I am attempting to configure the endpoints for a WCF service using Windsor 3.0 but am unable to do so.
Since posting this question on SO, I have discovered that streaming over WCF is not as straightforward as first thought, and have altered the contracts to reflect this.
The solution now uses Message Contracts to encapsulate the return information in the MessageHeader and returns only the Stream in the body.
However, the configuration for the endpoints results in a Bad Request (400) message, I am unsure where the configuration for the service is being taken, from the code I am attempting to configure the binding with, or from the web.config file, or somewhere else? This is primarily due to my inexperience with WCF.
Debugging the client code shows the injected service using the Streaming binding I specifiy, however I am unable to do the same for the service side. Changing just the Transport type to Buffered allows the service to be hit using these settings, however the requirement neccesitates a streamed binding for large file transfer.
Can anyone help?
Thanks in advance, Matt--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/dWclkuqCKDUJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
Any chance of sending me a test or program which I can run to help you out.
-craig
On Jun 26, 2012, at 4:33 AM, Matthew Tolliday wrote:
Hi all,
Hopefully someone can point me in the right direction with this.
As per: http://stackoverflow.com/questions/11138460/another-the-remote-server-returned-an-unexpected-response-400-bad-request
I am attempting to configure the endpoints for a WCF service using Windsor 3.0 but am unable to do so.
Since posting this question on SO, I have discovered that streaming over WCF is not as straightforward as first thought, and have altered the contracts to reflect this.
The solution now uses Message Contracts to encapsulate the return information in the MessageHeader and returns only the Stream in the body.
However, the configuration for the endpoints results in a Bad Request (400) message, I am unsure where the configuration for the service is being taken, from the code I am attempting to configure the binding with, or from the web.config file, or somewhere else? This is primarily due to my inexperience with WCF.
Debugging the client code shows the injected service using the Streaming binding I specifiy, however I am unable to do the same for the service side. Changing just the Transport type to Buffered allows the service to be hit using these settings, however the requirement neccesitates a streamed binding for large file transfer.
Can anyone help?
Thanks in advance, Matt--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/dWclkuqCKDUJ.
To post to this group, send email to castle-project-users@googlegroups.com.
To unsubscribe from this group, send email to castle-project-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/f9fyXHPncKMJ.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-u...@googlegroups.com.