Hi,
I use axis 1.2 for generate my webservices. My steps:
java -classpath ... org.apache.axis.client.AdminClient
deploy.wsdd
This work fine, i go to axis server page, and get the webservice
wsdl, and save as myws.wsdl
Then, i generate the code for my wsdl
java -classpath ... org.apache.axis.wsdl.WSDL2Java ...options...
myws.wsdl
But WSDL2Java generate a code with 4 errors in the client
(XXXSoapBindingStub.java)
ERROR 1 AND 2:
oper.setStyle(org.apache.axis.constants.Style.RPC);
oper.setUse(org.apache.axis.constants.Use.ENCODED);
THIS SHOULD BE:
oper.setStyle(org.apache.axis.enum.Style.RPC);
oper.setUse(org.apache.axis.enum.Use.ENCODED);
ERROR 3:
((org.apache.axis.client.Service)super.service).setTypeMappingVersion
("1.2");
Not exists method setTypeMappingVersion
ERROR 4:
org.apache.axis.client.Call _call =
super._createCall();
Not exists _createCall method in Stub class.
Anybody can help me ?
regards
Andres Acosta
