axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17981] - URL does not serialize properly when conatined in a data structure that is cast as a Collection
Date Fri, 14 Mar 2003 15:02:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17981>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17981

URL does not serialize properly when conatined in a data structure that is cast as a Collection





------- Additional Comments From dims@yahoo.com  2003-03-14 15:02 -------
Scott,

URL is NOT mapped to anything...See test case below. It fails for me. 

------------------------------------------------------------------------------
package test.encoding;

import junit.framework.TestCase;
import org.apache.axis.message.RPCElement;
import org.apache.axis.message.RPCParam;
import org.apache.axis.message.SOAPEnvelope;

import java.net.URL;

public class TestURL extends TestCase {
    public TestURL(String name) {
        super(name);
    }
    
    public void testURL() throws Exception {
        URL url = new URL("http://ws.apache.org/");
        RPCParam in_table = new RPCParam("http://local_service.com/", "URL", url);
        RPCElement input = new RPCElement("http://localhost:8000/tester", "echoURL",
                                  new Object[]{in_table});
        SOAPEnvelope env = new SOAPEnvelope();
        env.addBodyElement(input);
        String text = env.toString();
        assertTrue(text != null);
    }
}
------------------------------------------------------------------------------

Mime
View raw message