Not a Problem

Error Invoking Web Service from Bizagi (Exception has been thrown by the target of an invocation. -Could not generate proxy source code for web service)

Good Morning,

I'm trying to execute my first process, but i'm having lot of issues.

My first problem occures when I try to invoke the web sevice from Bizagi:

When we access the web service in browser, it works fine but when we use it through our application it throws error.

Following is the Web Service URL:

http://www.webservicex.net/currencyconvertor.asmx

When I try to run the process I get the following errors:

Code error: 11860 Error processing Rule =10016; Error: Error Evaluating Rule 10016 - Error Error Evaluating Rule //_11:Variables Declaration var TotalTemp; //double var ExchangeRate; //double //__11 //_7:Assignment TotalTemp = (*) /100; //__7 //_6:CurrencyConvertor ExchangeRate = CWebService.invokeWS(/*_1*/"http://www.webservicex.net/currencyconvertor.asmx"/*_*/, /*_1*/"ConversionRate"/*_*/, /*_1*/[, ]/*_*/); //__6 //_7:Assignment = TotalTemp * ExchangeRate; //__7 - Error Exception has been thrown by the target of an invocation. -Could not generate proxy source code for web service. Please check that Web Service exists and it is working: Error: There was an error processing 'http://www.webservicex.net/currencyconvertor.asmx'. - There was an error downloading 'http://www.webservicex.net/currencyconvertor.asmx'. - The remote name could not be resolved: 'http://www.webservicex.net'. -Exception has been thrown by the target of an invocation..
----

Functional Information

Execution List

.Process Travel Request

.Activity Task3

.Error

Code error: 11859 Error on ProcessForm

Code error: 27734 Could not generate proxy source code for web service. Please check that Web Service exists and it is working: Error: There was an error processing 'http://www.webservicex.net/currencyconvertor.asmx'. - There was an error downloading 'http://www.webservicex.net/currencyconvertor.asmx'. - The request failed with HTTP status 407: Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ).

Could not generate proxy source code for web service. Please check that Web Service exists and it is working: Error: There was an error processing 'http://www.webservicex.net/currencyconvertor.asmx'. - There was an error downloading 'http://www.webservicex.net/currencyconvertor.asmx'. - The request failed with HTTP status 407: Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ).

It would be great help if you could assist me in resolving this error.

Thank you Very Much ..

Best Answer
photo

Dear Mayurpatil.wit

According to the posted error detail, we would recommend you to review if your company's network setup has some proxy restrictions for the outgoing connection to internet.

If this is so, please check with your IT team if the corresponding exception rules can be included for this access.

Accessing this web service from your browser is Ok, because it would be using your session's credentials.

Best regards,

photo
0

Dear Mayurpatil.wit

According to the posted error detail, we would recommend you to review if your company's network setup has some proxy restrictions for the outgoing connection to internet.

If this is so, please check with your IT team if the corresponding exception rules can be included for this access.

Accessing this web service from your browser is Ok, because it would be using your session's credentials.

Best regards,