Re: Help ... can't get SOAPContext

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <022301c43917$14048c90$6401a8c0@northgate>
This usually indicates that the SOAPContext class is getting loaded from 2 different places.  The Apache SOAP classes should only be in the webapp.  If they are in the webapp and some directory where WebSphere loads "shared" classes, you can get this problem.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Matthew T Whittaker" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 13, 2004 2:04 PM
Subject: Help ... can't get SOAPContext






 I am using Apache SOAP 2.3.1 on WebSphere 4.5.


 I am trying to pass an attachment as a MIME body part and want to retrieve

 it on the server side using the SOAPContext.


 All examples indicate that all that is needed is to include the

 SOAPContext in the begining of the server side method. My signature looks

 like the following:


 public static String storeFile(SOAPContext cxt, String name, String path){

 ...

 }


 I get a fault returned that says "no signature found" for (String,

 String).


 WHY????


 I thought that the inclusion of the SOAPContext in the server method is

 supposed to be transparent.


 I am stumped, any directions or suggestions would help.

Matthew T Whittaker
IT Professional
IBM Global Services
404 Wyman St
Waltham MA, 02454
Phone: 781-895-2555 Tie-Line: 362-2555
Internet: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.