I don't think that making ws response with null object instead of empty array, or simple object instead of array of one simple object is "portable J2EE-1.4 WS endpoints" ! That exactly what JBossWS do... and not Axis. Strangly, I cannot use Java as ws client of my JBossWS endpoint : I've got a "Null pointer exception", when I can use both Java and PHP (I don't tried any other language..) with Axis endpoint... Which one is the most portable ?
And, <complexType name="arrayWrapper"> | <sequence> | <element name="el" nillable="true" maxOccurs="unbounded" minOccurs="0" type="xsd:int"/> | </sequence> | </complexType> | <complexType name="bean"> | <sequence> | <element name="name" type="xsd:string"/> | <element name="array" nillable="true" type="tns:arrayWrapper"/> | </sequence> | </complexType> is well a "rpc/literal or document/literal", why don't you use it, if it should work better ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940378#3940378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940378 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
