I have another problem. I can create the stub, but the class han no methods. When I generate the stub with j2me wireless toolkit, it appears this warning:
warning: ignoring operation "validarUsuario": more than one part in input message
warning: Port "ValidadorWS" does not contain any usable operations
warning: Port "ValidadorWS" does not contain any usable operations
Could anybody help me?Thanks
On 4/17/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
In the WSDD <service> definition, specify style="document" use="literal".
See http://www.oio.de/axis-wsdd/service.htm.
Anne
On 4/17/06, Gorka López <[EMAIL PROTECTED] > wrote:Hello everybody,
I did a web service and a normal application that consume it. This runs ok. Now I have to do a j2me client that consume the same web service, but when I try to generate the stubs with netBeans or j2me wireless toolkit from the wsdl file that generate from wsdd file, it appears this error:
Web Service is not WS-I compliant. Style is not document/literal.
I generate the wsdl file with this command:
java org.apache.axis.client.AdminClient -l http://localhost:8080/axis/services/AdminService deploy.wsdd
Does anybody know how to obtain a ws-i compliant web service with axis??
PD: The problem is that the wsdl file generated, in <wsdlsoap:body> appears the attribute use=encoded. If I could change this, and I write use=literal this will work fine
