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?
I'd recommend looking at the Web Services Programmer's Guide here:
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,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148