Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Create method not showing for SOAP web service

Posted on by 3,945

Hi Experts,

In visual studio 2013 we are using SOAP web service to read data from Sales invoice header table and it got succeeded. Now we want to write data into same table but for us "Create" method is not showing in visual studio 2013 and browser also. So, kindly suggest us the solution to write data into navision 2013 using SOAP.

Thanks in advance.

*This post is locked for comments

  • Suggested answer
    CharithSilva Profile Picture
    CharithSilva 330 on at
    RE: Create method not showing for SOAP web service

    Try creating web service again with a different name. Create method is a basic and it should be there definately, i never had a problem with create and update method

  • Gautam Profile Picture
    Gautam 3,945 on at
    RE: Create method not showing for SOAP web service

    Hi Charith,

    yes we have done the same, but the issue is that when we are checking that SOAP url in browser there also create is not available.

    Thanks

  • Suggested answer
    CharithSilva Profile Picture
    CharithSilva 330 on at
    RE: Create method not showing for SOAP web service

    Have you done like this (Below are the main code lines you need)

    Dim service As New PostSalesOrder_Service

    service.Url = webservicepageurl & "PostSalesOrder"

    service.UseDefaultCredentials = True

    Dim newOrder As New PostSalesOrder

    service.Create(newOrder)

    -----at the end

    service.Update(newOrder)

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans