hi Yixing I am new to XML RPC .Please can you tell how to view XML of XML-RPC request > > > 1404 > Something Here > > > Thanks in advance MANAV --- Yixing Ma wrote: > > Hi, > > As I'm starting to use apache's XML-RPC java api, I > found couple of questions. > > 1) The standard XML-RPC spec defines the array type > as something like: > ********************************************************************** > > > 1404 > Something Here > > > *********************************************************************** > But I was unable to put into the array by using > java Vector. I could only put instead of > . Also the tag in red is > missing. The blank space was replaced by " " in > the generated XML. > > My code is: > ********************************** > Vector v=new Vector(); * > v.add(new Integer("1404")); * > v.add("Something Here"); * > ********************************** > The result XML is > ********************************************************************** > > > 1404 > Something Here > > > ********************************************************************** > > Is there a way to produce the exact same XML as > XML-RPC defined by using apache's api? > > 2) If I want to generate > > > 001404 > > > > as I want to preserve the zero before 1404. What > should I do? > > Best regards, > Yixing Ma > > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com