locked
BizTalk WCF receive, possible to change the SOAPAction name? RRS feed

  • Question

  • Building Biztalk to replace a webservice to receive vendor order, everything is fine but just realized today the default BizTalk receive soapaction is 'BizTalkSubmit', any way to change that? say to 'ReceiveOrder'?

    Thanks


    https://ninithepug.wordpress.com/

    Saturday, March 14, 2015 2:46 AM

Answers

  • You can modify the operation name as shown below and expose the BizTalk service again.

    Or if you wish to update the existing one.

    1. navigate to the ServiceDescription.xml file of the service. This would be generated by the BizTalk wizard. You can go to C:\Inetpub\wwwroot\[servicename]\App_Data\

    2.  Find the xml tag Operation and replace the value for name attribute from "BizTalkSubmit" to "ReceiveOrder" .

    3. Recycle the app pool.

    4. Browse the WSDL and it should have the new soapAction value.

    Rachit


    Please mark as answer or vote as helpful if my reply does

    Saturday, March 14, 2015 4:56 AM
    Moderator
  • If you are not expecting clients to browse the metadata, meaning the WSDL, then you don't need to do anything since the Action value, nor any other value really, is checked.
    • Marked as answer by Angie Xu Wednesday, March 25, 2015 7:29 AM
    Saturday, March 14, 2015 1:53 PM
    Moderator

All replies

  • You can modify the operation name as shown below and expose the BizTalk service again.

    Or if you wish to update the existing one.

    1. navigate to the ServiceDescription.xml file of the service. This would be generated by the BizTalk wizard. You can go to C:\Inetpub\wwwroot\[servicename]\App_Data\

    2.  Find the xml tag Operation and replace the value for name attribute from "BizTalkSubmit" to "ReceiveOrder" .

    3. Recycle the app pool.

    4. Browse the WSDL and it should have the new soapAction value.

    Rachit


    Please mark as answer or vote as helpful if my reply does

    Saturday, March 14, 2015 4:56 AM
    Moderator
  • If you are not expecting clients to browse the metadata, meaning the WSDL, then you don't need to do anything since the Action value, nor any other value really, is checked.
    • Marked as answer by Angie Xu Wednesday, March 25, 2015 7:29 AM
    Saturday, March 14, 2015 1:53 PM
    Moderator