ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GRIMSHAW, Richard" <>
Subject RE: value has no type ?
Date Mon, 01 Sep 2003 08:13:42 GMT

	The default or implicit type is String, so the XML-RPC library
doesn't bother specifying <String>.

If this is a problem I think you have to change the source.


-----Original Message-----
From: Jesus M. Salvo Jr. []
Sent: 29 August 2003 02:34
Subject: value has no type ?

Using 1.2-b1. ( BTW, the e-mail archives is not valid from the website ).

The following XML was generated by XMLRPC-1.2b1:

Content-Length: 342
Content-Type: text/xml
User-Agent: Java1.3.1
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

<?xml version="1.0" encoding="ISO-8859-1"?>

Notice that the part where it says:


... which has a missing type for the value element.
I was expecting it to be:


Here's the code that generated it:

import java.util.*;

import org.apache.xmlrpc.*;

public class XMLRPCTest {

   public XMLRPCTest() {


   public static void main( String args[] ) throws Exception {
      XmlRpcClient client = new SecureXmlRpcClient (
       "" );
      XmlRpc.debug = true;
      Vector    params = new Vector();
      Hashtable hashParams = new Hashtable();

      Vector msisdns = new Vector();
      Hashtable hashNumber = new Hashtable();
      hashNumber.put( "num", "+61444444" );
      msisdns.add( hashNumber );

      hashParams.put( "MSISDN", msisdns );
      params.add( hashParams );

      client.execute( "sendsimplemessage", params );



Jesus M. Salvo Jr.
Mobile Internet Group Pty Ltd
(formerly Softgame International Pty Ltd)
M: +61 409 126699
T: +61 2 94604777
F: +61 2 94603677

PGP Public key:

View raw message