Connecting Tech Pros Worldwide Forums | Help | Site Map

Calling web service from ASP

Sudha
Guest
 
Posts: n/a
#1: Nov 23 '05
Hi All,

I've a requirement to call a web service from an ASP page. As we have only
two options, using SOAP Toolkit 3.0 and XMLHttp object, which are not upto my
requirement, I thought I will create a compenent using c# which calls the web
service and I thought I can call that component very easily from ASP.

But I'm getting access denied errror while calling the .net dll/component
from my asp page. I need to let the IWAM_<machinename> user a/c to have FULL
permissions on c:\winnt\system32\temp folder. As my set up program doesn't
have the code to place these permissions dynamically at client place, This
step has to be performed manually. Because of this manual step, client is not
accepting the code and he don't even want to change the permissions on the
system-folders.

Some people are saying that using VB.NET as the language, it works. Is that
true?

My basic requirement is to call a web service (which has web methods taking
very complexed objects as input/output parameters) from an ASP page.

Any suggestions/thoughts would really be appreciated.

Thanks in advance for your help!!!

Regards,
Sudha M

Marvin Smit
Guest
 
Posts: n/a
#2: Nov 23 '05

re: Calling web service from ASP


Hi,

first of all, the VB.Net remark is "Bullocks". Next time ask for the
argumentation of the "people that are saying that". I'm very curious
what they would come up with ;)

Then, back to your issue. Your issue is the temporary assembly path.
..Net compiles XmlSerializer (for instance) for performance
enhancement.

The directory where .Net builds the temporary is configurable. Have a
look at the "compilation" element for config files.
http://winfx.msdn.microsoft.com/libr...b9d4541c12.asp

Hope this helps,

Marvin Smit.

On Tue, 6 Sep 2005 05:39:13 -0700, "Sudha"
<Sudha@discussions.microsoft.com> wrote:
[color=blue]
>Hi All,
>
>I've a requirement to call a web service from an ASP page. As we have only
>two options, using SOAP Toolkit 3.0 and XMLHttp object, which are not upto my
>requirement, I thought I will create a compenent using c# which calls the web
>service and I thought I can call that component very easily from ASP.
>
>But I'm getting access denied errror while calling the .net dll/component
>from my asp page. I need to let the IWAM_<machinename> user a/c to have FULL
>permissions on c:\winnt\system32\temp folder. As my set up program doesn't
>have the code to place these permissions dynamically at client place, This
>step has to be performed manually. Because of this manual step, client is not
>accepting the code and he don't even want to change the permissions on the
>system-folders.
>
>Some people are saying that using VB.NET as the language, it works. Is that
>true?
>
>My basic requirement is to call a web service (which has web methods taking
>very complexed objects as input/output parameters) from an ASP page.
>
>Any suggestions/thoughts would really be appreciated.
>
>Thanks in advance for your help!!!
>
>Regards,
>Sudha M[/color]
Closed Thread