won't receive arguments sent by RPCServiceClient::invokeBlocking anymore with
axis 2-1.5 (axis2-4.1 kernel works fine)
----------------------------------------------------------------------------------------------------------------------
Key: AXIS2-4470
URL: https://issues.apache.org/jira/browse/AXIS2-4470
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Affects Versions: 1.5
Environment: win xp
Reporter: Magnus Melin
I have a client like
import javax.xml.namespace.QName;
import org.apache.axis2.AxisFault;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.rpc.client.RPCServiceClient;
public class SimpleWSClient {
public SimpleWSClient(String url) throws AxisFault {
this.serviceClient = new RPCServiceClient();
Options options = serviceClient.getOptions();
EndpointReference targetEPR = new EndpointReference(url);
options.setTo(targetEPR);
}
public Meaning[] findSameAs(String label, String uri) throws AxisFault {
QName qname = new QName("http://example.org/ws", "findSameAs");
Object[] wsArgs = new Object[] { label, uri };
Class<?>[] rvTypes = new Class<?>[] { Meaning[].class };
Object[] response = serviceClient.invokeBlocking(
qname, wsArgs, rvTypes);
Meaning[] meanings = (Meaning[]) response[0];
return meanings;
}
}
When i call findSameAs, the server will receive only empty arguments.
If i keep all the other 2-1.5 jars, but replace axis2-kernel-1.5.jar with
axis2-kernel-1.4.1.jar the label and uri arguments are received again (though
it generates other errors later...)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.