HI, I am getting this error:: can anyone let me know why this might be happening::::
java.lang.illegalArgumentException:No Serializer found to serialize a 'org.w3c.dom.Element' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/" Thanking you V -----Original Message----- From: Scott Nichol [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: Re: MS SOAP CLIENT You can check my samples at http://mywebpages.comcast.net/scottnichol/vbclientapachesoap.htm >From the code below, it appears you are not doing startElement/endElement for each parameter. For example, the symbol parameter for the stock quote client is serialized by this code: Serializer.startElement "symbol" Serializer.SoapAttribute "xsi:type", , "xsd:string" Serializer.writeString "IBM" Serializer.endElement Scott ----- Original Message ----- From: "Vaibhav Joshi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 17, 2002 2:04 PM Subject: MS SOAP CLIENT > Hi, > I want to pass 4 parameters to a SOAP Method written in JAVA-APACHE, > through VB,ie. i want to invoke getInstances(String s, String s1,String > s2,String s3)... > Can you please let me know how can i invoke this method using VB. Is there > any sample code u could send me..This is what i am doing.. > > Method = "getInstances" > Serializer.startEnvelope > Serializer.SoapAttribute "xmlns:xsi", , _ > "http://www.w3.org/1999/XMLSchema-instance" > Serializer.SoapAttribute "xmlns:xsd", , _ > "http://www.w3.org/1999/XMLSchema" > > Serializer.startBody > Serializer.startElement Method, MULTICITY_NS, NS_URI_SOAP_ENC, > "sq" > 'In the Java client, this corresponds to a new > Parameter(...) > Serializer.startElement "getInstances" 'Method name > Serializer.SoapAttribute "xsi:type", , "xsd:string" > Serializer.writeString "11" > Serializer.SoapAttribute "xsi:type", , "xsd:string" > Serializer.writeString "s1" > Serializer.SoapAttribute "xsi:type", , "xsd:string" > Serializer.writeString "s2" > Serializer.SoapAttribute "xsi:type", , "xsd:string" > Serializer.writeString "s3" > Serializer.endElement > Serializer.endElement > Serializer.endBody > Serializer.endEnvelope > > ---------------------------------------------------------------------------- > -------- > Vaibhav Joshi > Multicity > tel: 703-790-0063, ext. 238 | fax: 703-790-3379 > e-mail: [EMAIL PROTECTED] > http://www.multicity.com > > Voted "Best Chat" by Yahoo! Internet Life > and proud to be part of the "100 Best Sites for 2001" > > =========================================== > This email message is for the sole use of the intended recipient(s) and may > contain confidential and privileged information. Any unauthorized review, > use, disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all copies > of the original message. > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com