Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wireless Toolkit and proxy

 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I posted this in the SCMAD forum but realised this is a better place
http://www.coderanch.com/t/157366/po/certification/Wireless-Tool-Kt-Proxy

I'm trying to make a http connection but I can't get past the proxy server.
In the config it has a place to enter the location of the server but not the usename & pass

How can I get the emulator to work with the proxy?

Thanks

Kris
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is on the proxy server. Is this the Web Server?

Mark
 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At work we connect to a procxy server to access the internet.

I am writing a midlet to connect to a website and download content but the proxy doesn't let the midlet through. It needs the username & pass but the WWTK has no where for you to enter a username & pass.

Any ideas?
 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone had this problem before?
Someone must have worked with a proxy
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I'll say this, on the real device, you won't have a proxy, so your test while just checking isn't good testing.

What about using another machine that is outside the proxy. Or create a local Web Server and host the site locally for testing.

Mark
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or create a local Web Server and host the site locally for testing.


This would also be, what I would recommend. Tomcat is very easy to get up
and running - the same applies for IIS.

/Svend
 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set up a local web server for basic testing.
but the website I need to connect to requires heaps of dynamic content that will take far to long to emulate on a local machine.

Thanks any how
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if you are doing this right now for testing, then on your local machine you can make MockObjects to emulate the heaps of dynamic data.

But if you need this environment to work in production, then the System Administrator will need to create a public interface to allow your connections.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic