473,769 Members | 6,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling web service from ASP

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_<machinena me> user a/c to have FULL
permissions on c:\winnt\system 32\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
Nov 23 '05 #1
1 2469
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 "compilatio n" 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"
<Su***@discussi ons.microsoft.c om> wrote:
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_<machinena me> user a/c to have FULL
permissions on c:\winnt\system 32\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

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2433
by: jarmopy | last post by:
Hi, I have made a service with C# and calling that service class from another C# program with remoting. (Referendes from the calling program) That service class is configured so that garpage collection is not used in this class. (singleton class + override InitializeLifetimeService ) The service class uses C++ unmanaged function from dll (using DLLimport).
0
2246
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. Any help would really be appreciated. Thx
3
9104
by: Mike | last post by:
Timeout Calling Web Service I am calling a .NET 1.1 web service from an aspx page. The web service can take several minutes to complete its tasks before returning a message to the aspx page. If the web service is taking a long time to complete, the aspx page returns a ‘The operation has timed-out.’ Message to the web browser after 100 seconds. I’ve added: <httpRuntime executionTimeout="300" /> to the web.config files
3
5075
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb). I changed the data type for the structure that contains the XML data from the default "String" to "xml.xmldocument" to enable easy filling of the data. my client code creates an XML document class, fills the data using standard xml dom...
7
6019
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is or do i need to write the xml as text from the web service and supply a DTD. Also any other pitfalls TIA
5
2601
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is fine so far. My problem is that when I call a web method to modify the dataset inside the Web service it is never updated and I get no errors. currentPeriods method will always give me 1 even if I call ChangeDataset and call currentPeriods...
1
1568
by: fallenidol | last post by:
hi i'm looking for some heads up info regarding calling and using a web service from within another web service. is this acceptable practice? if not why? what should i be thinking about here? cheers
2
2850
by: Johan | last post by:
We have run into problems calling a web service from a client running .NET framework 2.0. The problem is that the first call to the web service, after the client has been started, takes very long time, something like 15 to 30 seconds. All subsequent calls are really fast (about 10 milliseconds). But when the client is restarted, the first call once more takes long time. We have been testing a few different scenarios to figure out what is...
1
3005
by: ananth | last post by:
Hi All, I have a web service created in Notes Database and i am calling the web service in Visual studio.Net application by adding a web reference. I need to have authentication mechanism before calling the methods within the web service.I used the NetworkCredentials Property for authenticating but the user name and password is not authenticating.I am able to access the web service methods directly the authentication mechanism...
7
2688
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file name based on the name of the VB6 application. A second choice would be a file name based on the # COM interface assembly. I have tried calling Assembly.GetCallingAssembly() but this fails when I use the VB6 client. Is there a way to get this...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.