none
SAP WCF - Getting incorrect action when trying to send a RFC to SAP RRS feed

  • Question

  • SAP WCF - Getting incorrect action when trying to send a RFC to SAP


    I am trying to send a rfc and i am getting this message below.
    Does anyone know the correct action i need to use?


    Event Type:        Warning

     

    Event Source:    BizTalk Server 2006

    Event Category:                BizTalk Server 2006

    Event ID:              5743

    Date:                     7/6/2009

    Time:                     3:02:26 PM

    User:                     N/A

    Computer:          saptestbox

    Description:

    The adapter failed to transmit message going to send port "WcfSendPort_SAPBinding_Rfc_Custom" with URL "sap://CLIENT=200;LANG=EN;@a/saptest/90?ListenerGwServ=sapgw90&ListenerGwHost=saptest&ListenerProgramId=testE1D200&RfcSdkTrace=False&AbapDebug=False". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

      <Operation Name="_x002F_SIE_x002F_E_MM_INVENTORY_INTF" Action="http://Microsoft.LobServices.Sap/2007/03/Rfc/_x002F_SIE_x002F_E_MM_INVENTORY_INTF" />

    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions.

     

    Server stack trace:

       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)

       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)

       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)

       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)

     

    Exception rethrown at [0]:

       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".

     

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

     

     

    Monday, July 6, 2009 7:33 PM

Answers

  • In the BtsActionMapping set Operation Name to the name of your logical port in the orchestration.
    Please search for 'Incorrect Action' in this troubleshooting page, where the cause and resolution of this problem is explained.

    Hope this helps!

    Thanks,
    Jeevitha

    Monday, July 6, 2009 8:32 PM

All replies

  • In the BtsActionMapping set Operation Name to the name of your logical port in the orchestration.
    Please search for 'Incorrect Action' in this troubleshooting page, where the cause and resolution of this problem is explained.

    Hope this helps!

    Thanks,
    Jeevitha

    Monday, July 6, 2009 8:32 PM
  • Thank you. The issue was I did not use an orchestration to know the operation value. Once I created the operation and used the operation name in the action it worked fine.
    Tuesday, July 14, 2009 5:55 PM
  • I am getting same error even after using the same operation name  in logical and  in action on physical port as in Binding file created by adapter

    Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: Incorrect Action <BtsActionMapping>

    <Operation Name="Send" Action="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ORDERS05//711/Send"/>

    </BtsActionMapping>. Correct the specified Action, or refer to the documentation on the allowed formats for the Actions. Note that Actions are case-sensitive.

    Thursday, August 27, 2009 7:30 PM
  • It's working now.
    Thursday, August 27, 2009 7:59 PM
  • Hi pkakrecha

    What did you do to fix it?

    Regards

    John

    Friday, June 6, 2014 5:56 AM