RE: Soap attachment related question

2003-06-27 Thread Wei Li
at 14:17, Wei Li wrote: > Thanks for the info Scott. > Will Apache soap BeanSerilizer being able to hand a JavaBean that has the metadata, > but also has a > property that is a DataHandler? > > Thanks, > > -- wei > > -Original Message- > From: Scot

RE: Soap attachment related question

2003-06-26 Thread Wei Li
You mean that you use two soap calls to get both meta info. and DataHandler? -Original Message- From: Daniel Zhang [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 1:32 PM To: [EMAIL PROTECTED] Subject: Re: Soap attachment related question Wei Li wrote: >Hi, > >We

RE: Soap attachment related question

2003-06-26 Thread Wei Li
FileBundle extends MetaDataBean { private DataHandler data; public DataHandler getData() {return data;} public void setData(DataHandler data) {this.data = data;} } FileBundle GetFile(String path) On 26 Jun 2003 at 12:06, Wei Li wrote: > Hi, > > We are using ap

Soap attachment related question

2003-06-26 Thread Wei Li
Hi, We are using apache soap attachment to upload and download data using WebSphere. We can send a JavaBean along with a DataHandler to the server to do upload, the Bean can have all the meta data needed for handling this DataHandler. The apache BeanSerializer can handle this. The question is

RE: design question

2003-06-19 Thread Wei Li
I saw that your Qname is different than your TargetObjectUrl, could that be the reason?   -- wei -Original Message-From: ymchatty [mailto:[EMAIL PROTECTED]Sent: Thursday, June 19, 2003 3:19 PMTo: [EMAIL PROTECTED]Subject: Re: design question Here is the client code that

RE: Beginner question

2003-06-11 Thread Wei Li
If you use the following code, it will show you more details about exception: if (resp.generatedFault()) { Fault fault = resp.getFault(); call.setFullTargetObjectURI(targetObjectURI); throw new SOAPException(fault.getFaultCode(), fault.getFaultString()); } -- wei -

RE: Will Soap Attachment DataHandler work with J2EE EJBs?

2003-06-09 Thread Wei Li
Java serializable. The Apache SOAP serialization is not done with Java serialization, of course, but EJBs use Java serialization. On 6 Jun 2003 at 16:14, Wei Li wrote: > Hi, > > Any one had successfully used Apache soap attachment (passing DataHandler) to call a > method in a J2EE

Will Soap Attachment DataHandler work with J2EE EJBs?

2003-06-06 Thread Wei Li
Hi, Any one had successfully used Apache soap attachment (passing DataHandler) to call a method in a J2EE EJB? We are failing to deserialize the DataHandler at the J2EE server side which generated java.io.NotSerializableException. Although the client side has successfully serialized the DataHan

RE: Soap attachment MarshalException

2003-06-06 Thread Wei Li
Hi , forgot to mention we are using WebSphere 4.0.3 as app server. This is a block for us, any quick answer appreciated. -Original Message- From: Wei Li Sent: Thursday, June 05, 2003 12:22 PM To: [EMAIL PROTECTED] Subject: Soap attachment MarshalException * Hi, We are trying

Soap attachment MarshalException

2003-06-06 Thread Wei Li
* Hi, We are trying to use soap attachment, and got MarshalException. Could you help to see what went wrong? We are using java client talking to ejbs through soap webservice. A. The error we got is: [SOAPException: faultCode=SOAP-ENV:Server; msg=RemoteException occurred in server thread

how to do call.setParams for attachment array?

2003-06-04 Thread Wei Li
Hi, We are trying to send multiple attachments in one soap service call. We are thinking using array of DataHandler, but don't know how to give values to Parameter? We are using soap api not axis api. for one attachment, we can do: new Parameter("handler", javax.activation.DataHandler.class, dh,

Re: newbie question, soap.jar path

2002-05-18 Thread Wei Li
Sorry, I think the problem had been solved because I unjar soap.jar to my demo1 directory, after I deleted org/apache/soap package in my demo1 directory, the errors will be here again. But, why??? Thanks. > >>>user/demo1> javac Client.java >>>Client.java:3: package org.apache.soap does not e

Re: newbie question, soap.jar path

2002-05-18 Thread Wei Li
Hi, all, I had some errors as below, when I run my Client.java demo program. ... I had solved the problem by putting soap.jar in my demo1 directory, then added demo1/soap.jar to my path.. But, why this happened? even I put /soap-2_2/lib/soap.jar in my path and classpath, it still

newbie question: java lib problem

2002-05-18 Thread Wei Li
Hi, I am a newbie, and when I compile a java demo program, there is the error. I know it should be path or the library problem, could you help me on it? Thanks.\\ Errors user/demo1> javac Client.java Client.java:3: package org.apache.soap does not exist import org.apache.soap.*; // Boday, E

newbie question

2002-05-16 Thread Wei Li
Hi, there, When I run localhost:8080/soap/admin/index.html, then click deploy, there will also be an error message like this. Can someone help me about this? thanks. type Exception report message Internal Server Error description The server encountered an internal error (Internal Server E

Soap admin error

2002-05-09 Thread Wei Li
Hi, all, I installed Apache tomcat 4.0 and soap 2.2. The /localhost:8080/soap/admin/index.html can be shown. When I click Deploy, there will be an error report as below: Do I still need to do some work? Appreciate for your reply. type Exception report message Internal Server Error descr