Hello Guys!
I'm trying to compare the performance between PB Classic and PB .NET (both 12.6) when calling a WebService, fetching a DataWindow Blob. The stripped down PB Classic code looks like this (works fine):
conn = create SoapConnection
conn.CreateInstance(lws, 'n_ws01')
lws.of_getempdwblob02( ref theblob[], ref ll_servertime )
dw_1.SetFullState(blob(theblob[]))
The .NET code looks like this:
_client = create soapapi.proyy_ws01_n_ws01SoapClient
_client.of_getempdwblob02( ref theblob[], ref ll_servertime )
dw_1.SetFullState(blob(theblob[]))
The SetFullState fails and returns -1. I've compared data in theblob[] array, and it looks identical between Classic and .NET PB. Anyone having a tips on how to use SetFullState in the .NET version?
P.S. DataWindow Retrieve method with source set as a WebService, works fine in both Classic and .NET
TIA