1. ANTONIO MOSCOSO
  2. PowerBuilder
  3. Wednesday, 12 February 2020 22:31 PM UTC

Hi Everyone!

I have a question about an error that 1 in 10 times occurs when I use an HTTPS web service created in .NET, does anyone have any idea why I have this error on some occasions that can help me? thanks.

 

Image:

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 26 May 2022 18:08 PM UTC
  2. PowerBuilder
  3. # Permalink
Hi Antonio; Its easy to change ... just replace your SOAP library with the .NET SOAP one ... for example: pbsoapclient190.pbd => pbwsclient190.pbd After that, redo (rebuild) your WS "proxies" via your PB "Proxy" project and then re-test. HTH ... Chris Note: Change 190 to nnn that matches your PB version.
Comment
There are no comments made yet.
Rodolfo Reyes Accepted Answer Pending Moderation
  1. Friday, 14 February 2020 16:55 PM UTC
  2. PowerBuilder
  3. # 1

Hi, 

Here is an example http://powerbuilderworld.blogspot.com/2012/09/calling-web-service-from-powerbuilder.html

How to Call a Web Service using .NET instead of EasySoap.

 

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 14 February 2020 17:51 PM UTC
What version of PowerBuilder are you using?
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 13 February 2020 00:06 AM UTC
  2. PowerBuilder
  3. # 2

Hi Antonio;

  Can you tell us ...

1) Is the .Net Web Service built in PB or VS?

2) Which side gets the error (WS or PB client)

3) Do you automatically retry the WS call? If so, does it work OK the 2nd time?

4) What PB feature are you using to interact with the WS?

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 13 February 2020 00:32 AM UTC
Hmmm ... EASYSOAP is the very old WS protocol (circa PB v8.0). PB also supports .NET Soap as well (circa PB v11.0). That should be transparent and might work better. The latest releases of Appeon PB can now use HTTP as another option but, that would require some code refactoring.
  1. Helpful
  1. ANTONIO MOSCOSO
  2. Thursday, 13 February 2020 13:47 PM UTC
Thanks Chris!!! Can you give me some example to do that, how to invoke a web service, in the way you tell me?
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.