• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2me help: can i use j2me as Client?

 
lokesh jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic