So, in other words, you are subscribing to this webservice.

In this case, the best method is to add a (web) reference to the
webservice and then submit parameters via the defined WebMethod
(GetCampaignData). Then the entire processing takes place on the
client and there is no Response.Redirect involved. This is the usual
way of invoking webservices in ASP.NET.

You could also do it via a HttpRequest, but that would not be half as
elegant.

On Jul 28, 5:34 pm, RGF <[email protected]> wrote:
> Good point...indeed I am sending the request from a web page.
> Basically, what I wanted to do from my main web page is that when a
> button is pressed, then I wanted to make the HTTP call to the .asmx
> with the arguments (mentioned earlier below) without loosing the focus
> from my main web page, thus, why I am looking for an alternative to
> using Response.Redirect.
>
> On Jul 28, 1:44 am, Cerebrus <[email protected]> wrote:
>
>
>
> > The question is: From where are you sending this request if not an
> > ASPX page ? If so, then your client already has a web browser open.
> > The Response.Redirect will just tell the client that the object has
> > moved and the browser will then request that redirect URL.
>
> > On Jul 28, 12:51 am, RGF <[email protected]> wrote:
>
> > > What I thought was a simple task, we'll, it turned out to be not quite
> > > so simple...
>
> > > I like to send the following HTTP string to my web server, which then
> > > gets inserted to my DB:
>
> > >http://www.my_personal.com/Myservice.asmx/GetCampaingData?StartDate=7...
>
> > > <myuseraccount>&WebKey=<myMey>&Title=Web
> > > test&Message=This is a test &Confirmation=No
>
> > > I send the above string using Response.Redirect and everything
> > > works!!  But I need not to open the web browser, a behavior inherited
> > > when using Response.Redirect.
>
> > > Is there a way I can send the above URL
> > > without opening a web browser? or using Response.Redirect while
> > > suppressing the browser?
>
> > > Thank you,
> > > -r
>
> > > Note: I am using VS2005 and VB.Net- Hide quoted text -
>
> - Show quoted text -

Reply via email to