473,666 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

calling a web service from within a web service

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
Oct 25 '06 #1
1 1563
From a technical point of view, you can easily consume another webservice (B)
from within a webservice (A). No problems with that.

However - from a design perspective it does raise questions. One of the
socalled tenets of SOA indicates that a service (A) should NOT be dependent
on other services (B); but it really depends on what purpose this "other"
service (B) serves.

What to think about? Well - authentication towards the other service (B)
from (A) is an issue you should consider. How would you authenticate the
caller (A) to the service (B)? Should impersonation be used to impersonate
the calling person, calling A and then impersonate him to B? Several options
exists for authentication, but these issues are (and should!) be present and
considered in any SOA architecture.

--
rgds.
/Claus Konrad
"fallenidol " wrote:
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
Oct 25 '06 #2

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

Similar topics

4
8599
by: Robert E. Flaherty | last post by:
I know that you can call SQL Server from a web service but from within a stored procedure can you call a web service?
0
938
by: TMN | last post by:
I have an appplication that uses Enterprise Services components built with C#. The core app works fine, the components work as expected in COM+, etc. However, I now need to have one of the components call out to a Web Service. I've added a Web Reference to the component (which I think is part of the problem - the reference is added to a newly created app.config file which I don't think COM+ components use) After adding the reference and...
0
1399
by: jimmyfishbean | last post by:
Hi, I am using ASP.NET (framework 1.1), Windows 2003, IIS 6.0. I have a VB.NET web service client that connects/calls a web service written in ASP.NET (both applications are installed on the same server). When the web service is installed in the Default Web Site within IIS, the web service client has no problems connecting/calling the methods of the web service.
2
1578
by: Jon | last post by:
Hi all, I'm trying to call a web service from an asp.net (v1.1) page written in C# (the web service was written in C# too) and I keep getting a "The request failed with HTTP status 401: Unauthorized. " error message. Calling the web service works fine when I create a windows form application to call it. The IIS is on a win2003 server and it is configured to use "Integrated Authentication". The IIS logs do not show a userid from the...
2
1219
by: paul1664 | last post by:
Hi, I am trying to call a web service from within a dll, with that dll being loaded and called dynamically. eg. Assembly assembly = Assembly.LoadFile(@"C:\path\myfile.dll"); Type type = assembly.GetType("myfile.Class1"); object instance = Activator.CreateInstance(type);
1
2994
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...
3
1334
by: xs | last post by:
Dear all, I would like to know who is calling the web service so that my web service can process accordingly. Is there anyway I can do that? Thanks
2
2066
by: =?Utf-8?B?SnVsaWFu?= | last post by:
My first problem is: I am having an issue when using a web service. The web service is written by another department and say its running fine but when I call it, I sometimes I get a system.net.webexception return instead of the correct return. Would anyone have any advice or suggest any extra debugging I could do to find out where this problem might occur? The second problem I am having is: I also called some functions within the web...
1
2030
by: samdediacre | last post by:
Hi all, I have developped a very simple Windows service that references a managed .NET dll. the code within the dll contains a static class to read/write data from registry. So the OnStart() method of the service simply calls the dll to read info from registry, but the static method reading info fails to execute... the dll tested within a console or winform application works fine (i can call the static class and get the info i want) So i...
0
8444
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
8356
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
8869
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
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
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4198
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
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.