Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Web Service Security and Access

Reply
Thread Tools

Web Service Security and Access

 
 
Khumza AK
Guest
Posts: n/a
 
      07-26-2006
Hi,

I need some help with the Web Service security. I have a web service
that picks up a file from a folder (any folder, network, local etc) and
sends it using SMTP to a mail recipient. When I browse to a file on my
machine, example C:\Temp\File1.doc and invoke the web service call
passing the file, the system is able to attach the selected file and
the email is sent successfully.

However, if I point to any file in C:\Document and Settings\... or on
the network, say \\ServerName\ShareName\File.doc, the system is unable
to attach the file to the mail message being created. The error message
is 'Invalid attachment'.

I have enabled Anonymous Access for the web service and cleared all the
other checkboxes in the Authenticated access frame.

The following lines precede the call to the web service method:

objCredentialCache = New CredentialCache
objCredentials = objCredentialCache.DefaultCredentials
wsWebServiceReference.Credentials = objCredentialCache

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
'web service call failed: 500' using ajax hovermenu and web service Not Me ASP .Net 1 06-05-2007 03:09 PM
web page calls web service - security Mark ASP .Net 1 01-04-2007 08:10 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57