1. equipe admdados
  2. PowerBuilder
  3. Monday, 25 April 2022 17:30 PM UTC

Hello everyone, I have a problem with my powerbuilder webservice, where for some reason I always get an error when giving retrieve, when I search for the query the result comes just like in print

 

ps: ignore the marked part

 



I added the part of the code that generates the result

Attachments (2)
ayman ahmad Accepted Answer Pending Moderation
  1. Thursday, 9 June 2022 16:55 PM UTC
  2. PowerBuilder
  3. # 1

I am facing the same problem, did you solve it ?

Comment
  1. equipe admdados
  2. Thursday, 9 June 2022 17:57 PM UTC
Unfortunately no, we even tested it with appeon analysts and came to the conclusion that it's a bug in the version
  1. Helpful
There are no comments made yet.
equipe admdados Accepted Answer Pending Moderation
  1. Tuesday, 26 April 2022 17:58 PM UTC
  2. PowerBuilder
  3. # 2
Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 27 April 2022 15:59 PM UTC
  1. Helpful
  1. equipe admdados
  2. Wednesday, 27 April 2022 16:43 PM UTC
Thank you so much for your help and attention Chris
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 27 April 2022 16:55 PM UTC
You are most welcome! ;-)
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 25 April 2022 19:57 PM UTC
  2. PowerBuilder
  3. # 3

Example WS DWO with a .Net helper DLL ... here is an example from PB2021 using a PB NVUO web service

Comment
  1. equipe admdados
  2. Tuesday, 26 April 2022 11:25 AM UTC
yes
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 26 April 2022 14:30 PM UTC
Very strange. I would now suggest creating a simple test case with a PB.Net WS and WS DWO - and then posting the test case here for the community to have a deeper look at.
  1. Helpful 1
  1. equipe admdados
  2. Tuesday, 26 April 2022 17:59 PM UTC
I replied with a simplified project, just a connection function and retrieve
  1. Helpful
There are no comments made yet.
equipe admdados Accepted Answer Pending Moderation
  1. Monday, 25 April 2022 19:18 PM UTC
  2. PowerBuilder
  3. # 4

I'm not consuming from any external application, just testing on the server itself through the brownser

Attachments (1)
Comment
  1. Chris Pollach @Appeon
  2. Monday, 25 April 2022 20:14 PM UTC
Does is work OK if you press the "Invoke" CB?
  1. Helpful
  1. equipe admdados
  2. Tuesday, 26 April 2022 12:53 PM UTC


no, the result is in the first print of the post
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 25 April 2022 18:00 PM UTC
  2. PowerBuilder
  3. # 5

Hi Equipe;

   By chance .. is this the old SOAP (now deprecated) based Web Service DataWindow?

Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Monday, 25 April 2022 18:27 PM UTC
Hi Equipe;

I thought so. FYI: Did you know that the WSDW feature is now deprecated & will be removed in PB2022?

In the meantime, it should still work in PB2021 Apps if the WS(s) you are communicating with are still using SOAP based and support TLS 1.0- 1.1.



Did you regenerate each of the WS DWO's DLL (if they are .NET based)?

PB.INI setting ...

[Data Window]

GenerateWSAssembliesOnCompile=YES

debug_ws_metadata=1



Regards ... Chris
  1. Helpful
  1. equipe admdados
  2. Monday, 25 April 2022 19:15 PM UTC
hi chris,



so, about the removal did not know yet, but at first we need to solve this current problem.



Regenerate DLLs? at first I use the ones that came with the installation, if that's what I understand.



I made the change inside the pb.ini, I don't know if only that would work, but it still didn't work, just in retrieve that is showing an error and returning this compiled code that I don't know where to adjust or if there is any configuration missing within the server.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 25 April 2022 19:54 PM UTC
Each WS DWO generates a DLL "Helper". The changes to the PB.INI that I mentioned earlier will make sure that the associated DLL that is related to the WS is rebuilt when you perform a Regenerate or Full Build on those DWO's. I'll post a screen capture in a minute. These old DLL's *must* be updated.
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.