You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Arun swaran Jagatheesan <ar...@sdsc.edu> on 2002/02/11 23:24:00 UTC

ByteArrayDataSource & soap.jar

Hi,
I am using tomcat (3.3.a) and soap works fine with soap.jar not included in
the classpath as i have soap.war & classes in webapps of tomcat.

But, when i want to use file attachments it fires an exception
org/apache/soap/util/mime/ByteArrayDataSource class not found. If i add
soap.jar to my classpath , for some strange reason it complains
javax/servlet/http/HttpServlet class not found during SOAP calls. How do i
add ByteArrayDataSource class (soap.jar) to classpath without getting the
HttpServlet not found exception for SOAP calls.

Thanks,
Arun.


[apache-soap] RE: ByteArrayDataSource & soap.jar

Posted by Arun swaran Jagatheesan <ar...@sdsc.edu>.
Thanks,it worked. But, i am not able to comprehend what is going on
internally - Java must have had tomcat.jar, webapps (soap-classes from
soap.war), soap.jar, servlet.jar in this order. I guess last two jars need
not be present in the classpath technically.

Arun.
> -----Original Message-----
> From: Fred Meredith [mailto:fmeredith@nc.rr.com]
> Sent: Monday, February 11, 2002 2:34 PM
> To: soap-user@xml.apache.org
> Subject: Re: ByteArrayDataSource & soap.jar
>
>
> Maybe try also adding servlet.jar to your classpath along with soap.jar.
>
>
>
> > Hi,
> > I am using tomcat (3.3.a) and soap works fine with soap.jar not included
> in
> > the classpath as i have soap.war & classes in webapps of tomcat.
> >
> > But, when i want to use file attachments it fires an exception
> > org/apache/soap/util/mime/ByteArrayDataSource class not found. If i add
> > soap.jar to my classpath , for some strange reason it complains
> > javax/servlet/http/HttpServlet class not found during SOAP
> calls. How do i
> > add ByteArrayDataSource class (soap.jar) to classpath without
> getting the
> > HttpServlet not found exception for SOAP calls.
> >
> > Thanks,
> > Arun.
> >
>


[apache-soap] RE: ByteArrayDataSource & soap.jar

Posted by Arun swaran Jagatheesan <ar...@sdsc.edu>.
Thanks,it worked. But, i am not able to comprehend what is going on
internally - Java must have had tomcat.jar, webapps (soap-classes from
soap.war), soap.jar, servlet.jar in this order. I guess last two jars need
not be present in the classpath technically.

Arun.
> -----Original Message-----
> From: Fred Meredith [mailto:fmeredith@nc.rr.com]
> Sent: Monday, February 11, 2002 2:34 PM
> To: soap-user@xml.apache.org
> Subject: Re: ByteArrayDataSource & soap.jar
>
>
> Maybe try also adding servlet.jar to your classpath along with soap.jar.
>
>
>
> > Hi,
> > I am using tomcat (3.3.a) and soap works fine with soap.jar not included
> in
> > the classpath as i have soap.war & classes in webapps of tomcat.
> >
> > But, when i want to use file attachments it fires an exception
> > org/apache/soap/util/mime/ByteArrayDataSource class not found. If i add
> > soap.jar to my classpath , for some strange reason it complains
> > javax/servlet/http/HttpServlet class not found during SOAP
> calls. How do i
> > add ByteArrayDataSource class (soap.jar) to classpath without
> getting the
> > HttpServlet not found exception for SOAP calls.
> >
> > Thanks,
> > Arun.
> >
>


Re: ByteArrayDataSource & soap.jar

Posted by Fred Meredith <fm...@nc.rr.com>.
Maybe try also adding servlet.jar to your classpath along with soap.jar.



> Hi,
> I am using tomcat (3.3.a) and soap works fine with soap.jar not included
in
> the classpath as i have soap.war & classes in webapps of tomcat.
>
> But, when i want to use file attachments it fires an exception
> org/apache/soap/util/mime/ByteArrayDataSource class not found. If i add
> soap.jar to my classpath , for some strange reason it complains
> javax/servlet/http/HttpServlet class not found during SOAP calls. How do i
> add ByteArrayDataSource class (soap.jar) to classpath without getting the
> HttpServlet not found exception for SOAP calls.
>
> Thanks,
> Arun.
>


Re: ByteArrayDataSource & soap.jar

Posted by Fred Meredith <fm...@nc.rr.com>.
Maybe try also adding servlet.jar to your classpath along with soap.jar.



> Hi,
> I am using tomcat (3.3.a) and soap works fine with soap.jar not included
in
> the classpath as i have soap.war & classes in webapps of tomcat.
>
> But, when i want to use file attachments it fires an exception
> org/apache/soap/util/mime/ByteArrayDataSource class not found. If i add
> soap.jar to my classpath , for some strange reason it complains
> javax/servlet/http/HttpServlet class not found during SOAP calls. How do i
> add ByteArrayDataSource class (soap.jar) to classpath without getting the
> HttpServlet not found exception for SOAP calls.
>
> Thanks,
> Arun.
>