This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Creating JAX-WS Client in J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Creating JAX-WS Client in J2ME" Watch "Creating JAX-WS Client in J2ME" New topic

Creating JAX-WS Client in J2ME

Sim Kim
Ranch Hand

Joined: Aug 06, 2004
Posts: 268


I am new to J2ME . I am trying to create a Web service client for my JAX-WS based web service. Is it possible to use JAX-WS to create webservice client or I need to stick to JAX-RPC.

Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

As far as I know, no, you can't. You need to stick to JAX-RPC. Actually it's not really JAX-RPC. It's a subset of JAX-RPC.

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
Yes, you can do it. You can do it using Netbeans.

Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
The client is independent of the technology used on the server. It may not be possible to use a JAX-WS toolkit to create JME client code for your WS, but there should be no difficulty in creating a client some other way - check if your device supports JSR 172. As a last resort, you can always create XML programmatically and send that over an HTTP connection.
I agree. Here's the link:
subject: Creating JAX-WS Client in J2ME
It's not a secret anymore!