RE: attachments with generated stubs

2003-04-03 Thread Volkmann, Mark
Title: attachments with generated stubs Thanks!  For getting at the data in attachments within the web service, the article says "The simplest approach is to not add attachments to the method signature and just pull it out by hand."  It then gives example code for doing that.   C

RE: attachments with generated stubs

2003-04-03 Thread Pathak, Sanjesh
Title: attachments with generated stubs Mark,   Go to the link below for an excellent article written by Steve Loughran which explains how to extract attachments within the service implementation method (your first approach).   http://www.mail-archive.com/[EMAIL PROTECTED]/msg08732.html

RE: attachments with generated stubs

2003-04-03 Thread Volkmann, Mark
Title: attachments with generated stubs Thanks!  I had activation.jar, but I needed mail.jar.   It seems that there are at least two ways to get an attachment added to the SOAP request.  One way is to call addAttachment(dataHandler) on my generated stub.  Another way is to pass my

RE: attachments with generated stubs

2003-04-03 Thread Tom Jordahl
Title: attachments with generated stubs   You need activation.jar and perhaps mailapi.jar in your classpath during execution.   -- Tom Jordahl Macromedia Server Development -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10

attachments with generated stubs

2003-03-31 Thread Volkmann, Mark
Title: attachments with generated stubs There is a sample of using attachments that is bundled with Axis (in the samples/attachments directory).  It uses the SAAJ API.  What I'd like to do is use a generated stub (from wsdl2java) and add attachments before I invoke methods on that stub