You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Mark Roder <mr...@wamnet.com> on 2001/09/28 22:39:25 UTC

Issue: Client default for doMultiRefs is true

In Alpha R2, the client default for doMultiRefs seems to be true.  This code
below had to add a     "client.addOption(AxisEngine.PROP_DOMULTIREFS, new
Boolean(false))" to shut off multirefs.  This should be something you have
to turn on.


   User aUser=ArchiveDataTEST.getValidUser();
    RPCParam userParam = new RPCParam("User", aUser) ;
  
    String endpoint = "http://foo";
 
    ServiceClient client = new ServiceClient(endpoint);
    //following line should not be necessary
    client.addOption(AxisEngine.PROP_DOMULTIREFS, new Boolean(false));
    client.addSerializer(User.class,new QName(),new BeanSerializer());
    String ret = (String)client.invoke("Login",
                                       new Object [] {userParam });    

Later

Mark