We are having a SOAP Connection build in PB12.5 for a webservice but in PB2019 its not getting connected giving error, what should I need to do?
We are having a SOAP Connection build in PB12.5 for a webservice but in PB2019 its not getting connected giving error, what should I need to do?
You should probably mention if you are having trouble in the IDE or deployed exe. As Chris mentioned, you need the newer pbwsclient190.pbd or import the same name .pbx file into a pbl, althought they may migrate up into PB2019 ok. You definitely need the pbwsclient190.dll with your deployment. As Armeen mentioned, the preferred current method is to use the HTTPClient, or even better, if the web service provider offers a REST service for this same function, there's lots of options for that as well.
Kevin
Hi Kalpana;
When you migrated to PB 2019 from PB 12.5.x, did you replace the SOAP Web Service library "pbwsclient125.pbd" with the PB2019 equivalent - "pbwsclient190.pbd"?
Regards ... Chris
Do you mean you are calling a SOAP service or you are creating a SOAP service with PowerBuilder?
If you are calling a SOAP service, the obsolete SOAP client is still in PB 2019, it is just an "obsolete" feature so customers should migrate away from it. At a minimum, it poses a security risk since it doesn't support TLS 1.2.
You can use the new HTTPClient object to act as a SOAP client. This article may be useful: https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/236-call-soap-web-services-using-httpclient-object
Anyway, the obsolete client should still work. You would need to provide more info so we can try to help troubleshoot.
I am having problem in code itself not yet deployed.