Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

AIF webservice - xsd:import schemaLocation not public

Posted on by 20

Hi everyone,

We have a couple of AIF webservices. When i access the service wsdl file, I see that the imported XSDs are referred to the following way:

<computer>.<windowsdomain>.local/path/filename.svc?wsdl

I would expect it to be referred either by the relative path, or by the domain name.

I guess that this is just a IIS setting - but I have no clue about where to make this setting.

Any ideas?

/ Simon

*This post is locked for comments

  • Re: AIF webservice - xsd:import schemaLocation not public
    When you access a service wsdl file the references are generated dynamically and depend on the URL you use to access a service. There's usually a code like this:
    <contractRef ref=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(SPWeb.OriginalBaseUrl(Request) + "?wsdl"), Response.Output); %>

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans