我用的axis 1.3 好像传不了sql.Date,也传不了List。
  大家有什么办法?

解决方案 »

  1.   

     不夸张的说,互联网上的任何object都可以传,只要你是webservice,另外,服务端和客户端实体序列化而且统一就行,楼主这问题我刚开始也遇到过当初同样和你一个想法,只要webservice没问题就可以,这是肯定的
      

  2.   

    Standard SOAP doesNOT know about Java objects, it only knows about variables such as strings, numbers, etc.If you really need to send Java objects, you could serialize them to an object stream and send the resulting binary as a SOAP attachment. See SAAJ - the SOAP with Attachments API for Java. This of course would require that your client side have access to the 3rd party library as well as your own custom class library.
    Hope it helps.//Ali