Hi *,
when I try to generate Axis
Java client stubs for an
SOAP web service
java org.apache.axis.wsdl.WSDL2Java \
-o . \
-Nurn:ClustalW=org.example.ws.stubs \
"http://www.example.org/~user/cgi-bin/Model.cgi?WSDL"
The following stubs are generated:
ModelCGI.java
ModelSoapBindingStubCGI.java
ModelServiceCGI.java
ModelServiceLocatorCGI.java
But the WSDL file returned when invoking
http://www.example.org/~user/cgi-bin/Model.cgi?WSDL in a browser contains only the ".cgi" in the address location, e.g.
WSDL file:
...
<wsdl:service name="ModelService">
<wsdl
ort binding="impl:ModelSoapBinding" name="Model">
<wsdlsoap:address
location="http://www.example.org/~user/cgi-bin/Model.cgi" />
</wsdl
ort>
</wsdl:service>
...
How to avoid the addition of CGI to the names of the Java client stubs?
So that one gets:
Model.java
ModelSoapBindingStub.java
ModelService.java
ModelServiceLocator.java
Best,
Torsten