axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Day, Andy" <Andy....@FMR.COM>
Subject RE: Client Call Invocation
Date Wed, 19 Jun 2002 18:10:09 GMT
It looks like the latest version of the JAX-RPC (released June 11th) has
taken care of this issue.  It provides the following:
package javax.xml.rpc;

public interface Service {
    java.rmi.Remote getPort(QName portName, Class serviceEndpointInterface)
        throws ServiceException;


-----Original Message-----
From: Day, Andy []
Sent: Wednesday, June 19, 2002 12:35 PM
To: ''
Subject: RE: Client Call Invocation

Excellent.  Has any request been made to update JAX-RPC with the additional
getPort(uri, class) method?? 

-----Original Message-----
From: []
Sent: Wednesday, June 19, 2002 12:17 PM
Subject: Re: Client Call Invocation

You can get a dynamic proxy from the Service object: The JAX-RPC way of
doing this is:

ISomObject stub = (ISomeObject) service.getPort(ISomeObject.class);

// We know "stub" is of type javax.xml.rpc.Stub, so we can do...
((Stub)stub)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "someUri");

AXIS provides a shortcut technique to do this (NOT part of the JAX-RPC

ISomeObject stub = (ISomeObject) service.getPort("someUri",

Russell Butek

Please respond to 

To: "''" <>
Subject: Client Call Invocation


After perusing the Axis architectural and api documentation, I was
disappointed to find no automatic Interface Proxy generation available to
the client.  For instance if I was given the Interface ISomeObject as

public interface ISomeObject
public void someMethod(int someParam);

I would love to be able to do the following on the client-side:

ISomeObject someObject =

GLUE provides this level of client access.  I had expected Axis to do so
also.  Did I miss something?  Is this already possible?  If not, are there
any plans to provide this??


Andy Day

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message