1. Carlos Romero
  2. PowerBuilder
  3. Sunday, 15 April 2018 20:15 PM UTC

Can I consume a web service developed in PB 2017 in SOAP and in REST at the same time?

Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 16 April 2018 09:04 AM UTC
  2. PowerBuilder
  3. # 1

Hi Carlos,

they will have 2 different endpoints, so you can certainly consume both of them.
Of course you need to create only one PB NVO and deploy (publish) it as SOAP or REST service.

Some notes:

  • in order to consume the 2 WSs, you will need to create a PB .NET WS proxy or a PB RESTclient, respectively. This is already possible in current PB 2017 R2.
  • in order to create the 2 WSs, you need to deploy a PB .NET WS target (already doable in PB 2017 R2) or a C# Web API for the REST service (PB 2018).

Best,

Marco

Comment
  1. Carlos Romero
  2. Monday, 16 April 2018 14:28 PM UTC
So, from what I see now I can not develop a WS to consume it with REST?



it's True?

  1. Helpful
  1. Armeen Mazda @Appeon
  2. Monday, 16 April 2018 22:06 PM UTC
You can use the current .NET features of PB 2017 R2 to create a .NET assembly and then you would need to use Visual Studio to create a REST wrapper around it.  As Marco mentioned, in PB 2018 Appeon will be doing revamp to PB's .NET features so you would be coding directly in C# and publishing REST Web API without having to use Visual Studio workaround.

  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.