my dog learned polymorphism*
The moose likes Java Micro Edition and the fly likes Wireless Toolkit and proxy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Wireless Toolkit and proxy" Watch "Wireless Toolkit and proxy" New topic
Author

Wireless Toolkit and proxy

Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

What is on the proxy server. Is this the Web Server?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247
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

Joined: Jan 05, 2005
Posts: 247
Has anyone had this problem before?
Someone must have worked with a proxy
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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

Joined: Oct 23, 2002
Posts: 904
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

Joined: Jan 05, 2005
Posts: 247
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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
 
 
subject: Wireless Toolkit and proxy
 
Similar Threads
Weblogic prep materials
C# certifcation info please
How to append an element in XML document
OCA developer certification
ICE 286 and 340