on 10-28-2013 7:43 PM
Hi All,
Trying to call a webservice function but keep getting an application terminated error.
"Error: Exception thrown has not been handled. : System.InvalidCastException"
What is the best way to capture and handle this error without the application stopping? Tried to create a custom object of Error, Exception, RunTimeError and Throwable but have gotten no where.
Using PB 12.5.2 with a build of 5883.
Thanks,
Stuart
Hi Stuart;
Can you tell us ...
1) PB.Net or PB Classic
2) MS-Windows version
3) 32 or 64 bit O/S
4) How are you calling the WS?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1 - Classic
2 - Windows 7 Professional
3 - 64 bit O/S
4 - I have created a proxy, instantiated as an object and am using the function as defined. In this case it a SalesForce WSDL and I am using the upsert function. It is defined as upsert(string externalfieldid, sobject sobject[]). It wants a concrete entity type for the SObject[] so in this case I am using Contract. When I call the function, it passes back the error.
Stuart
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.