Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to create inboundport with http adapter that use SSL

(0) ShareShare
ReportReport
Posted on by

Hello,

i want to create a service that uses https.

I have configured the AIF port with indication of this link: help.sana-commerce.com/.../configure-web-services-to-use-ssl

 

Unfortunately, when i try to consume the service in VS, i get this error:

System.ServiceModel.EndpointNotFoundException was unhandled

  HResult=-2146233087

  Message=There was no endpoint listening at svldax6tweb.svlax.adds/.../xppservice.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

  Source=mscorlib

  StackTrace:

 

Can anyone help me?

Thank you very much,

best regards

Roberto

*This post is locked for comments

  • RE: How to create inboundport with http adapter that use SSL

    Two years ago we did setup an inbound port with ssl, we did have problems, I can't remember if it was the same than yours, at the end we solved it adding this lines in the iis web.config file:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <system.serviceModel>
    	<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
        </system.serviceModel>
        <system.webServer>
            <directoryBrowse enabled="true" />
        </system.webServer>
    </configuration>

    I followed the instructions in this link

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: How to create inboundport with http adapter that use SSL

    Maybe the code is incorrect, the way you want to consume the service might not be right.

    Explaining the steps you have done to refer the service and pasting the relevant code including the authentication methods and doing the service calls could help.

    Also did you make sure the user which you try to authenticate does exist in AX with system user+administrator rights?

  • RobertGanesh Profile Picture
    RobertGanesh on at
    RE: How to create inboundport with http adapter that use SSL

    Hi Wilmos,

    thank you very much for your answer.

    Windows firewall is off on both AOS server and IIS Web server and on the software firewall we have unblock the ports 80,8101,8201,http and https.

    AIF exception are not logged.

    Others ideas?

    Thank you very much

    Best regards, Roberto

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: How to create inboundport with http adapter that use SSL

    Windows firewall, software firewalls or a web proxy could all block consuming AIF ports. Check those settings. Also verify if you see anything in AX in the AIF Exceptions log.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans