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,

help needed urgently ...

2003-06-04 Thread Sameet Nasnodkar
I get the following errors on the stuff that used to work earlier.   Calling Service[SOAPException: faultCode=SOAP-ENV:Server.Exception:; msg=java.lang.ExceptionInInitializerError]    at com.mastercard.inet.formsservice.client.FormServiceClient.getFormDefinitions(FormServiceClient.java:132)

Re: Passing string as ELEMENT

2003-06-04 Thread Vishal Shah
Correct me if I'm wrong, but this requires defining de/serializer for this object type.   There is a difference between an XML file (Document) and Element (DOM element).   VSParames <[EMAIL PROTECTED]> wrote: Thanks Jonathan--- Jonathan Roberts <[EMAIL PROTECTED]>wrote:> Hi.> > You can presumably

Re: Passing string as ELEMENT

2003-06-04 Thread Jonathan Roberts
Hi.   You can presumably only send an XML element if you define it as an object, and pass this over.   RegisterSettings just sets up which xml-app to use.   JonathanParames <[EMAIL PROTECTED]> wrote: HI ,Thanks a lot ..The same logic is working for me with java beanim trying to pass XML element

Problem with Host-connection in combination with some Proxies

2003-06-04 Thread Malte Kempff
Hello there are some for me not understandeble Problems with Connections to the Host via Apache Soap while using Proxies. The application is a Java-Web-Start-Application. Everything is working with the given Proxy, the bowser, the receiving of the application via Java-Web-Start. But trying to make

Re: Passing string as ELEMENT

2003-06-04 Thread Parames
HI , Thanks a lot .. The same logic is working for me with java bean im trying to pass XML element to service instead of string...ie.XML file. Im getting string from client side but need to send as Element ... im dont want to use java bean.. any idea?? And what is call.registerSettings() method

Re: Passing string SERVICE

2003-06-04 Thread Jonathan Roberts
Something like this (code not tested) -- Client side   String returnString = "";   Call c=new Call();  c = registerSettings( c );  c.setMethodName ("fetchData");   //fetchData is name of server sid

Passing string SERVICE

2003-06-04 Thread Parames
Thanks for your response , Any i have query ,Im trying to send string as XML(Element) to the service where service needs to fetch string matching datas from database. XML like Addressbook example.. Can anyone send me some code for sending stringas element,Bcoz in service im passing resultset to e

Re: de-serialisation problem

2003-06-04 Thread Jonathan Roberts
Scott,   Details are   non-working soap.war File : 367 KB,  (31/05/2002) working soap file : 352 KB, (29/05/2002)   Failing XML : xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Working X

Re: Shameless plug

2003-06-04 Thread Anne Thomas Manes
Unfortunately my publisher (Addison-Wesley) prohibits me from publishing the book online. You can see the Table of Contents and Preface on the Addison-Wesley site (http://www.aw.com/catalog/academic/product/0,4096,0321185773,00.html). I believe that they plan to publish one of the chapters, too, bu

Re: Weird: No Longer Sends Any SOAP Responses

2003-06-04 Thread Scott Nichol
A couple of things that come to mind: 1. What happens if you do an HTTP GET, e.g. from a browser, to the SOAP router servlet URL? 2. What happens if you try to call a targetObjectURI that does not exist? 3. Have you run tcpdump on your server to see what is actually coming in and whether *any

RE: Weird: No Longer Sends Any SOAP Responses

2003-06-04 Thread Richard Wareing
Guess whatproblem was DNS. Forgot to update my /etc/hosts file and it was hanging during a host lookup. Problem revealed as I was installing Apache AXIS :). Usually the "weird" problems end up being something simple so I can't say I'm surprised :). Rich... -Original Message- From:

Re: de-serialisation problem

2003-06-04 Thread Scott Nichol
Can you tell me the sizes of the 2 war files? Also, with the xml sniffer, do you see the same version of the XML schema namespace for xmlns:xsd="..."? On 3 Jun 2003 at 11:59, Jonathan Roberts wrote: > Scott, > Excellent news - this was defiantely a version issue. I've just made doubly sure >

Weird: No Longer Sends Any SOAP Responses

2003-06-04 Thread Richard Wareing
Well, I was working happily with Apache Soap along with ksoap (on a mobile handheld device), and they were talking to each other quite fine. Then after the weekend I came back to work on things again, and boom Apache Soap wouldn't give me any more SOAP (XML) responses. For example, something as si

RE: SOAP/Tomcat

2003-06-04 Thread Nirmal Mukhi
Return Receipt Your RE: SOAP/Tomcat document :