Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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