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 are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Do I have to replace my SOAP Connection webservice in PB2019?
- Kalpana Snehi
- PowerBuilder
- Monday, 16 December 2019 17:56 PM UTC
- Monday, 16 December 2019 18:38 PM UTC
- PowerBuilder
- # 1
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.
- Kalpana Snehi
- Tuesday, 17 December 2019 07:40 AM UTC
-
Helpful Loading... Helpful 0
- Monday, 16 December 2019 19:39 PM UTC
- PowerBuilder
- # 2
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
- Chris Pollach @Appeon
- Thursday, 19 December 2019 17:45 PM UTC
I am a bit confused ... you do not need the "pbrestclient190" DLL if you are building a .Net SOAP based web service App. That DLL would only be required if you are converting over to a RESTFul based web service App.
Regards ... Chris
-
Helpful Loading... Helpful 0
- Ricardo Jasso
- Thursday, 19 December 2019 18:30 PM UTC
Kalpana,
You must make sure that pbwsclient190.pbd is included in the PBCLTRT190.msi. The installer builder is including the pbrestclient190.dll most probably because it is an integral part of PowerBuilder in the form of a DLL whereas the pbwsclient190.pbd is an optional extension.
Regards,
Ricardo
-
Helpful Loading... Helpful 0
- Kalpana Snehi
- Thursday, 26 December 2019 07:30 AM UTC
This issue is resoled now.
-
Helpful Loading... Helpful 0
- Monday, 16 December 2019 20:39 PM UTC
- PowerBuilder
- # 3
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
- Kalpana Snehi
- Tuesday, 17 December 2019 07:42 AM UTC
I am having problem in code itself not yet deployed.
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.