axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jhan Yuler" <>
Subject Axis serialization bug?
Date Tue, 02 Aug 2005 14:33:07 GMT


I have a java method that I expoxed like a message style web service using 

  public SOAPBodyElement[] getBalanceByAccount( SOAPBodyElement[] doc )
  throws Exception {

    // This line create a small xml document
    String xml = "<root xmlns="urn:helloworld">" +

    doc[0] = new SOAPBodyElement( new ByteArrayInputStream(xml.getBytes()) 

    return doc;

I would hope a response like this:

  <root xmlns="urn:helloworld">

But, the response that I got is this:

  <ns1:root xmlns="urn:helloworld" xmlns:ns1="urn:helloworld">

I think this is a bug!! Am I correct??


View raw message