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
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
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?
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156