简体   繁体   English

没有端点监听GPService可以接受该消息。 这通常是由不正确的地址或SOAP操作引起的。

[英]There was no endpoint listening GPService that could accept the message. This is often caused by an incorrect address or SOAP action.

Dynamic GP 2013 Setup successfully done at server (Windows Server 2008 R2). 动态GP 2013安装程序已在服务器(Windows Server 2008 R2)上成功完成。 Database auto created on SQL Server 2008 R2. 在SQL Server 2008 R2上自动创建的数据库。 Services are created and these are running. 服务已创建并且正在运行。

Taking a console application on Visual Studio 2012 and added the Web Service of Dynamic GP. 在Visual Studio 2012上使用控制台应用程序,并添加了Dynamic GP的Web服务。 http://MyDomainName:48620/Dynamics/GPService/mex

Use a sample code to test which are given bellow: 使用示例代码来测试以下内容:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using  WebServiceConsoleApp.DynamicGPAtTen;
using System.ServiceModel;

namespace WebServiceConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            CompanyKey companyKey;
            Context context;
            Vendor vendor;
            VendorKey vendorKey;
            Policy vendorPolicy;

            // Create an instance of the service
            DynamicsGPClient wsDynamicsGP = new DynamicsGPClient();

            // Create a context object with which to call the web service
            context = new Context();

            // Specify which company to use (sample company)
            companyKey = new CompanyKey();
            companyKey.Id = (-1);

            // Set up the context
            context.OrganizationKey = companyKey;

            // Create a new vendor key
            vendorKey = new VendorKey();
            vendorKey.Id = "TstVndr0001";

            // Populate the vendor object
            vendor = new Vendor();
            vendor.Key = vendorKey;
            vendor.Name = "TestVendor0001";

            // Get the create policy for the vendor
            vendorPolicy = wsDynamicsGP.GetPolicyByOperation("CreateVendor",  context);

            // Create the vendor
            wsDynamicsGP.CreateVendor(vendor, context, vendorPolicy);

            // Close the service
            if (wsDynamicsGP.State != CommunicationState.Faulted)
            {
                wsDynamicsGP.Close();
            }
        }
    }
}

After running application it gives following error message: 运行应用程序后,它给出以下错误消息:

There was no endpoint listening at http://MyDomainName:48620/Dynamics/GPService/GPService that could accept the message. This is often caused by an incorrect address or SOAP action.

Any idea to solve? 有什么想法要解决吗?

Detail info on Image 图片上的详细信息

在此处输入图片说明

Windows Services Windows服务

Check that the following Windows Services are running (Start > All Programs > Administrative Tools > Services): 检查以下Windows服务是否正在运行(开始>所有程序>管理工具>服务):

  • Microsoft Dynamics GP Service Host Microsoft Dynamics GP服务主机
  • eConnect for Microsoft Dynamics GP 2013 Integration Service eConnect for Microsoft Dynamics GP 2013集成服务

Check Legacy version by opening the following URL in your browser: 通过在浏览器中打开以下URL来检查旧版本:

http://MyDomainName:48620/DynamicsGPWebServices

Check Native version by opening the following URL in your browser: 通过在浏览器中打开以下URL来检查本机版本:

http://MyDomainName:48620/Dynamics/GPService

Not working? 不行吗

If neither are working try checking all of these things: http://support.microsoft.com/kb/950844 如果两者都不起作用,请尝试检查所有这些内容: http : //support.microsoft.com/kb/950844

Please let us know if you hit any issues at any stage of the above... 如果您在上述任何阶段遇到任何问题,请告诉我们...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 {0} 处没有侦听端点可以接受消息。 这通常是由不正确的地址或 SOAP 操作引起的。 (Xamarin 安卓) - There was no endpoint listening at {0} that could accept the message. This is often cause by an incorrect address or SOAP action. (Xamarin Android) 在 net.tcp://url 上没有侦听端点可以接受消息。 这通常是由不正确的地址或 SOAP 操作引起的 - There was no endpoint listening at net.tcp://url that could accept the message. This is often caused by an incorrect address or SOAP action 没有端点可以在https://…上侦听该消息。 这通常是由错误的地址或SOAP操作引起的 - There was no endpoint listening at https://… that could accept the message. This is often caused by an incorrect address or SOAP action ASP核心“没有在[url]上侦听的终结点可以接受该消息。 ” - ASP Core “There was no endpoint listening at [url] that could accept the message. ” 没有端点在听……可以接受该消息 - There was no endpoint listening at…that could accept the message wcf-代码中的客户端绑定-错误:“没有端点监听.svc来接受消息。” - wcf - Client Binding in Code- Error : “There was no endpoint listening at .svc that could accept the message.” 没有端点侦听 (url) 可以接受消息 - There was no endpoint listening at (url) that could accept the message WCF:没有端点在侦听,可以接受消息 - WCF: There was no endpoint listening at, that could accept the message 没有端点监听 <url> 可以接受消息 - There was no endpoint listening at <url> that could accept the message 使用WCF Web服务时“没有侦听端点可以接受消息” - “There was no endpoint listening at that could accept the message” when consuming WCF web service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM