Vijay,
Yaa I am using JAVA2WSDL utility using GUI of eclipse, with preferences set to Axis2 environment.
I'm performing an R&D sort till now, just trying with 3 data fields only..
================================================================================
ws.xsd :
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="
http://www.w3.org/2001/XMLSchema" targetNamespace="
http://www.example.org/ws"
xmlns:tns="
http://www.example.org/ws" elementFormDefault="qualified">
<complexType name="IncidentType">
<sequence>
<element name="FirstName" type="
string"></element>
<element name="LastName" type="string"></element>
<element name="Value" type="int"></element>
</sequence>
</complexType>
<element name="Incident" type="tns:IncidentType" abstract="true"></element>
</schema>
================================================================================
ws4.wsdl -
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://DefaultNamespace" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="create">
<complexType/>
</element>
<element name="createResponse">
<complexType/>
</element>
</schema>
</wsdl:types>
<wsdl:message name="createRequest">
<wsdl:part element="impl:create" name="parameters"/>
</wsdl:message>
<wsdl:message name="createResponse">
<wsdl:part element="impl:createResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="Ws4">
<wsdl:operation name="create">
<wsdl:input message="impl:createRequest" name="createRequest"/>
<wsdl:output message="impl:createResponse" name="createResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Ws4SoapBinding" type="impl:Ws4">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="createRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="createResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="Ws4Service">
<wsdl:port binding="impl:Ws4SoapBinding" name="Ws4">
<wsdlsoap:address location="http://localhost:8080/ws4/services/Ws4"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
================================================================================
I'm using SoapSonar application to validate 'n consume this wsdl.
Regards,
Vidhi