Can you post your generated WSDL... Does it contain a base64Binary field...
~Thilina On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio <[EMAIL PROTECTED]> wrote: > Hi, > > I know that my wsdl doesn't work. > I write the service in bottom up way. > First I write the service class and the service.xml. > Than I deploy the service to tomcat and get the self generated wsdl. > From this wdsl I create the service stub. > Do I need to use another process? > Thank you. > > Mikelantonio > > p.s. I've seen this link www.apache.org/axis2/1_3/mtom-guide.html#31 but I > don't understand what I shall to do > > > > 2008/4/11, Thilina Gunarathne <[EMAIL PROTECTED]>: > > Can you post the wsdl... It the service also authored by you.. > > > > thanks, > > Thilina > > > > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio > > > > <[EMAIL PROTECTED]> wrote: > > > thank you, > > > > > > I'm using eclipse to generate the stubs. > > > I want obtain this classes: > > > > > > AttachmentRequest attachmentRequest = new AttachmentRequest(); > > > AttachmentType attachmentType = new AttachmentType(); > > > > > > Base64Binary base64Binary = new Base64Binary(); > > > > > > > > > How can I do? > > > Thank you. > > > Mikelantonio > > > > > > 2008/4/11, Thilina Gunarathne <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > Are you looking for a way to enable MTOM in a per service basis... For > > > > that you can add the following to your services.xml under the service > > > > element.. > > > > <parameter name="enableMTOM" locked="false">true</parameter> > > > > > > > > If you are looking for a way to generate a WSDL with base64Binary > > > > fields (MTOM equivalent), then you would need to deploy a pojo service > > > > using the RPCMessageReceiver with methods having DataHandlers as the > > > > parameters or the return values. Nothing special is needed in the > > > > services.xml... > > > > > > > > thanks, > > > > Thilina > > > > > > > > > > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio > > > > <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > > > > > I'd like to know what I should write in the service.xml for having > the > > > > > right wsdl with MTOM parameter. > > > > > Thank you. > > > > > > > > > > Mikelantonio > > > > > > > > > > -- > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our > time, > > > > > trying to establish our own alternate reality. To build a world out > of > > > rocks > > > > > and chaos. What it's going to be, I don't know. Even after all that > > > rushing > > > > > around, where we've ended up is the middle of nowhere in the middle > of > > > the > > > > > night. And maybe knowing isn't the point. Where we're standing right > > > now, in > > > > > the ruins in the dark, what we build could be anything. [Choke - > Chuck > > > > > Palahniuk] > > > > > > > > > > > > > > > > > > > > -- > > > > Thilina Gunarathne - http://thilinag.blogspot.com > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > -- > > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our time, > > > trying to establish our own alternate reality. To build a world out of > rocks > > > and chaos. What it's going to be, I don't know. Even after all that > rushing > > > around, where we've ended up is the middle of nowhere in the middle of > the > > > night. And maybe knowing isn't the point. Where we're standing right > now, in > > > the ruins in the dark, what we build could be anything. [Choke - Chuck > > > Palahniuk] > > > > > > > > > > -- > > > > Thilina Gunarathne - http://thilinag.blogspot.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > It's creepy, but here we are, the Pilgrims, the crackpots of our time, > trying to establish our own alternate reality. To build a world out of rocks > and chaos. What it's going to be, I don't know. Even after all that rushing > around, where we've ended up is the middle of nowhere in the middle of the > night. And maybe knowing isn't the point. Where we're standing right now, in > the ruins in the dark, what we build could be anything. [Choke - Chuck > Palahniuk] -- Thilina Gunarathne - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]