|
Hi,
I have tested this with AXIS 1.2alpha and
axis 1.1rc2, and get the same result from
both.
After generating the Java Stubs from this WSDL
using WDLS2Java
the body of the public method calls have the
following lines:
<snip>
org.apache.axis.client.Call _call =
createCall();
_call.setOperation(_operations[4]); _call.setUseSOAPAction(true); _call.setSOAPActionURI("http://cetix.de/SendSMS/SendSMS"); _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
setRequestHeaders(_call);
</snip> Unfortunately the following line is missing to make
this work:
_call.setOperationName(new QName("http://cetix.de/SendSMS",
_operations[4].getName()));
Without this
line, the operationName field in the _call object is not set, and a Fault is
thrown when
invoking the
method.
I added this line
to the generated Stub, and things work fine. Should I provide a fix for
wsdl2Java
to include this
line?
Cheers,
Nick.
|
