File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes J2me help: can i use j2me as Client? 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 "J2me help: can i use j2me as Client?" Watch "J2me help: can i use j2me as Client?" New topic
Author

J2me help: can i use j2me as Client?

lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
hi,
I have made a web service in java and using the j2me as client for that in Netbeans 6.1. This is working fine for the web service and j2me client made on same computer. However when I made the service on another computer, I do not get any idea, how to make j2me as client on my computer? I am using Netbeans 6.1 IDE. Please help me As Soon As Possible.

Thanks in advance
Lokesh
Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
I think the webservice you are hitting is a local one.Thats why you ar enot able to hit the webservice from a client located on another machine.
What i mean to say is try hitting the webservice from a network machine directly and not through the j2me client and see if that is working?
the ip of your host machine hosting the webservice should replace the local host generated as a local ulr for the webservice.

For further reference suggest you to put in your code that hits the webservice.

hope this helps you


lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
hi, I am using the same as you are saying. I am using computer name instead of localhost. However when i try to make j2me as client of web service then it does not ask for WSDL path. It simply accepts the web application and the methods in web application. That is the problem.
Aleksandar Babic
Ranch Hand

Joined: May 30, 2007
Posts: 68
Why would you do that?
If it's working on local machine than it's ok. It will work online too.
Why do you need to test it on another computer?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2me help: can i use j2me as Client?
 
Similar Threads
pdf viewer in J2ME
Digital certificate for Web service
Using Transport Security (SSL) in Web Service (CalulatorApp)
Using Transport Security (SSL) in Web Service (CalulatorApp)
web service security and data encryption