Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Publish code unit in two services

Posted on by 330

7041.Capture.JPGCan we post same code unit in two web service names. Its giving me an error The web service cannot be added because it conflicts with an unpublished system web service object

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Publish code unit in two services

    You get the error because if you have the same object you are trying to publish is not published, in the above scenario he did not publish the first service before creating second one, so you need to publish it and then create a second service.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Publish code unit in two services

    Hi, did you manage to resolve this problem? As I am also struggling to find a resolution to this same error for the same reason.

    Thanks in advance.

  • CharithSilva Profile Picture
    CharithSilva 330 on at
    RE: Publish code unit in two services

    Need to post Sales order and invoice in two different situations (Post is the same for order and invoice) - situation 1 - creates the sales order and post and situation 2 - Create invoice(Direct) and post

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Publish code unit in two services

    Any specific reason for publishing single codeunit with multiple servicename ?

  • CharithSilva Profile Picture
    CharithSilva 330 on at
    RE: Publish code unit in two services

    added the error photo

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Publish code unit in two services

    Yes you can publish any no. service with same codeunit . please share the screenshot

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Publish code unit in two services

    Yes, you can as long as the servicename is different.  Can you send us the screenshot with the error

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans