 |
|
 |
Hi ,
How to acheive the same stuff through WCF service with .net framework 4?
|
|
|
|
 |
|
 |
Thanks Abhi,
But will you please let me know how to get "Service1Wse". I am getting an error for this class
Please let me know as soon as possible
|
|
|
|
 |
|
 |
Hi Abhishek,
I read your article and found it interesting. However I have a query, I basically want to initiate a single sign-in sort of mechanism between my client application and server. Basically something like we use for SQL Server authentication (Windows logged-in user account). I want to provide my client application the option of saying use windows authentication, now when this login request/connection request hits the server. Server should be able to validate this Token and then allow client access to resources based on the token.
I would appreciate if you can help me on this.
Regards,
Aditya
|
|
|
|
 |
|
 |
i have created a web service and client for the same and using username token "UserNamePolicy".when i exceute the code it throws and Web Service Error ->Specified arguemnt was out of range of valid Values
Parameter name:policy "UserNamePolicy"is not configured in the System. Kindly help
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
 |
Hi Kitu,
could not answer ur mail as ur settings did not allow me to send mails.. so answering here..
i guess u r using wse 3.0 for implementing security.
u have to go thru the entire wizard to create the policy file properly. also open the policy file created and check whether non allowed values have been added into the xml file.
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
 |
Hi,
I use a standalone soap service (without IIS) running as a Win32 service on a number of xp
systems.
How can I use soap security (signing and/or encryption) in this case, so without IIS?
greetings
Rob
|
|
|
|
 |
|
 |
if u r running standalone soap services then u can add the security headers directly to the soap message.. u do not need to know what protocol is being used to communicate
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
 |
Could you suggest/write an article on how to do this with WSE 3.0?
Don't worry, nobody lives forever.
|
|
|
|
 |
|
 |
try wse 3.0 turnkey security scenarios.
they have detailed implementations about plausible scenarios...
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
 |
Could you suggest a suitable link? There seems to be so much noise on WSE 3.0 that I can't find the information on exactly how to "activate" a turnkey policy.
Don't worry, nobody lives forever.
|
|
|
|
 |
|
 |
download and install wse 3.0 from msdn.microsoft.com
there is enuf documentation and samples for the turnkey scenarios in it.
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
 |
Thanks for the article and sourcecode. I have built the client and server under VS2003 and they build cleanly. I can't seem to get past this error: "The underlying connection was closed: The remote name could not be resolved." I noticed that the Web reference URL is "http://hydhtc35369/kerberos/service/Service1.asmx", so I tried updating that to point at the service home (replacing "hyd..." with "localhost", but then I get another error. I also tried setting the url before proxy.perform(), but got the same error. In both cases, I get an error stating that the asmx file could not be downloaded with a big messy html message that seems to indicate that the web.config file on the server side is not configured correctly.
Any idea what I'm doing wrong?
Thanks in advance,
Steve
stever@infomap.com
|
|
|
|
 |
|
 |
remote name could not be resolved means that the client could not find the service.
Here hydhtc35369 is my machine name and the path is the location of the web service. So here you need to provide the URL of the location where u have created the web service.
I think the Web Service you have created is not up or u r incorrectly stating the endpoint address.
-Abhishek
|
|
|
|
 |
|
 |
I have tried out the kerberos authentication in the sample u provided, however I got this error message.
The kerberos ticket could not be retrieved. The RetrieveKerbTicket failed with the following message. There are currently no logon servers available to service the logon request.
How do I setup the Kerberos ticket provider or the logon server in order to make the Kerberos authentication work. Please tell me as I urgently need the info. Any tutorials or guidelines that can help me.
|
|
|
|
 |
|
 |
I am adopting this to a web client that uses forms authentications.
What is need to change in order to validate the credentials against a database?
Thanks
|
|
|
|
 |
|
 |
Hi,
If u are authenticating against a DB instead of the domain then u have to use UserNameToken and the Username/pwd that comes to the web service has to be validated by a Custom Security Token Manager. The logic for the validation of the credentials is written inside the custom security token manager.
-thanks
Abhishek
eeehhh wrote:
I am adopting this to a web client that uses forms authentications.
What is need to change in order to validate the credentials against a database?
Thanks
"If u believe in psychokinesis then raise my hand."
|
|
|
|
 |
|
|
 |
|
 |
Hi
I have some code that consumes a webservice. I used to connect via the method described in this article. The author may have even cut and pasted your example in his tutorial.
Things worked great for a while.
I am now getting a message that the RequestSoapContext method is not available in the proxy.
I have WSE2.0sp3. I have deleted the web reference and readded it.
Is this method deprecated?
Is there some newer way?
Is the proxy not getting generated correctly?
Or maybe has the author done something, and I should follow up w/ them?
any help appreciated
greg
greg
|
|
|
|
 |
|
 |
some of the checkpoints i can suggest are as follows.
*check if the web service has changed internally..(if it is a remote ws.. check if it has the same security requirements).
*check if a new version of the wse 2.0 has been installed on the client machine.
|
|
|
|
 |
|
 |
Hi All,
I have faced the same problem but I found that the solution is to make
proxy class (reference.cs) inhirts from 'Microsoft.Web.Services2.WebServicesClientProtocol' instead of
'System.Web.Services.Protocols.SoapHttpClientProtocol'
I Hope this can help you
|
|
|
|
 |