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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Configure AX Web service

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a problem with a inbound port that i seems not able to configure. I'm in AX 2012 R2.

On my development machine (Windows 7), with the AOS and the IIS, when I click on Configure, I have the question message that said that the assembly ...TEMP\Microsoft.Dynamics.IntegrationFramework.webservice.Process.dll contains unsafe code. The SvcConfigEditor will execute a part of the code. If I say no, I have a warning that say that the type Microsoft.Dynamics.Ax.Services.Host.ClientEndPointBehaviorExtension has not been loaded...

If I say yes the Microsoft Service Configuration Editor open and it work perfectly and finally, the web service works.

 

BUT on a Windows Server 2008 for our clients services with the AOS and the IIS, when I click on Configure, I don't have any questions or warnings, but when the Microsoft Service Configuration Editor  open, some pieces seems missing like the clientEndPointBehavior and no default endpoint is created in the Services Folder.

I'd tried to create the missing part in the editor so an I can deploy. It work for the deployment but I can't make the web service working. It's like the web service can't reach the AOS.

 

If any of you have some ideas, I'll be very please. I'm a bit lost after one week of searching.

Thanks

 

 

*This post is locked for comments

  • Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    Check your AOS Server configuration.

  • Community Member Profile Picture
    on at

    Thanks Umesh,

    can you tell me what should I check exactly?

  • fsilva-jr Profile Picture
    20 on at

    Please check if the AOS service is started and if IIS is working fine.

    Also check if you have enought permission on the server.

  • Community Member Profile Picture
    on at

    The AOS running well and the IIS seems to work well since it host the Enterprise portal.

    For the permissions, can you be clearer on what should I check. I know for sure we have the right to deploy to the IIS folder because, I'm able to to it.

    It really seems that the main problem is the missing endpoint so the service couldn't communicate with the AOS.

  • fsilva-jr Profile Picture
    20 on at

    Are you able to refresh the wcf configuration from your AX Configuration Utility?

  • Community Member Profile Picture
    on at

    Yeah, but has I said in my first message, when I do it on the server, some default settings are missing like the clientEndPointBehavior and the server end point. And if I created it myself, I'm able to deploy the service, but it's not functionnal when I call a web method to the opposite on my other machiner where these default settings are present.

    thanks again for your great help!

  • fsilva-jr Profile Picture
    20 on at

    have you checked firewall configurations, because you are using another machine, cliente, to connect to the AOS maybe you can have a firewall problem.

  • Community Member Profile Picture
    on at

    No Firewall are active on each machine.

  • fsilva-jr Profile Picture
    20 on at

    It is possible for you to reinstall the web services componentes?

  • Community Member Profile Picture
    on at

    It's already been done many time. We try on other IIS server, on the same server of the AOS. We clone the virtual machine of the AOS to try. We made also a copy of the database where it was working to discard a data problem.

    The only hint that I have are the question that pop when I configure the web service on my dev machine and don't pop on the server. I was thinking that some setting unauthorize the server to execute the code in Microsoft.Dynamics.IntegrationFramework.webservice.Process.dll  without asking the question.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans