I am trying to create client in dotnet 2008 c3 to access an web service created in weblogic 8.1.5
whcih has a security role
but in runtime i got the error
Unable to cast object of type 'MyWebService Object' to type 'Microsoft.Web.Services3.WebServicesClientProtocol'.
I wrote following code:
UsernameToken token = new UsernameToken(userName, password, PasswordOption.SendPlainText);
SoapContext requestContext = ((WebServicesClientProtocol) MyWebService_Object ).RequestSoapContext;
(here it give the error)
so please anybody can help?
View Complete Post