Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Msxml2.XMLHTTP.6.0 Issue

$
0
0

Hi,

 

We have been using the MSXML object as a OLE to call REST services successfully. We can send the header and XML body as request and get back responses in a good fashion.

 

We also migrated to PB12.5.2 now with the same code in place and it has been functioning fine until....

 

User reported that a BULK operation is stopping at Row 4999 and it seems like the APP is not responding to anything.

 

On further investigation, we found that for every row in this module, we call REST service, it is almost like 2 REST calls in a second, it is pretty fast and it just waits for a success/failure HTTP status code.

 

While running this module in test, we had Fiddler open and could see the service being called, and on record 4999, the Fiddler request showed that there was ZERO bytes sent in the body of the XML. However, we have a log just before we call the "SEND" function which shows that the XML body was perfectly constructed, somehow the OLE Object crapped up and did not send anything, and PB code is just waiting for a response, which will never come through.

 

There is not much we can do about this since we know that the XML is being generated and passed into the send function. The OLE object is created and destroyed for every call, so there is no memory issue. (actually tried the other way NOT to destroy, but it did not work).

 

Is there any other option that we can use to call REST services. It is a classic PB version, and we cannot migrate to a .NET target right now.

 

Any help or guidance is highly appreciated.

 

Thanks,

Praveen


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>