Hello everyone,
I am migrating a PB2019 application that uses SOAP to PB2022. As SOAP has been deprecated in PB2022 can anyone suggest a strategy to replace the SOAP code with REST API?
Thanks in advance.
Hello everyone,
I am migrating a PB2019 application that uses SOAP to PB2022. As SOAP has been deprecated in PB2022 can anyone suggest a strategy to replace the SOAP code with REST API?
Thanks in advance.
From the little that I know of your authentication "Use Case:" requirements .. I think that you might want to use the SetCredentials() command ...
https://docs.appeon.com/pb2022r2/powerscript_reference/setCredentials_func.html
HTH
Regards ...Chris
Before the HttpClient object supports Windows authentication, could you use another supported authentication method? It usually depends on your Web Service.
If you have to use integrated Windows authentication, you can try some third-party HTTP Clients.
Such as ChilKat, refer to a similar topic here: https://community.appeon.com/index.php/qna/q-a/useintegratedwindowsauthentication-replacement-for-httpclient
If interested in .NET, you can also try the Calling the .NET Assembly feature (https://docs.appeon.com/pb2022r2/application_techniques/Calling_C_Assembly_in_an_Application.html) to leverage the other components from the .NET world.
Regards, Logan