supertobi
supertobi

Reputation: 334

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/". 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.

And I don't know if it matters, we use the IIS as webserver.

Upvotes: 1

Views: 1568

Answers (1)

zadorski
zadorski

Reputation: 71

You can easily change service namespace by doing two steps below:

  1. Change "Namespace" property in the service node in the AOT.
  2. Promote changes to WCF by going to the AifService form and pressing "Refresh" button.

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.

enter image description here

Upvotes: 4

Related Questions