Not able to Consume web service After upgrade

after upgrading the studio from 2019.x to 2021.x on enterprise edition , the config files are changed , and we are using a custom activity in our project on client side, which is mainly to connect to it’s web service which is .net , the activity is running fine before update and we are using service client model in Uipath.executor.exe.dll.config, but after the update this file is changed or renamed to Uipath.executor.dll.config, and now when we are trying to run the project there is an error in uipath.

“Search First_Name: Could not find endpoint element with name ‘SoapAct’ and contract ‘SoapAct’ in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.”

in the earlier version of config file these are the values we are using


		<binding name="SoapAct" >
		  <security mode="TransportCredentialOnly">
			<transport clientCredentialType="Windows"/>
	  <binding name="SoapAct1" >
		<security mode="TransportCredentialOnly">
		  <transport clientCredentialType="Windows"/>

	<endpoint address="<theUrl>"
		binding="basicHttpBinding" bindingConfiguration="SopAct"
		contract="SoapAct" name="SoapAct" />
	<endpoint address="<theUrl>"
		binding="basicHttpBinding" bindingConfiguration="SoapAct1"
		contract="SoapAct1" name="SoapAct1" />

but after update to studio 2021.x don’t know where to write this and run our project.

1 Like

Hey @Ashish_Parjapati

So basically you are passing a SOAP request?


yes, but another issue is that the server that containing this url doesn’t accept the call which i hit from the HTTP request method activity, there is an authentication issue . we used the request with the credentials , and still not able to call that method, that why we use this method.