[英]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: 您可以通过以下两个步骤轻松更改服务命名空间:
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.