this is AXIS REST code .. structure your client code as String epr="http://MySiteIsGreatestSiteOnEarth.com"; ServiceClient client = new ServiceClient(); Options options = new Options(); client.setOptions(options); options.setTo(new EndpointReference(epr));
please post to [EMAIL PROTECTED] Martin Gainty ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 3 Dec 2008 14:17:58 -0800 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: PostMethod call fails in Tomcat > > > I am trying to access a REST service from within an application deployed in > Tomcat but, however, this call seems to fail: > > PostMethod method = new PostMethod("http://..."); > > I am able to call the same service using PostMethod from a junit test. Any > thoughts? > -- > View this message in context: > http://www.nabble.com/PostMethod-call-fails-in-Tomcat-tp20822909p20822909.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Suspicious message? There’s an alert for that. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2_122008