简体   繁体   English

是否可以更改AX 2012 AIF WebService的目标名称位置?

[英]Is it possible to change the target namesplace of an AX 2012 AIF WebService?

If I create a AIF-WebService (custom or document) the targetNamespace is set to "http://tempuri.org/". 如果我创建AIF-WebService(自定义或文档),则targetNamespace设置为“http://tempuri.org/”。 Is it possible to change that? 有可能改变吗?

I've set the property "Namespace" in the service node in the AOT and I set in the configuration of the service the BindingNamespace in Service->ServiceName->Endpoints->DefaultServiceGroupEndpoint but that doesn't changed the targetNamespace. 我在AOT的服务节点中设置了属性“Namespace”,并在Service-> ServiceName-> Endpoints-> DefaultServiceGroupEndpoint中设置了BindingNamespace的服务配置,但是没有更改targetNamespace。

And I don't know if it matters, we use the IIS as webserver. 我不知道是否重要,我们使用IIS作为网络服务器。

You can easily change service namespace by doing two steps below: 您可以通过以下两个步骤轻松更改服务命名空间:

  1. Change "Namespace" property in the service node in the AOT. 更改AOT中服务节点中的“命名空间”属性。
  2. Promote changes to WCF by going to the AifService form and pressing "Refresh" button. 通过转到AifService表单并按“刷新”按钮来提升对WCF的更改。

Give it a minute and you will see change has taken its place. 给它一分钟,你会发现变化取而代之。

According to this article : 根据这篇文章

If you make any changes to a service, or if you add a custom service in the AOT, you must refresh the services for those changes to be reflected in AIF. 如果对服务进行任何更改,或者在AOT中添加自定义服务,则必须刷新服务以使这些更改反映在AIF中。

在此输入图像描述

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

相关问题 我的AIF Web服务中的SalesAgreementHeader [AX 2012]更新失败 - The update from my AIF Webservice for SalesAgreementHeader [AX 2012] fails AIF Web服务AX 2009-服务地址 - AIF WebService AX 2009 - Service Address AX 2009中无法使用AIF Web服务更新小数 - Can't update decimals with an AIF Webservice in AX 2009 如何在AX 2012中通过AIF创建简单的吸气剂? - How to make a simple getter via AIF in AX 2012? AX 2012 AIF服务的错误响应“无法转换部分或全部身份引用” - Error response from AX 2012 AIF Services “Could not convert some or all identity references” 将新的SalesLine添加到现有SalesOrder-MS Dynamics AX 2012-AIF(C#) - Add new SalesLine to existing SalesOrder - MS Dynamics AX 2012 - AIF (C#) 通过AIF Web服务导入BOM表时如何从号码序列中获取连续号码-AX 2012 - How to get continous number from number squence when import BOM via AIF web service - AX 2012 使用Microsoft AX 2012 R2发布的Web服务 - Using Microsoft AX 2012 R2 published webservice 在VS 2012和Windows 8中使用WebService目标时,NLog无法生成SOAP - NLog not generating SOAP when using WebService target in VS 2012, Windows 8 使用 AIF Web 服务连接到 Microsoft Dynamics AX 2009 - Using AIF webservices to connect to Microsoft Dynamics AX 2009
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM