I am trying to set a SOAP Request by using the WSDL File. The service should generate the request out of the WSDL-File and not as a static xml string.
So what I have done:
As the SOAP activity does not give me the possibility to insert additional authentication parameter beside of password and username. I have used the HTTP-Request, with a custom request xml string. However we want to ensure consistency with the updates in WSDL.
As Referred in: https://docs.uipath.com/studio/docs/loading-web-services-in-libraries
I have imported the web-service in my library.
While Importing, the preview is as follows:
However, I do not get the Input parameters, the activity needs.
Below some screenshots of the WSDL-File, I refer to:
How can I set the value of certain properties with the imported namespace ?
I would have to set the values for multiple properties. I already was able to access them via calls like: input = input.executerequest.kontext.insert… as displayed in the following screenshot:
However, this results in an error stating object reference not set to an instance of an object, since the variable input is null. How can I initialize it properly?
Thanks for your support!