tags:

views:

136

answers:

3

I am trying to route my soapUI web service requests via fiddler, but it doesn't seems to work. I tried url's like

http://localhost./myservice/myservice.asmx
http://localhost:8888/myservice/myservice.asmx

The later one though goes via fiddler, but it returns the request itself rather than the response from webservice. Any help?

A: 

Have you tried:

http://localhost/myservice/myservice.asmx (without the dot)

UPDATE

Fiddler works by acting as a proxy on your machine. When started it will set itself up on port 8888. That's why you're seeing it work when you use localhost:8888. If you want to use localhost then you'll need to tell fiddler to look at port 80.

From the Internet Explorer main menu, click Tools, click Internet Options, click Connections, click LAN Setting, and finally click Advanced. Now change the port to 80 and see if that works.

Naeem Sarfraz
Yes i did. But in vain.
Ashish
All other requests that are fired from browser are going via fiddler. But the requests that are made from soapUI are not getting routed through fiddler. Do you think we need to make any changes to soapUI options?
Ashish
What's the url you're using with SoapUI? Is it `localhost`?
Naeem Sarfraz
I tried the below threehttp://localhost/myservice/myservice.asmxhttp://localhost./myservice/myservice.asmxhttp://localhost:8888/myservice/myservice.asmx
Ashish
A: 

Fiddler injects itself automatically as a proxy, but only into the IE stack. SoapUI uses a java stack, so the proxy isn't automatic.

Chris Thornton
So my question would be how do i attach fiddler to soapUI?
Ashish
+2  A: 

Try File > Preferences > Proxy Settings Host 127.0.0.1 Port 8888

and use http://localhost./myservice/myservice.asmx

M Sleman
Thanks a lot. It works. I just had to set the proxy settings after adding the wsdl to soapUI project.
Ashish