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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

declaring web service.

(0) ShareShare
ReportReport
Posted on by

AX 2009.

Today at the morning, I succeed adding web service as the sample on http://www.microsoft.com/en-us/download/details.aspx?id=4462

I delete and add it several times (due problem 1: The app.config could not be found in the assembly location on the server. This is most likely due to code that is running on the client tier. Please execute code on the server tier)

 and now I cannot even create it (on every environment I have checked):

The remote server returned an error: (403) Forbidden. (problem 2)

What I do is on AOT -> Reference node -> Add service reference. put the URL, and enter a random namespace on rest of fields?

What may be the problem of the above (That just happened, without warnings ...)

How can I check whether this is related to security issue.

Thanks :)

*This post is locked for comments

I have the same question (0)
  • Bilal Issa Profile Picture
    4,370 on at

    Hi Eitan,

    for problem 2 can you please check if the firewall is turned off on the IIS server.

    Regards,

    Bilal

  • Community Member Profile Picture
    on at

    IIS server is currently active.

  • Bilal Issa Profile Picture
    4,370 on at

    I meant can you please make sure the firewall is turned off to avoid any blocking .

  • Community Member Profile Picture
    on at

    OK. I should add : ?wsdl on the end of web service name.

    After some workarround, I understood that app.config is generated and should be on a specific folder (also the <webservice>.dll) - Where should I declare them?

    Thanks :)

  • Verified answer
    Bilal Issa Profile Picture
    4,370 on at

    on the AOS server , please past the configuration file in the following path, and replace the appl name with your instance name.

    C:\Program Files\Microsoft Dynamics AX\50\Application\Appl\{appl name}\ServiceReferences\{service ref name}\

  • Community Member Profile Picture
    on at

    Hi Eitan, 

    how did you solve the problem?

    Thanks for your help.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans