Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
nirmalsat
Posts: 207
Registered: ‎07-31-2009
Accepted Solution

View Requests and Responses

Is there a way or a tool that can help us view the various requests and responses from a blackberry application , be it http or any protocol?? 
------------------------------------------------------------------------------------------------------------------------
Click the Kudos! badge on left side of the message , if you are happy with a solution given by a user. When you do so, you are saying thanks to its author.
Mark a reply as a solution , if you think your question has been answered.
To mark a message as a solution: Click "Accept as solution" icon on the reply.
Please use plain text.
Developer
ydaraishy
Posts: 562
Registered: ‎09-30-2009

Re: View Requests and Responses

If you're using the simulator, you can use any regular packet sniffer.
Please use plain text.
Developer
nirmalsat
Posts: 207
Registered: ‎07-31-2009

Re: View Requests and Responses

Thanks.Got it.. We can set a reverse proxy on a packet sniffer ( am using Fiddler ) and am able to see the requests .
------------------------------------------------------------------------------------------------------------------------
Click the Kudos! badge on left side of the message , if you are happy with a solution given by a user. When you do so, you are saying thanks to its author.
Mark a reply as a solution , if you think your question has been answered.
To mark a message as a solution: Click "Accept as solution" icon on the reply.
Please use plain text.
Developer
JChow
Posts: 68
Registered: ‎09-04-2008

Re: View Requests and Responses

Hi nirmalsat,

 

I am interested in using fiddler to capture the traffic.
can you please share what you did to hook up with MDS ? for instance what changes you need to make to rimpublic.property in order to make fiddler the proxy?

 

thanks!

 

Please use plain text.
Developer
nirmalsat
Posts: 207
Registered: ‎07-31-2009

Re: View Requests and Responses

Check this 

http://www.fiddler2.com/fiddler/help/reverseproxy.asp

 

Plus after u do configure fiddler for it,  in ur Http request right after the machine name include the port no of fiddler(8888 by default) .

Eg :

if ur request URL was 

http://localhost/service1/service1.asmx 

then change it to 

http://localhost:8888/service1/service1.asmx 

 

 

------------------------------------------------------------------------------------------------------------------------
Click the Kudos! badge on left side of the message , if you are happy with a solution given by a user. When you do so, you are saying thanks to its author.
Mark a reply as a solution , if you think your question has been answered.
To mark a message as a solution: Click "Accept as solution" icon on the reply.
Please use plain text.
Developer
JChow
Posts: 68
Registered: ‎09-04-2008

Re: View Requests and Responses

thanks for your info and quick response nirmalsat !:smileyhappy:
will give that a try

Please use plain text.
Developer
nirmalsat
Posts: 207
Registered: ‎07-31-2009

Re: View Requests and Responses

Ur Welcome..:smileyhappy:

------------------------------------------------------------------------------------------------------------------------
Click the Kudos! badge on left side of the message , if you are happy with a solution given by a user. When you do so, you are saying thanks to its author.
Mark a reply as a solution , if you think your question has been answered.
To mark a message as a solution: Click "Accept as solution" icon on the reply.
Please use plain text.