web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Changing target namespace in AIF

(0) ShareShare
ReportReport
Posted on by 435

Hi All,

Did anyone know how to change target namespace in the service generated by AIF?

I've changed the "Namespace" properties in the Service in AOT, but it only change the namespace in the WSDL, not the target namespace.

Thank you in advance.

--

Regards,

Esther Mulijono

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Changing target namespace in AIF

    Hi,

    i am also facing the same issue not able to change the Target Namespace.

    For Ex: schemas.microsoft.com/.../dellreqsprequest"

    I want to Correct the naming convention of "dellReqSPRequest", because from the Biz talk end we coded in the same way, while we are trying to send outbound message it's getting invalid in B.T Server due to case Sensitive.

    Perhaps i verified all the Class, Table & the Macro used to send out the XML everywhere i used  "dellReqSPRequest" and Refresh the AIF service but still when i am looking into the Schema it still Show in small letter. 

    I tried to modify it AIFDocumentSchemaTable Document name but after it when i tried to view the Schema it's giving me another error as "Document name should match with dellreqsprequest"

    Martin Waiting for your Response. 

  • Esther Mulijono Profile Picture
    435 on at
    RE: Changing target namespace in AIF

    Hi Srinath,

    I've refresh the service but it only change the namespace, not the target namespace.

  • Suggested answer
    Srinath Sundaresan Profile Picture
    510 on at
    RE: Changing target namespace in AIF

    If you need to change the target namespace for the service in wsdl.

    You may need to refresh the service after changing the namespace property of service.

    Go to the AifServiceForm and click the refresh button.

  • Suggested answer
    Martin Dráb Profile Picture
    235,876 Most Valuable Professional on at
    RE: Changing target namespace in AIF

    I think it needs to be set in ServiceBehavior attribute and AX doesn't use this attribute in service classes, therefore you would have to change the class generator (which is possible, although you obviously must be careful).

    Nevertheless I didn't spend much time with the investigation, so I may be wrong.

  • Esther Mulijono Profile Picture
    435 on at
    RE: Changing target namespace in AIF

    Hi Martin,

    I'm trying to change the targetNamespace in the WSDL definitions tag.

    <wsdl:definitions name="RoutingService" targetNamespace="http://tempuri.org/&quot; ... xmlns:tns="http://tempuri.org/&quot; ... >

  • Martin Dráb Profile Picture
    235,876 Most Valuable Professional on at
    RE: Changing target namespace in AIF

    Which namespace are you trying to replace?You'll probably have to transform the file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans