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 Anthony Elder <an...@uk.ibm.com> on 2006/03/18 11:58:38 UTC

[Axis2] JIRA AXIS2-482 and AxisService.createClientSideAxisService

Hi guys,

When AxisService.createClientSideAxisService was added for JIRA AXIS2-482
Raymond asked if there could be a way to pass in a WSDL4J Definition object
instead of a URL to the WSDL. This would be really handy for me as well so
would it be possible? You end up needing to duplicate quite a lot of Axis
code to create your own utility method to do this.

Also, it wasn't really clear how to get the options set correctly or to get
the endpoint picked up from the WSDL.  You need pass an Options object in
to the createClientSideAxisService method but that's not actually used by
the returned AxisService. To have the endpoint correctly picked up from the
WSDL you seem to need to new up an Option object and pass that in to
createClientSideAxisService,  then call setOptions on the returned
AxisService with the same Options object just passed in on the
createClientSideAxisService method. Is this intentional?

Thanks,

       ...ant