Ask a Question related to ASP.NET Web Services, Design and Development.
-
Steve Drake #1
Passing Credential to SOAP via a .NET remoted object
All,
I have a WEBPAGE that needs to pass the current credentials to a .NET
remoted object so this can pass the credentials to a SOAP WEBSERVICE (All
written in C#)
But I cannot see how I pass credentials to the remoted object, any ideas?
If there was no remote layer then I could just do :
WebServiceObject.Credentials =
System.Net.CredentialCache.DefaultCredentials;
But System.Net.CredentialCache.DefaultCredentials is not Serializable so
this does not work with the remeoting layer.
Steve
Steve Drake Guest
-
Soap object sent to CPS...any way to enable proxysettings?
So like contribute has 3 requests: 1) http or https (browser) 2) ftp (file system control) 3) https -- (soap object) #1 and #2 have proxy... -
Failed to invoke SOAP::Lite object with two parameters
Hi all: I tried to instantiate an object through soap::lite but failed when it involves two attributes in other words more than one element in the... -
Serialize object method to soap message?
Hi Is there a way to serialize an object method to a soap message? I need to pass a soap message through a queue and have a .net object. I wonder... -
Passing an object
Hey again! I have a quick question about passing objects to other classes. What I am trying to do is create an object, and then pass that object... -
passing C++ object in VARIANT
I hope I unerstand the question correctly but normally its done like this. IDispatch* pDisp VariantInit(rVal); if (SUCCEEDED(hr =... -
Steve Drake #2
Passing Credential to SOAP via a .NET remoted object
All,
I have a WEBPAGE that needs to pass the current credentials to a .NET
remoted object so this can pass the credentials to a SOAP WEBSERVICE (All
written in C#)
But I cannot see how I pass credentials to the remoted object, any ideas?
If there was no remote layer then I could just do :
WebServiceObject.Credentials =
System.Net.CredentialCache.DefaultCredentials;
But System.Net.CredentialCache.DefaultCredentials is not Serializable so
this does not work with the remeoting layer.
Steve
Steve Drake Guest
-
bruce barker #3
Re: Passing Credential to SOAP via a .NET remoted object
this can be done if the caller, remoting object and the webservice are all
on the same server. you can pass the handle to the credentials and perform
the impersonation before calling the soap method.
if more than 1 server is used, you will run into the 1 hop rule. you will
have to switch to digest authencation, turn on creditenals delegation. There
is little digest support in .net, so you will have to use the native api
(see kerberos documentation).
-- bruce (sqlwork.com)
"Steve Drake" <Steve@NOSPAMDrakey.co.uk> wrote in message
news:OKpJS0k8DHA.2316@TK2MSFTNGP11.phx.gbl...> All,
>
> I have a WEBPAGE that needs to pass the current credentials to a .NET
> remoted object so this can pass the credentials to a SOAP WEBSERVICE (All
> written in C#)
>
> But I cannot see how I pass credentials to the remoted object, any ideas?
>
> If there was no remote layer then I could just do :
>
> WebServiceObject.Credentials =
> System.Net.CredentialCache.DefaultCredentials;
>
> But System.Net.CredentialCache.DefaultCredentials is not Serializable so
> this does not work with the remeoting layer.
>
> Steve
>
>
>
bruce barker Guest
-
bruce barker #4
Re: Passing Credential to SOAP via a .NET remoted object
this can be done if the caller, remoting object and the webservice are all
on the same server. you can pass the handle to the credentials and perform
the impersonation before calling the soap method.
if more than 1 server is used, you will run into the 1 hop rule. you will
have to switch to digest authencation, turn on creditenals delegation. There
is little digest support in .net, so you will have to use the native api
(see kerberos documentation).
-- bruce (sqlwork.com)
"Steve Drake" <Steve@NOSPAMDrakey.co.uk> wrote in message
news:OKpJS0k8DHA.2316@TK2MSFTNGP11.phx.gbl...> All,
>
> I have a WEBPAGE that needs to pass the current credentials to a .NET
> remoted object so this can pass the credentials to a SOAP WEBSERVICE (All
> written in C#)
>
> But I cannot see how I pass credentials to the remoted object, any ideas?
>
> If there was no remote layer then I could just do :
>
> WebServiceObject.Credentials =
> System.Net.CredentialCache.DefaultCredentials;
>
> But System.Net.CredentialCache.DefaultCredentials is not Serializable so
> this does not work with the remeoting layer.
>
> Steve
>
>
>
bruce barker Guest



Reply With Quote

