ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pankjajain15 <pankajjai...@gmail.com>
Subject unable to call XML-rpc
Date Mon, 10 Nov 2008 07:06:17 GMT

Object[]
HotelAvailability=(Object[])client.execute("bookings.getHotelAvailability",
params);
when i am calling this method getting following exception . What should i do
?


org.apache.xmlrpc.common.XmlRpcExtensionException: Serializable objects
aren't supported, if isEnabledForExtensions() == false
at
org.apache.xmlrpc.common.TypeFactoryImpl.getSerializer(TypeFactoryImpl.java:195)
at
org.apache.xmlrpc.serializer.MapSerializer.writeValue(MapSerializer.java:70)
at
org.apache.xmlrpc.serializer.MapSerializer.writeEntry(MapSerializer.java:64)
at
org.apache.xmlrpc.serializer.MapSerializer.writeData(MapSerializer.java:81)
at org.apache.xmlrpc.serializer.MapSerializer.write(MapSerializer.java:88)
at
org.apache.xmlrpc.serializer.XmlRpcWriter.writeValue(XmlRpcWriter.java:172)
at org.apache.xmlrpc.serializer.XmlRpcWriter.write(XmlRpcWriter.java:77)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport$ReqWriterImpl.write(XmlRpcStreamTransport.java:67)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport$ByteArrayReqWriter.<init>(XmlRpcHttpTransport.java:23)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.newReqWriter(XmlRpcHttpTransport.java:106)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:139)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:94)
at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:44)
at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:53)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
at
com.kerios.travel.hotel.connectors.bookingcom.BookingComSearchServiceTest.testSearchMatchingEstablishment(BookingComSearchServiceTest.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
-- 
View this message in context: http://www.nabble.com/unable-to-call-XML-rpc-tp20415213p20415213.html
Sent from the Apache Xml-RPC - User mailing list archive at Nabble.com.


Mime
View raw message