ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronny <Ro...@bigfunfitness.de>
Subject Can use i8 in methodCall
Date Fri, 03 May 2013 07:37:14 GMT
Hi,

I'm trying to use a long as parameter for a function call.

The request looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions">
	<methodName>hsmo.addFileOperationEventListener</methodName>
	<params>
		<param>
			<value>http://localhost:9876/</value>
		</param>
		<param>
			<value>
				<ex:i8>269549568</ex:i8>
			</value>
		</param>
	</params>
</methodCall>

But I get an exception
org.apache.xmlrpc.XmlRpcException: Invalid value element: <ex:i8>
	at
org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:197)
	at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156)
	at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
	at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
	at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
	at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
	at Main.connectToHSMObserver(Main.java:147)
	at Main.main(Main.java:28)

Hm, does anyone can help me and explain what I did wrong?

Thank you and best regards,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message