on 12-30-2014 4:44 AM
We have web service written in java that can be successfully invoked through normal http using EasySoap. But having problem invoking through https.
Getting this error.
It is working well with SoapUI through https.
We have PB 11.5 professional and we are testing web services with PowerBuilder 12.5.2 Build 5006 Evaluation software.
Please help.
Thanks,
John
Hi John;
1) Did you use the .NET versdion of the SOAP Connection class?
2) Did you set the Client certificate via the SetClientCertificateFile method?
3) Did you use the SetOptions method to set the UserID and Password?
4) Did you use the Authentication Mode properly?
FYI: http://msdn.microsoft.com/en-us/library/aa833874(VS.80).aspx
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FWIW, the WSDL is not the issue. Nor are the data types involved. At least not yet.
The issue is that the client is having trouble establishing an SSL connection to the server hosting the service. You might want to try using Fiddler or Charles to monitor the service call and see what is going wrong in the SSL connection attempt.
Also, PowerBuilder uses OpenSSL libraries to make SSL connections. It's a widely used set of libraries, and you may find that you have several on your machine. You might want to check to make sure that there is only one (the latest) that all of the applications see. If PowerBuilder is picking up an older version of OpenSSL than it's own, it might explain the issue with the SSL connection.
I'm pretty sure that support for HTTPS web services calls is not available in PB Classic. You may need to use PB.Net and explore its support for WCF web service calls.
-Paul Horan-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No - you don't have to migrate your entire app to PB.Net.
has more experience here (and I haven't tried this myself), but I think you can use PB.Net to "wrap" the call to the secure web service, and deploy it as a .Net assembly. Your PB Classic app would instantiate your PB.Net assembly as a COM-callable wrapper.
In PB.Net, create a new .Net assembly. Add an custom non-visual object, and add a WCF client proxy project that invokes your web service.
-Paul-
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.