Here's an example of how to change the endpoint in Axis2:

MyServiceStub stub = new MyServiceStub();
EndpointReference endpointReference = new EndpointReference("https://my.new.host:1234/some/path/to/my/service";);
stub._getServiceClient().getOptions().setTo(endpointReference);

Hope this helps,
Gary

--
Gary Weaver
Internet Framework Services
Office of Information Technology
Duke University



sri ram wrote:
Hi all,
I have got a problem ,presently my service is available at this endpoint
run/services/apiservices
Can i change the endpoint to just
run/
will I be able to see my services there ,if yes how can I do that ,what all changes should i do to the configuration files like axis2.xml

Please guide me on this
Thanks and Regards
Sriram P

------------------------------------------------------------------------
Meet people who discuss and share your passions. Join them now. <http://in.rd.yahoo.com/tagline_groups_7/*http://in.promos.yahoo.com/groups/bestofyahoo/>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to