Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Setting up PricePriceListService on an inbound port

Posted on by 300

I am trying to setup an inbound port to retrieve customer prices via the PricePriceListService Service operation over Http.

I have previously successfully setup a PricePriceDiscJounral service so attempted to copy the settings. The setup looks like this.

6320.D1.PNG

However when I try to activate the port I get the following error. The deployment website was not found for port:

4645.D2.PNG

Is this a setting issue within the Inbound ports, something else I've got to deploy to IIS, or something else.

Any help much appreciated

*This post is locked for comments

  • Verified answer
    richierich79 Profile Picture
    richierich79 300 on at
    RE: Setting up PricePriceListService on an inbound port

    Just to finish this thread I finally got it working using NetTcp with the following address "net.tcp://AOS_SERVICE_HOST/DynamicsAx/Services/PriceListService" and showing a WSDL URI of . "servername/.../PriceListService"

    I have no idea of how, I just kept tapping the side of the service with a hammer until it worked. I know this isn't helpful but thought I'd at least end the thread.

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Setting up PricePriceListService on an inbound port

    It's because of net.tcp on your URL.

    I suggest to debug the activation process and find the error's reason.

    I was try to create PricePriceListService port and get the same error. Then i debug it and suggested you to add /xppservice.svc at the address URL.

    After that the port got activated successfully.

    Put breakpoint to the getWebSiteUrl() method of AifWcfHttpAdapter class.

    I hope it will help.

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Setting up PricePriceListService on an inbound port

    Unfortunately that didn't work either but I did manage to get the port deployed.

    I changed to URI to "net.tcp://AOS_SERVICE_HOST/DynamicsAx/Services/PriceListService" and the port got activated successfully. Woohoo!!

    However the settings only show a URI, not a WSDL URL, which Im assuming I will need for the service ref? Any ideas why there's no WSDl URL>

    D7.PNG

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Setting up PricePriceListService on an inbound port

    Try to add /xppservice.svc at the address URL

    Screen-Shot-2018_2D00_09_2D00_11-at-15.07.25.png

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Setting up PricePriceListService on an inbound port

    It didn't. It has a "/" which I removed. Still the same error :-(

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Setting up PricePriceListService on an inbound port

    Check the URL field. If url contain "\" at the end, remove it.

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Setting up PricePriceListService on an inbound port

    I've setup the website with the location of the Web Application in IIS

    D6.PNG

    And I've changed the inbound port settings so the URI is the IIS server (this is not the same for PriceDiscJournal service). However I still get the same error :-(

    D6.PNG

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Setting up PricePriceListService on an inbound port

    You need to specify web site

    Screen-Shot-2018_2D00_09_2D00_11-at-13.03.01.png

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Setting up PricePriceListService on an inbound port

    Hi, thanks for your response

    There isn't one set up, see below.

    D4.PNG

    If this was a dependency why would the other service work? There is an AIF Application under the default website in IIS, but I don't know if that's relevant to this

    D4.PNG

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Setting up PricePriceListService on an inbound port

    What is your service url (System Administration > Setup > AIF > Website) ?

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!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans