On 12/30/2011 3:51 AM, a...@itisdesign.com wrote:
> Hi all,
>
> New here.  Could anyone please let me know the Axis2 equivalent of
> Axis1's stub._setProperty("javax.xml.rpc.service.endpoint.address",
> "http://new.endpoint.here <http://new.endpoint.here/>")?
>
> I'm referring to these documents:
> Axis1 stub
> doc: http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/Stub.html
> Axis2 stub
> doc: 
> http://axis.apache.org/axis2/java/core/api/org/apache/axis2/client/Stub.html
>
> Is it stub._getServiceClient().getOptions().getTo().setAddress()?
Yes you can use the following:
stub._getServiceClient().getOptions().setTo();
>
> FWIW, the service is
> http://developer.ebay.com/webservices/latest/ebaySvc.wsdl and the
> stubs were created automatically by wsdl2java via Adobe ColdFusion.  I
> just need to change the service endpoint address.  I do know how in
> Axis1, but not in Axis2.
>
> Thanks!,
> -Aaron

Reply via email to