1. Moshe Tangi
  2. PowerBuilder
  3. Tuesday, 16 June 2020 15:11 PM UTC

Hi all

 

I am trying to consume a wcf ws with httpclient object ( working with pb2017 r3 )

The vendor didn't give me the xml format to build my request but I have the wsdl file.

How do I convert my wsdl to an xml one in order to use with Httpclient object ?

 

the wsdl file is attached

 

for example I need to use the function : OpenAndUpdateAccount.

I know it receives an object as an argument and returns an object .

I also know the fields in both objects ,

what I don't know is : How do I build the right string for the Httpclient request ?

maybe there is an auto  converting  or something like that ?

Thanks

 

 

Attachments (1)
Kevin Ridley Accepted Answer Pending Moderation
  1. Tuesday, 16 June 2020 16:20 PM UTC
  2. PowerBuilder
  3. # 1

In addition to what Armeen said, I also like to use SOAPUI and a monitoring tool like Fiddler.  Once you get it working with SOAPUI, you just trap the request with Fiddler, then recreate it using the HTTPClient.  I didn't look at the articles, hopefully I didn't duplicate what was in there.

 

Kevin

Comment
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.