Bad Request 400. RRS feed

  • Question

  • Hi,

    I have a WF 4.0 project1 with xamlx file.

    In between receive and send Activity ,  I have a workflow with invoke methods and etc.

    I have a class file where I have written all my methods which are to be invoked in the Workflow.

    I have added this XAMLX project as service reference to another project2.

    I can able to create a object to the XAMLX and able to call the method of receive activity in the project2.

    Some times I am getting a bad request ERROR.

    I have made changes to config file and set the




    4.maxStringContentLength =2147483647



    7.maxNameTableCharCount=2147483647   these values to maximum allowed values.  No use.

    and tried setting

           TransferMode = "Streamed' and MessageEncoding="Mtom" . No use

    It is not with the size of the message , because for some combinations of data I can successfully execute the method up to 32 KB.

    But for some another combination even 5KB of data is not transferring.

    But one interesting point here is

    Insted of using the WF , If I call the method of the class directly by creating object to that class in Project2 I can successfully pass the message.

    Is there any problem with the WF 4.0 ? (OR) Am I doing anything wrong?

    Thanks in advance...






    • Moved by edhickey Thursday, September 22, 2011 2:34 PM (From:Windows Workflow Foundation 3)
    Wednesday, September 21, 2011 5:27 PM

All replies

  • Hi,


    Could you double check that this value is set to the right binding element.
    MSDN Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    This posting is provided "AS IS" with no warranties, and confers no rights. My Blog: http://xhinker.com
    Microsoft Windows Workflow Foundation 4.0 Cookbook
    Monday, September 26, 2011 3:37 AM
  • I am double sure.


    Monday, September 26, 2011 4:48 PM