My problem is that neither new MutlipartPostMethod or new HttpClient return. I have added log information in my service method before calling new and after. The log being after never appears.
I am running tomcat and james on the same w2k machine. I am connected to an intranet which has a socks4 proxy. Could it be a configuration issue? Help would be appreciated. Karine -----Message d'origine----- De : Kenny Smith [mailto:[EMAIL PROTECTED] Envoye : jeudi 23 octobre 2003 18:04 A : James Users List Objet : [OT] Re: Connection to a servlet inside a mailet > I am trying to establish a connection to a servlet running on tomcat from inside my custom mailet. I am using httpClient package to create a filePost object to send to the servlet. It seems that nothing is happening when I create the object. > Could someone tell me if it is possible to establish an http connection from inside a mailet? Hi Karine, With HttpClient, you have to do more than just create the object for it to connect. You need to call... openSession() ? or openConnection() or something like that. Then it will begin the HTTP transaction. It doesn't have anything to do with being in a mailet, it should work exactly as normal. Kenny --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
