0 Replies Latest reply on Apr 24, 2007 7:29 AM by shaiknoor_basha

    if u have any example of @webMethod returns java.util.Collec

    shaiknoor_basha

      hi friends,

      if anu bady having example on @webMethod returns java.util.Collection object, plese farword it to me, i am not able to get the return type in my wsdl id is showing like this

      - <definitions name="CalculatorBeanService" targetNamespace="http://bean.webservice.SampleWS.jboss.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://bean.webservice.SampleWS.jboss.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      -
      - <xs:schema targetNamespace="http://bean.webservice.SampleWS.jboss.org/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      - <xs:complexType name="arrayList">
      - <xs:complexContent>
      - <xs:extension base="ns1:abstractList" xmlns:ns1="http://bean.webservice.SampleWS.jboss.org/">
      <xs:sequence />
      </xs:extension>
      </xs:complexContent>
      </xs:complexType>
      - <xs:complexType abstract="true" name="abstractList">
      - <xs:complexContent>
      - <xs:extension base="ns2:abstractCollection" xmlns:ns2="http://bean.webservice.SampleWS.jboss.org/">
      <xs:sequence />
      </xs:extension>
      </xs:complexContent>
      </xs:complexType>
      <xs:complexType abstract="true" name="abstractCollection" />
      </xs:schema>

      -


      -


      -



      -



      -
      -



      -




      -
      <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
      -
      <soap:operation soapAction="" />
      -
      <soap:body namespace="http://bean.webservice.SampleWS.jboss.org/" use="literal" />

      -
      <soap:body namespace="http://bean.webservice.SampleWS.jboss.org/" use="literal" />


      -
      <soap:operation soapAction="" />
      -
      <soap:body namespace="http://bean.webservice.SampleWS.jboss.org/" use="literal" />

      -
      <soap:body namespace="http://bean.webservice.SampleWS.jboss.org/" use="literal" />



      -
      -
      <soap:address location="http://gs:8080/SampleWS/CalculatorBean" />