MS Dynamics - Great Plains 2010 Connection Errors

Document created by paul_pasko Employee on Oct 24, 2012
Version 1Show Document
  • View in full screen mode
The MS Dynamics 2010 Connector via eConnect returns an error similar to the following:

Embedded message: Fatal error in Start Shape; Caused by: java.lang.NullPointerException

or 

Unable to browse connector: Error encountered generating object definitions: com.boomi.connector.api.ConnectorException: Unable to read WSDL from URL

or

Test execution of GP Account to SFDC Account completed with errors. Embedded message: Fatal error in Start Shape; Caused by: No web service description was found for GPWS execution. Your connection url may be invalid or your GP instance may not be configured properly

     The eConnect config file may need to have an HTTP port configured. This file should be located in the econnect install directory:

     (i.e.: C:\Program Files\Microsoft Dynamics\eConnect11.0\Service\Microsoft.Dynamics.GP.eConnect.Service.exe.Config)

Step 1:

     Backup the Microsoft.Dynamics.GP.eConnect.Service.exe.Config file.

Step 2:

     Modify the original file as follows:

     Check for the following and if missing, add the following under system.serviceModel/bindings/

     ...
     <bindings>
     <!-- added for Boomi-->
     <basicHttpBinding>
     <binding name="eConnectBasicHttpConfig" closeTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
     <security mode="TransportCredentialOnly">
     <transport clientCredentialType="Basic"/>
     </security>
     </binding>
     </basicHttpBinding>
     <!-- /added for Boomi-->

Step 3:

     Add the following endpoint under system.serviceModel/services behaviorConfiguration="eConnectServiceBehavior" name="Microsoft.Dynamics.GP.eConnect.Service">

     <!-- added for Boomi -->
     <endpoint address="EntityOperations" binding="basicHttpBinding" bindingConfiguration="eConnectBasicHttpConfig" name="eConnectServiceBasicHttpEndpoint" contract="Microsoft.Dynamics.GP.eConnect.IEconnect">
     <identity>
     <dns value="localhost"/>
     </identity>
     </endpoint>
     <!-- /added for Boomi -->

Step 4:

     Under <host>...<baseAddresses> add:

     <add baseAddress="http://localhost/Microsoft/Dynamics/GP/eConnect/" />

Note:

     If dealing with large documents is a possibility, adjust the buffer sizes at the top.

Step 5:

     Once the file is updated, restart the econnect service and then restart the atom.

     Verify that the wsdl has a new port definition at the bottom of the wsdl that looks similar to:

     <wsdl:port name="eConnectServiceBasicHttpEndpoint" binding="i0:eConnectServiceBasicHttpEndpoint">
     <soap:address location="http://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations"/>
     </wsdl:port>

     The wsdl is typically accessible at: http://localhost/Microsoft/Dynamics/GP/eConnect/mex to confirm that it is configured properly.

     (The embedded paths in the config file additions above and in the wsdl url above refer to localhost. If applicable, replace localhost with the ip / port of the GP machine. For example, if the atom is installed on the same machine as eConnect, the localhost should be recognized. If the atom is installed on a different server, you would replace localhost with the host name).

Note:

     We also recommend re-importing the Connector Operation which may be necessary to obtain the latest configuration.

Attachments

    Outcomes