Hi,
IIRC I tested that tutorial code with tomcat... I'm guessing something
is going wrong in your system... Let's try to figure it out exactly..

> The client side
> was't able to find the attachment althought the correct envelop was
> arrived..
Did you mean you got the correct soap message together with the
attachment from the server?? Can you capture a message snapshot using
tcpmon (http://ws.apache.org/commons/tcpmon) and see whether you have
the MIME part for the attachment.. It would be great if you can post
it here..

thanks,
Thilina

> I am using axis 2-1.3. My own arr has the similar behavior.  It
> seems that the all samples and tutorial sare based on Stand alone server, I
> just want see any one had the simliar experiences to deploy an aar into
> tomcat and was able to include an attachment in the response message to
> client.
>  Thanks,
> Jack
>
>
> On Wed, Apr 16, 2008 at 7:39 AM, Thilina Gunarathne <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > Just a quick reply...
> > The sample used in the following tutorial is based on Tomcat deployment..
> > Downloading a Binary File from a Web Service using Axis2 and SOAP with
> Attachments - http://wso2.org/library/1675
> >
> > Also are you using the same axis2 version in both cases..
> > thanks,
> > Thilina
> >
> >
> >
> >
> >
> > On 4/16/08, Jinyuan Zhou <[EMAIL PROTECTED]> wrote:
> > >
> > > Thank Thilina,
> > > There are no error message. The usual soap request/response goes well.
> > > I also tried to deploy the one  arr file from a tutorial. Same thing
> happend.
> > > I just don't get it. I have build aar file using the standalone server's
> lib. I'll try to build uisng the jar in WEB_INF/lib. See it will work.   I
> wonder if DataHandler classes are different?   It looks like all examples
> and tutorials are based on stand alone server.
> > > Regards,
> > > Jack
> > >
> > >
> > >
> > > On Tue, Apr 15, 2008 at 8:20 PM, Thilina Gunarathne <[EMAIL PROTECTED]>
> wrote:
> > >
> > > > Hi,
> > > > Can you let us know more information, like any error messages, message
> traces...
> > > >
> > > > thanks,
> > > > Thilina
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Apr 15, 2008 at 8:58 PM, Jinyuan Zhou <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > > Hi,
> > > > > I have developed a websevice that will include an attachment to the
> client. It worked in the standalone server not inside tomcat's webapp.
> > > > > I have  <parameter name="enableSwA">true</parameter> in the
> service.xml inside arr file. Inside tomcat server, I also  have this line in
> the
> > > > > ${CATLINA_HOME}/webapps/myapp/WEB-INF/conf/axis2.xml.
> > > > > What I am missing?
> > > > > Thanks for you time,
> > > > > Jack
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > >
> > >
> > >
> > > --
> > >
> > > Some people lived like they will never die
> > > and died like they have never lived
> >
> >
> >
> > --
> > Thilina Gunarathne  - http://thilinag.blogspot.com
>
>
>
> --
>
> Some people lived like they will never die
> and died like they have never lived



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to