• 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
Hello,

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic