Thanks for the reply,
Yea it answers my question. At least you are seeing
the line breaks. What
I see are no line breaks and one huge paragraph
bunched together. That's not
how I wrote it, so when I saw this I was concerned
that this is how it was
coming out. At least I know its on my end now, which I
can live with.
Thanks for the help.
-----Original Message-----
From: Ruben Bartelink [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 11:55 AM
To: 'Steve Welborn'
Subject: RE: [ADVANCED-DOTNET] Calling a Web Service
over the network
Looks like something is putting line breaks in for
you, in addition to ones
you're putting in.
You shouldn't need to press enter within a paragraph.
Does that answer your question?
If you send HTML mail, that causes a whole new set of
compatibility
issues...
Regards,
--Ruben
Ruben Bartelink / +353 86 885 2399 / www.bartelink.com
-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf
Of Steve Welborn
Sent: 06 July 2005 17:34
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] Calling a Web Service
over the network
Can someone verify my formatting on this email? Is it
me, or does this look
like I wrote in one big line with no paragraphs?
The email im talking about is the one directly below
here. Does it look
fine?
-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf
Of Steve Welborn
Sent: Tuesday, July 05, 2005 11:38 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] Calling a Web Service
over the network
Set the credentials after you make setup the Remote
Object and after you
register the channel.
This is the code I use for credentials. See if you
could use the same:
//start of code
IDictionary channelProperties =
ChannelServices.GetChannelSinkProperties(objQPackages);
NetworkCredential credentials;
credentials = new
NetworkCredential("UserName-Here",
"Password-Here");
ObjRef objectReference =
RemotingServices.Marshal((MarshalByRefObject)objQPackages);
Uri objectUri = new
Uri(objectReference.URI);
CredentialCache credCache =
new CredentialCache();
// Substitute
"authenticationType" with
"Negotiate",
"Basic",
// "Digest",
// "Kerberos" or "NTLM"
credCache.Add(objectUri,
"NTLM", credentials);
channelProperties["credentials"] = credCache;
channelProperties["preauthenticate"] = true;
channelProperties["unsafeauthenticatedconnectionsharing"]
= true;
channelProperties["connectiongroupname"] =
strDomain
+ "UserName-Here";
//End code
Hope this helps.
Steve
-----Original Message-----
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf
Of Eduard Lascu
Sent: Tuesday, July 05, 2005 11:08 AM
To: [email protected]
Subject: [ADVANCED-DOTNET] Calling a Web Service over
the network
Hello everybody,
I have a Web Service that's hosted on one machine.
There is a difference
between calling it from the same machine or from a
different machine in the
network: in the second case I am prompted to enter my
credentials (user
name, password and domain). Is there a way to prevent
this?
I have set the Anonymous access with Integrated
Windows authentication for
this web service (if Integrated Windows authentication
is not set, the Web
Service is not accessible).
The problem I have is that an ASP.NET client is
supposed to call the Web
Service in order to get a report. Could it be that the
only way to do it is
to pass the credentials from the Web page, along with
all the parameters for
the web method? And if so, where should I set the
credentials?
Any suggestion will be appreciated.
Regards,
Eddie
===================================
This list is hosted by DevelopMentorR
http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
===================================
This list is hosted by DevelopMentorR
http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
===================================
This list is hosted by DevelopMentorR
http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
____________________________________________________
Sell on Yahoo! Auctions Ā no fees. Bid on great items.
http://auctions.yahoo.com/
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com