D
Dominik
Hi there!
I am trying to invoke a method of a webservice that was created in
java. they provided a java client to test the service and everything
is fine, but I actually prefer C#
So I add a reference to this
webservice:
http://wortschatz.uni-leipzig.de/axis/servlet/ServiceOverviewServlet
Regarding to the description at http://wortschatz.uni-leipzig.de/Webservices/
I have to set "anonymous" as user and password. As the service itself
doesn't provide parameters for that, I added it as ClientCredentials
like this:
Baseform.BaseformClient baseForm = new Baseform.BaseformClient();
baseForm.ClientCredentials.UserName.UserName = "anonymous";
baseForm.ClientCredentials.UserName.Password =
"anonymous";
baseForm.Open();
Which worked fine so far, but I am not able to a call the method,
because it always tells me that I have to enter a username as well
(altough I do with the ClientCredetials).
My guess is that there are some interop problems with Java WebServices
and C#, as I can proove that the service itself works, I would like to
know, how I can manage to call the service from C#??
Thank you,
Dominik
I am trying to invoke a method of a webservice that was created in
java. they provided a java client to test the service and everything
is fine, but I actually prefer C#
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
webservice:
http://wortschatz.uni-leipzig.de/axis/servlet/ServiceOverviewServlet
Regarding to the description at http://wortschatz.uni-leipzig.de/Webservices/
I have to set "anonymous" as user and password. As the service itself
doesn't provide parameters for that, I added it as ClientCredentials
like this:
Baseform.BaseformClient baseForm = new Baseform.BaseformClient();
baseForm.ClientCredentials.UserName.UserName = "anonymous";
baseForm.ClientCredentials.UserName.Password =
"anonymous";
baseForm.Open();
Which worked fine so far, but I am not able to a call the method,
because it always tells me that I have to enter a username as well
(altough I do with the ClientCredetials).
My guess is that there are some interop problems with Java WebServices
and C#, as I can proove that the service itself works, I would like to
know, how I can manage to call the service from C#??
Thank you,
Dominik