Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF services on IIS/HTTP adapter question

(0) ShareShare
ReportReport
Posted on by 610

Hi,

I have successfully deployed my Inbound port to IIS.

I am now stuck in phase of consuming this web service. I know that in every single example on the web, one would write a small .NET application, add service as a reference and live long & happily ever after.

But I happen to have XSLT transform for every inbound request into AX - I am expecting messages in one XML format and transform it to AX-understandable XML.

So the question is: is it possible to send XML directly (via HTTP Post request) to this exposed service ?

I tried that already but I keep on getting HTTP 400  (Bad Request) all the time.

I tried sending a proper AX-XML message to the service's address, but result is the same.

Anyone had similar problem/task ?

Thanks,

Maciej

*This post is locked for comments

  • Maciej Obojski Profile Picture
    610 on at
    RE: AIF services on IIS/HTTP adapter question

    Hi,

    so I downloaded SoapUI and  generated sample operations - the format of the message was pure AX schema though. It appears like AOS will only apply transforms to File-based adapters, whilst HTTP adapters will not process any transforms.

    Or am I missing something?

    Maciej

  • Maciej Obojski Profile Picture
    610 on at
    RE: AIF services on IIS/HTTP adapter question

    Hi Artur,

    yes: I have the HTTP binding on IIS, so this should not be a problem.

    I am testing by small Visual Studio app - I have used 2 approaches up to now - one being WebClient method UploadString(), second WebRequest.

    But I'll download SoapUI and give it a try this way

    Thanks,

    Maciej

  • Community Member Profile Picture
    on at
    RE: AIF services on IIS/HTTP adapter question

    Hey Maciej,

    Do you have HTTP binding configured on IIS and seperate http inbound port?

    How are you testing the request? SOAPUI or other app?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans