This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

J2me help: can i use j2me as Client?  RSS feed

 
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
 
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.
 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!