Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Sympa and SOAP: Bad Types: (int -> boolean)
- From: <address@concealed>
- To: address@concealed
- Subject: [sympa-users] Sympa and SOAP: Bad Types: (int -> boolean)
- Date: Thu, 13 Mar 2008 09:06:28 +0100
Hi,
I'm currently working with Sympa 5.3.3 and the SOAP interface.
I have created my Java client code as directed on your page:
http://www.sympa.org/manual/soap#web_server_setup
using axis 1.4. I've then used the stubs to create a list.
The list is being created successfully but the response code being returned
from the server is causing an exception to be thrown:
12-Mar-2008 15:38:33 org.apache.axis.client.Call invoke
SEVERE: Exception:
org.xml.sax.SAXException: Bad types (int -> boolean)
at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:286)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at uk.ac.bris.sympa.sympa.wsdl.SOAPStub.createList(SOAPStub.java:599)
at SympaTest.main(SympaTest.java:27)
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (int -> boolean)
faultActor:
faultNode:
faultDetail:
Looking at the wsdl createListResponse is supposed to return a boolean but
looking at the perl it returns an int of 1 (hence the bad types).
I've searched the archives of this list to see if anyone has had similar
problems but found nothing. Has anyone come across this problem before, and
found a solution.
Any help greatly appreciated.
Catherine
-
[sympa-users] Sympa and SOAP: Bad Types: (int -> boolean),
catherine.jewell, 03/13/2008
-
Re: [sympa-users] Sympa and SOAP: Bad Types: (int -> boolean),
serge . aumont, 03/14/2008
- Re: [sympa-users] Sympa and SOAP: Bad Types: (int -> boolean), Catherine Jewell, 03/14/2008
-
Re: [sympa-users] Sympa and SOAP: Bad Types: (int -> boolean),
serge . aumont, 03/14/2008
Archive powered by MHonArc 2.6.19+.