request

Handle http post request

Hi all! I have the following scenario to implement: I have an ASP.NET Web site. On a click of a button in my site the user is redirected to a 3rd party site. When the user does some actions in this 3rd party site, the site starts sending http post requests to my site with a special message every 1 minute. Now, the problem is that I sh...

Translation of request / response messages within SOAP UI

Hi, I've got a quick (and probably a simple one) regarding the translation of request / response messages. The XML that is sent from the Service Consumer is translated before it is passed to the back end system. That is to say, when I submit the request XML, the call first hits the BSL which is responsible for taking the data passed in ...

Which requests cause a w3wp process to grow considerably?

On a production environment, how can one discover which Asp.Net http requests, whether aspx or asmx or custom, are causing the most memory pressure within a w3wp.exe process? I don't mean memory leaks here. It's a good healthy application that disposes all it's objects nicely. Microsoft's generational GC does it's work fine. Some reques...

How to understand if a request made to WCF?

Is there any event which allows me to get informed when a client accesses any of the listening WCF service methods ? ...

getting null on request.getParameter() on submit of form in java code?

IN JAVA CODE IN JSP as below i m getting null value for field"noOfRecords". if (request.getMethod().equalsIgnoreCase("POST")) { try { noOfRecords=Integer.parseInt(request.getParameter("noOfRecords").trim()); } catch(NumberFormatException e) { throw new Exception("No of records Field should be nume...

Search order of HttpRequest indexer

If you do a simple index into Request's items via Request[key], it looks in 4 locations. What's the order? Someone makes a guess on that page at "Cookies, ServerVariables, Form and QueryString". Does anyone know for sure? Documentation would be a bonus :) ...

How to get a querystring when it is URLEncoded or has percent characters in ASP.NET

How to get the actual querystring from the Request object when the querystring is UrlEncoded or has percent characters in ASP.NET? Basicly, if I have a Url like this: Default.aspx?p=%b4, how do I get a string populated with "%b4"? Request.QueryString["p"] returns a non printable character. Request.RawUrl returns Default.aspx?p=%u...

Flash and php become very slow, same code!!

I did a flash application, login form in flash, authenticate in php, that was 3 months ago, the sending requests and response is very fast, means, when i click submit button, within 3 - 5 seconds it will has response from php. Recently, i do another login in flash, using similar code as the previously i have done. Now, the sending reque...

What happens to an http Request when the user leaves page in the meantime?

I'd like to keep some information on the client which element was clicked and thus save the information within a cookie, but it's a third party cookie because I need this information on antoher page (affiliate-tracking is the context) so I'd have to set it via http request as far as I see it. Javascript would only allow me to place a wit...

Logging requests/responses in a WCF REST service

I'm looking for a way to log both requests and responses in a WCF REST service. The WCF REST starter kit comes with a RequestInterceptor class which can be used to intercept requests, but there does not seem to be an equivalent for responses. Ideally, I'd like to be able to intercept a response just before it's sent over the wire, e.g. w...

IIS: Abort handler work on client connection close

I have a handler that do some hard work under images. It's look like http://example.com/webservice.ashx?imageparam1=100&imageparam2=200 Each request to this handler take about 2-3 seconds. I need a way to abort image generation if client close connection(i.e. close page or send request for another image). Is there is a way to do ...

Prevent IllegalStateException when reading from request

I have an interceptor for catching Exceptions and sending emails of this exceptions. All my struts actions extend CoreController which implements SerlvetRequestAware. In mail service class then I have: CoreController cc = (CoreController)invocation.getAction(); HttpServletRequest request = cc.getRequest(); I want to insert request b...

How to get intermediate response from server ??

Hi all, I am trying to check pop and smtp values entered by user.. I mean i wish to validate that pop and smtp say for example(pop.gmail.com,smtp.gmail.com) which is entered by user is correct or wrong like that.. For that i am sending only one request to server by taking both pop and smtp values entered by user which will do two tasks...

Mapping a WCF request message to the underlying operation

I need to know what operation is being invoked by examining a request Message object in an IDispatchMessageInspector. What is the best way to do this? ...

Fire off an internal ServletRequest in Tomcat

I am using Quartz to schedule background tasks for a web application. Some of these tasks just fire off requests against the same web application. I want to avoid depending on any kind of network settings (for example a request with my own domain name might not be routed properly if made from within the data center). Is there a Java API...

How do I grab all the request parameters in Catalyst?

Specifically I'm trying to capture all the POST parameters from a payment gateway as a single string and then parse them looking for the string 'ERROR'. I'm aware there's a $c->request->parameters method but I'm not quite sure how its used and couldn't figure it out from the CPAN documentation. Thanks in advance! ...

How to find if a request is for js or css in httpHandler

Hi guys, is there any way to find if a particular request is for JS or CSS in httphandler to improve the performance of my website i was using HttpCompress from Code Project http://www.codeproject.com/KB/aspnet/httpcompression.aspx?msg=2544100 but since it is combining all the js it is breaking my javascript in many places...so i want...

c# httpwebrequest to a web page iphone version

hello guys, i want to make an httwebrequest to a web page and get the response html of that page. the problem is i want to generate the request as i'm requesting it on iPhone so that the website gives me the iphone version of the page some told me to set the user agent to some string.. i did but its not working i think i need to modif...

add text in http request string url

Hello all ok i made a midlet through which i can connect to server pages and get soem information as response. For example i made a midlet through which i acced url: http://example.com/?u=nepal&t=1 Now i want to change the value of u as per users input. I made a text field through which users can input desired name in u=* Now how ca...

grails + gwt request handling via controllers

I am new to gwt. I am trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if anybody can guide me :) ...