Skip to main content

Notifications

Microsoft Dynamics GP forum
Suggested answer

Unable to access Microsoft Dynamics GP 2018 via WSDL

Posted on by 10

Hi,

We want to access Microsoft Dynamics GP 2018 from our Java application through SOAP request.  We are trying to access it via SOAP request using WSDL, but our request is failing with authorization issue. We are not sure about the namespace to use, we could not see the namespace details and how to send the request with proper namespace. We don't want to use econnect and  C# service based agents.

We are getting below error while accessing the service through Postman, (we have set the username and password in the authorization section):

"This error means that the security context token is either expired or is invalid, and the message was not processed. When a security session is established between servers, there is a one-time initial step that exchanges asymmetrically encrypted message"

Could you please advise how to access via SOAP request?

Is it possible to access GP 2018 from Java via SOAP request without using .Net?

  • Suggested answer
    RE: Unable to access Microsoft Dynamics GP 2018 via WSDL

    I'd recommend looking at the Web Services Programmer's Guide here:

    5483.WSProgrammersGuide.pdf

    This guide goes over the endpoints and WSDL as well as connecting to both the legacy and native endpoints for Web Services, along with information on creating, retrieving and updating objects in GP via Web Services.

    Let us know if you have any other questions.

    Thank you,

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans