• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2ME & Web Service: more than one part in input message

Regis Santos
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a method in a web sevice that get two String objects and returns a String object.

My wsdl.xml specified the method like this:

I tried to generate the stubs throught J2ME WTK 2.1, but I got two warnings:

The generated stub does not have the send implementation.

If I change my method in my Web Service to get an array of String, the stub is generated with successful.

The method newInstance() from class javax.microedition.xml.rpc.Operation get only one element as input par�meter.

How can I do to invoke a method with two or more input params?

Thanks a lot.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!