RE: Multiple requests to a webservice...???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Srishti,

From your description, you have an IIS ISAPI component which accept request
from client and perform some processing and write the output back to
client. Now, you're looking for a way to make multiple such requests(http)
package into a single http request so that you can make multiple such web
request called without establishing multiple http connections, correct?

If this is the case, I think this is mostly depending on the server-side
ISAPI processing code logic. For http/soap protocal, the standard is fixed
that we cannot make multiple http request become a single request(something
like batch request sending). However, for server-side processing, that's
customizable. For example, you may make your ISAPI extension accept an
additional parameter such as processing count so as to determine how many
times you will need to process for the same requests. Or you can define new
request message formatting so as to contain multiple method call bodies in
it. Anyway, I think it is necessary to adjust the server-side code logic.
How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: =?Utf-8?B?U29udQ==?= <sonu@xxxxxxxxxxxxx>
Subject: Multiple requests to a webservice...???
Date: Thu, 27 Mar 2008 14:16:00 -0700


Hi all,
I don't know if this is the right place to ask this question.... so if it
isn't please direct me as to where I should be asking this....

I have an ISAPI dll for a client (written in c++ compiled in VS2003)
This application handles one request at a time, does some calculation and
returns the result on the browser. This is being hosted on my server which
the client calls from his server.

Now, my client needs to do this operation from the ISAPI dll multiple
times
for every user who makes a request for it.
So this process takes a considerable amount of time for each user as it
performs the operation manu times for evry user.

"one request takes about 0.6-0.7 seconds and 12 requests take 7-10
seconds.
Could it be possible do something so that we need to send just one http
request instead of 12. Something like a SOAP api where we can pass data
(whether in array or XML) of all the 12 requests at one time and you can
return the result?"

I have been looking into this past two days in the general area of XML
webservices, ATL server, .NET web services.... But not sure what to do
ye...

I hope I am clear... and hopefully heading in the right direction... If
so,
I didn't find any indication/examples of how I could pass multiple
requests
to a webservice method....
Hopefully I can make a web service or picksup data from an XML file and
return the results in an XML files as well of all the requests....(don't
know
what is possible!!)


Please help...............!!!
Regards & Thanks a lot
Srishti



.



Relevant Pages

  • RE: Web Service migration question
    ... Custom classes built from XSD. ... both WS and Client sides using these objects. ... instance of the Request object and prior to invoking WS I save request to XML ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.xml)
  • RE: Problems with wsdl-generated proxy clients
    ... the client gets the same error on my xp ... meaning that the request was malformed. ... Microsoft MSDN Online Support Lead ... Looking at the IIS logs, I didn't even see the request in the log. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Problems with wsdl-generated proxy clients
    ... question shows a 400 status (malformed request), ... reported any problems with the client. ... Microsoft MSDN Online Support Lead ... Looking at the IIS logs, I didn't even see the request in the log. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: "Return Receipts Requested" does Entorage have the ability to send and receive them?
    ... return request is very different from what many people are describing. ... (depending on their client), or they might choose to ignore it. ... Entourage doesn't support this functionality because many individuals use ... regard to innovations in general (not that return-receipts are necessarily ...
    (microsoft.public.mac.office.entourage)
  • Re: Jabber network vs. multi-protocol IM clients
    ... whose support of half a dozen clients is the world's least funny joke, ... you get a client that does one protocol really ... Every other client connects to multiple servers. ...
    (Debian-User)