Questions? Feedback?powered byOlark live chat software
Bug 3168

Soap FAULT using httpclient 09 October, 2019

Walter Ruaro
08 August, 2019
Product: PowerBuilder Category: PowerScript
Version: 2019 Build:
Classification: Issue Publishing: Public
Priority: P3
Status: Closed Reason: FIXED
Tom Jiang @Appeon 09 October, 2019
Hi Walter,

I am glad it has resolved your issue. We will now proceed to close this ticket. 
Have a good day!


Tom Jiang
Walter Ruaro 09 October, 2019
Excellent Tom Jiang !!!!

It is what we were needing.

Many, thank you very much!!!!
Tom Jiang @Appeon 08 October, 2019
Hi Walter,

Sorry for the late reply on our side! We analyzed your code, if you want to get the SOAPFault message, you should still be able to get it using the GetResponseBody() method when you get the 500 in GetResponseStatusCode(). It will return the following in your test case. Is this what you are looking for? If it's not, please elaborate on what you want to achieve. Thanks! 

<?xml version="1.0" encoding="UTF-8"?>
			<faultstring>generationTime posee formato o dato inv&#xE1;lido (ej: en el futuro o m&#xE1;s de 24 horas de antig&#xFC;edad)</faultstring>


Tom Jiang
Walter Ruaro 07 October, 2019
I believe that the day and date should be suggested by you and fulfilled

The two times they suggested a schedule, we were waiting for them ... They never connected
Walter Ruaro 07 October, 2019
Dear Tom ..

I don't know if it's a bug or not, but the solution of using httpclient is not something useful

After two months of waiting for a consistent response, they ask us if we can close the ticket?
Tom Jiang @Appeon 04 October, 2019
Hi Walter,

HTTPClient is just an object for handling generic http requests. It is not a SOAP client nor does it understand SOAP or other protocols built on top of http. You will have to handle such cases by yourself based on the statuscode,  responsebody, etc. 

If you need suggestions on how to implement something like a SOAPClient, we suggest that you post such questions on As this is not a bug, please confirm if we can close this ticket. Thanks!


Tom Jiang
Ken Guo @Appeon 30 September, 2019
Hi Walter,

Sorry for replying so late.
We are working on reproducing/analyzing your case. I will keep you posted of the results here.

Walter Ruaro 30 September, 2019
good afternoon

We have had no response to this issue, and we have become critical.
Walter Ruaro 27 August, 2019
Good morning.

This issue is becoming critical.

We have migrated many of our integrations to HttpClient, but we need to be able to control SoapFault

Do you have any news on how we can handle the issue?

thank you
Walter Ruaro 16 August, 2019

Have any news about this teicket.

They consider that we can do some other test.

Thank you
Walter Ruaro 09 August, 2019 (73KB)

Hi Cedric.

I attached an example.

Within the ZIP you will see two images.

One shows the execution of the WS with SoapUI, where you can see the SOAPFault. And the other the error obtained in PowerBuilder.

If you do not get a value of 500 in GetResponseStatusCode, rerun the same WS. In that case we should get a SoapFault.

Thank you in advance for the help you can give us.

Best regards
Walter Ruaro
cedric.pernet 08 August, 2019
Hello Walter,
Could you please provide a functioning example code?
This is for analyzing the case and pinpoint the problem.

Walter Ruaro 08 August, 2019
Screenshot_97.png (34KB)

I attach the other image
Walter Ruaro 08 August, 2019
Screenshot_96.png (23KB)

We have started using httpclient and we find it very practical.

We would only be missing how to catch a SoapFault as shown in the following image.

The GetResponseStatusCode function returns us 500, but we failed to attract the SoapFault.

I would appreciate if you can guide us in this regard.

Thank you so much
Windows 10 
Database Type:
Microsoft SQL Server 
Database Version: