Re: PostMethod call fails in Tomcat

2008-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 kpalania, kpalania wrote: > 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 usi

RE: PostMethod call fails in Tomcat

2008-12-03 Thread Martin Gainty
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 Endp

Re: PostMethod call fails in Tomcat

2008-12-03 Thread Leon Rosenberg
On Wed, Dec 3, 2008 at 11:17 PM, kpalania <[EMAIL PROTECTED]> wrote: > > 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 Po