2012-12-11 45 views
1

我想配置AX 2012 R2,實時服務(而不是Web服務),但是從POS庫存查詢請求時,它給出了一個錯誤,在POS實時服務在AX 2012不工作R2

錯誤號:13010無法連接到交易服務,

我檢查事件日誌,其中顯示瞭如下細節:

LSRetailPosis.TransactionServices.InvokeMethod:System.ServiceModel.ProtocolException:試圖創建一個渠道轉換爲不支持.Net框架的服務。 ---> System.IO.InvalidDataException:預期的記錄類型'PreambleAck',找到'46'。

下面是我的零售總部設置:

  1. Firewall is completely off. 

      2. RTS conguration: 

          Server:AX12-Test 

          Port:1239 

          Protocol:net.tcp 

          Passphrase: i have tried all possbile passphrases. 

          language: en-us 

          Realtime service version: AX 2012 R2 

      3. Service is listening on the 1239 port number. 

      4. As soon as i click inventory lookup atp pos error appears: error number: 13010 could not connect to the transaction service, 

      5. then i looked into the eventlog which showed the following error: 
  1. 下面是此交易服務配置文件設置:

<add key="Port" value="1239" /> 

<add key="UseAX" value="1" /> 

<[email protected]:AOSPORT--> 

<add key="ObjectServer" value="[email protected]:2712" /> 

<!-- When both IPV4 and IPV6 are available, set to true to use IPV6. Default value is false. --> 

<add key="PreferIPV6" value="false" /> 

<add key="RetailTransactionServiceAX61" value="RetailTransactionServiceAX61" /> 

<add key="ClientSettingsProvider.ServiceUri" value="" /> 

<supportedRuntime version="v4.0" /> 

<sources> 

    <!-- this registers the listener with traces from a specific source --> 

    <source name="TransactionServiceTracer" switchValue="Error"> 

    <listeners> 

     <add name="xmlListener" type="TransactionServicesLib.EnvironmentVariableXmlTraceListener, TransactionServicesLib, Version=6.2.0.0, Culture=neutral, processorArchitecture=MSIL" initializeData="%AppData%\RetailTransactionService.svclog" traceOutputOptions="ProcessId, ThreadId, Timestamp" /> 

     <remove name="Default" /> 

    </listeners> 

    </source> 

</sources> 

回答

2

對於喲您的查詢,回答爲 - 在交易服務配置文件中將實時服務版本設置爲AX 2012 Feature pack


步驟,用於使用由R2提供其通過Web服務公開功能包Commerce數據交換實時服務(正式交易服務)而不是一個。

Step 1: Check following service is installed and running. 
    - Microsoft Dynamics AX Commerce Data Exchange: Real-time Service 6.1 

Step 2: Configure key="ObjectServer" value="[email protected]:AOSPORT" settings at following file 
    - C:\Program Files (x86)\Microsoft Dynamics AX\60\Commerce Data Exchange\Real-time Services\6.1\Bin\RetailTransactionService.exe.config 

Step 3: In AX go to retail->setup->channel integration ->real time service profiles 

設置以下參數:

Server : "ServerNameHostingThis Service" 
Port : "1239" 
Protocol: "net.tcp" 
PassPhrase : "PassPhrase" 
Real time service version to "AX 2012 Feature pack" 
相關問題