Parameter parameter = new Parameter(WSDL2Constants.ATTR_WSDLX_SAFE, Boolean.valueOf(
interfaceOperationExtensions.isSafe()));
axisOperation.addParameter(parameter);
}
RPCInterfaceOperationExtensions rpcInterfaceOperationExtensions;
try {
rpcInterfaceOperationExtensions = (RPCInterfaceOperationExtensions) operation
.getComponentExtensionContext(
new URI(WSDL2Constants.URI_WSDL2_RPC));
} catch (URISyntaxException e) {
throw new AxisFault("WSDL2 extensions not defined for this operation");
}
if (rpcInterfaceOperationExtensions != null) {
String rpcsig = "";
Argument[] signatures = rpcInterfaceOperationExtensions.getRPCSignature();
for (int i = 0; i < signatures.length; i++) {
Argument sigArgument = signatures[i];
rpcsig = rpcsig + sigArgument.getName().getLocalPart() + " " + sigArgument.getDirection() + " ";
}
Parameter parameter = new Parameter(WSDL2Constants.ATTR_WRPC_SIGNATURE, rpcsig);