You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/14 16:02:06 UTC
DO NOT REPLY [Bug 17981] -
URL does not serialize properly when conatined in a data structure that is cast as a Collection
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);
}
}
------------------------------------------------------------------------------