Since no one has replied to my post yet, I chose to simplify the issue more. I am just trying to transport a custom bean having arrays of two different types. One of them is a string array. My webservice is an EJB with a test method to return an object of this custom bean and set its string array to contain four strings "Hello", "World", "from" and "Web service" The SOAP message sent to the client is as follows (from server log)
| <?xml version="1.0" encoding="UTF-8"?> | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | <soapenv:Body> | <ns1:testWSArrayResponseResponse xmlns:ns1="http://mydatatype.mycompany.com"> | <testWSArrayResponseResponse> | <customerArray xsi:nil="1"/> | <stringArray>Hello</stringArray> | <stringArray>World</stringArray> | <stringArray>from</stringArray> | <stringArray>Web service</stringArray> | <timeStamp>2005-07-21T23:47:16.224Z</timeStamp> | </testWSArrayResponseResponse> | </ns1:testWSArrayResponseResponse> | </soapenv:Body> | </soapenv:Envelope> | | In the client, I just get one element in this array which contains a value "Web service". How did the other four elements disappear? By the way, I am using JDK 1.4 for both the server and the client if 1.5 is to be blamed without any question. There is no error or even warning in the server log (set to DEBUG level) and still the client cannot get it right. What's this all about? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886022#3886022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886022 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
