I am using apache gsoap for webservice . so not using .wsdd files. generating stubs running wsdl2java on wsdl file created by gsoap (wsdl file is attached).
Is it possible to share the CustomerManager examples you mentioned earlier. Thanks, Vinay -----Original Message----- From: Shellman, Joel [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 11:15 PM To: Vinay Prakash Gupta Subject: RE: Help required .. Oh, yeah, we did have to specify a typeMapping in server-config.wsdd: <typeMapping xmlns:ns="urn:whatever" qname="ns:ArrayOfYourObject" type="java:YourObject[]" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> Something like that. -joel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 10:10 AM To: [EMAIL PROTECTED] Subject: RE: Help required .. Thanks Joel for your reply. I am getting following exception while trying to call such a webservice(returning array of complex type). I am using wsdl2Java tool to generate stubs . WSDL file is there as attachment. ******************************************* Caused by: org.xml.sax.SAXException: No deserializer defined for array type of otFolder at org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(Array serializer.java:304) at org.apache.axis.encoding.DeserializerImpl.startElement(Deserializer pl.java:428) at org.apache.axis.encoding.DeserializationContextImpl.startElement(De rializationContextImpl.java:976) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder. va:198) at org.apache.axis.message.MessageElement.publishToHandler(MessageElem t.java:722) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:323) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347) at org.apache.axis.client.Call.invoke(Call.java:2272) ******************************************** Thanks, Vinay -----Original Message----- From: Shellman, Joel [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 10:34 PM To: '[EMAIL PROTECTED]' Subject: RE: Help required .. Oops. Sorry, I thought this was a private email from a team member. The answer is the same, no problem. It works just fine. You can't use a Collection, you have to use an Array. Or at least we had to for interoperability. -joel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Help required .. Hi all, Can I call a WebService (from axis) which returns an array of complex type . Is there any known problem here . Do I need to add some custom deserailizer here . Thanks, Vinay
calc.wsdl
Description: Binary data
