Hi,
I’m struggling a lot trying to make calls to our Navision ERP, but I might not have the needed knowledge do fully understand what happens or where it fails.
I’ve tried searching the forum and google for tutorials and solutions, but I don’t think it’s actually helping me.
Where should I start to learn the basics of API calls? What is the mininmum to begin the work with API?
What is the normal procedure when trying to establish connections in UiPath?
And just for my understanding and clarification
Am I correct if I assume that the method in UiPath is these in SoapUI?
To be more specific I encounter the following issues when trying.
First of all, all the calls can be made in SoapUI, and Navision responds as expected.
This is how it looks in SoapUI
If I use Soap request in UIPath
I get this,
When trying to invoke I get this error;
My guess is that it’s because of the authentication is not done, in SoapUI I’m typing in User, Pass AND domain -where should that be done in the SOAP request, in the body, header or a third place?
As a sidenote - if I don’t invoke and just closes the wizard and tries to run the activity, I get an error saying - The HTTP Request is unathorized with client authentication scheme ‘Anonymous’. The authetication header received from the server was ‘NTLM’ - is this handled in Uipath by sending the authentication along the request or is it handled on the server?
When I actually receive an answer, what is the approach to take?
Make a Soap Request with method “read”, get the answer and parse it like an XML, and return the answer how? a new SOAP request with method “update” how should the parameters be, the body and the header as well?
In SoapUI the response on read is as below, then the responses can be copied and sent back as an “update” which is seen below the read response
And to send the information back the reponse on read I put in the responses in this
Which updates Navision succesfully.
I’m really stuck on this, I can make it work in Soap but no matter what I try in UiPath it fails.