Hello together,
I have some problems to call a web service with .NET 3.5 and InfoPath 2008.
The project (solution) implements a web service, which was automatically included as service reference from a WSDL. The service and therefore the file is provided by a JBoss instance, which is accessible through the browser. Visual Studio has created in this context, the app.config file.
When I instantiate this service in VS2008 with
ValidationServiceWSClient validationService = new ValidationServiceWSClient("ValidationServiceWS");
an error occurs with message
No standard endpoint was found for "ValidationServiceWS". Possible causes may be: no config file was found or no suitable endpoint found in the client element.
The automatically generated app.conf contains following entry in client element:
<client>
<endpoint address="http://<server-address>/ValidationServiceWS"
binding="basicHttpBinding" bindingConfiguration="ValidationServiceWSBinding"
contract="ValidationService.ValidationServiceWS" name="ValidationServiceWSPort" />
</client>
Has anybody an idea as the configuration to call the Web service should be properly? Does the parameters for ValidationServiceWSClient(string endPointAddress) are different? Are there examples anywhere?
Thanks for Your help.
Best regards,
Uwe