I am using Axis beta 2. The WSDL compiler generates the classes but the classes have no constructors or setters to set any value. The WSDL file was not generated using AXIS. I am attaching the WSDL file and one of the java files ... Don't want to change the generated code unless there is no alternative.
Any input will be appreciated. thanks, /prasanta
<?xml version='1.0'?> <wsdl:definitions name='TestService' targetNamespace='http://netscape.com/SOAP/test/service/' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:tns='http://netscape.com/SOAP/test/service/' xmlns:http='http://schemas.xmlsoap.org/wsdl/http/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'> <wsdl:types> <xsd:schema targetNamespace="http://netscape.com/SOAP/test/service/"> <xsd:complexType name="ArrayOfstring"> <xsd:complexContent> <xsd:restriction base="SOAP-ENC:Array"> <xsd:sequence> <xsd:element name="item" type="xsd:string"/> </xsd:sequence> <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> </xsd:schema> </wsdl:types> <wsdl:message name='TestService_removeUsers_Request'> <wsdl:part name='group' type='xsd:string'/> <wsdl:part name='nUsers' type='xsd:int'/> <wsdl:part name='names' type='tns:ArrayOfstring'/> </wsdl:message> <wsdl:portType name='TestService'> <wsdl:operation name='removeUsers' parameterOrder='group nUsers names'> <wsdl:input name='removeUsers' message='tns:TestService_removeUsers_Request'/> <wsdl:output name='removeUsers' message='tns:TestService_removeUsers_Response'/> </wsdl:operation> </wsdl:portType> <wsdl:binding name='TestService' type='tns:TestService'> <soap:binding transport='http://schemas.xmlsoap.org/soap/http' style='rpc'/> <wsdl:operation name='removeUsers'> <soap:operation soapAction='' style='rpc'/> <wsdl:input name='removeUsers'> <soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' namespace='http://netscape.com/SOAP/test/service/TestService'/> </wsdl:input> <wsdl:output name='removeUsers'> <soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' namespace='http://netscape.com/SOAP/test/service/TestService'/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name='JavaService'> <wsdl:port name='TestService' binding='tns:TestService'> <soap:address location='http://localhost:6070/TestService/'/> </wsdl:port> </wsdl:service> </wsdl:definitions>
ArrayOfstring.java
Description: java/
