Thanks Thilina.....
-----Original Message----- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 11:50 AM To: [email protected] Subject: Re: Axis throws error:SimpleDeserializer Are you using the nightly builds... If not please try with Axis2 nightlies available at http://people.apache.org/dist/axis2/nightly/ ~Thilina On 10/6/06, Gnanasekaran Vinayakamurthy <[EMAIL PROTECTED]> wrote: > > > > > Hi Group, > > > > I have proper functioning Microsoft Sql Server Reporting Services and trying > to make web service calls to .Net Reporting Services from generated stub > -java client classes using Axis2 -WSDL2Java, but found that generated > classes used method(convertTOOM), which are not available in any of the jar > files provided by axis. And due to this I just used Call interface directly > and tried to call a method, but it is giving a strange error : - > "faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a > child element, which is NOT expected, in something it was trying to > deserialize." > > > > If I use SoapUI tool to make web service calls, then it is working well, but > when I tried the same using Axis, then facing errors...... I searched in web > to find solution for this error, but found none. > > > > > > This is my code............. > > > > public static void main(String [] args) throws Exception { > > > > Service service = new Service(); > Call call = (Call) service.createCall(); > call.setTargetEndpointAddress(new URL(serviceURL)); > call.setOperationName(new QName("nameSpace", "ListEvents")); > call.setSOAPActionURI("URI"); > > String retVal = (String) call.invoke(new Object[] {} ); > } > > > > I have also attached WSDL file with this, please check this. > > > I would really appreciate your help on this. > > > > > > Thanks, > > Vinay > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
