|
Hi, Iam working on web services first time please help me to
rectify what gone wrong. Attach is bean and client to invoke webservice When I try to invoke I got following error. ------------------------------------------ java CheckEligibilityClient Before Invoking Service java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 Also attached WSDL which I can get from http://localhost/axis/services/CheckEligibility?wsdl link Regards, Pradeep Chauhan DISCLAIMER: |
CheckEligibility.java
Description: java/
CheckEligibilityCheck.java
Description: java/
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://localhost/axis/services/CheckEligibility" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost/axis/services/CheckEligibility" xmlns:intf="http://localhost/axis/services/CheckEligibility" xmlns:tns1="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.2.1 Built on Jun 14, 2005 (09:15:57 EDT)--> <wsdl:types> <schema elementFormDefault="qualified" targetNamespace="http://DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <element name="in0" type="xsd:string"/> <element name="in1" type="xsd:string"/> <element name="in2" type="xsd:string"/> </schema> <schema elementFormDefault="qualified" targetNamespace="http://localhost/axis/services/CheckEligibility" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <element name="CheckOneReturn" type="apachesoap:Document"/> </schema> </wsdl:types>
<wsdl:message name="CheckOneRequest">
<wsdl:part element="tns1:in0" name="in0"/>
<wsdl:part element="tns1:in1" name="in1"/>
<wsdl:part element="tns1:in2" name="in2"/>
</wsdl:message>
<wsdl:message name="CheckOneResponse">
<wsdl:part element="impl:CheckOneReturn" name="CheckOneReturn"/>
</wsdl:message>
<wsdl:portType name="CheckEligibility">
<wsdl:operation name="CheckOne" parameterOrder="in0 in1 in2">
<wsdl:input message="impl:CheckOneRequest" name="CheckOneRequest"/>
<wsdl:output message="impl:CheckOneResponse" name="CheckOneResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CheckEligibilitySoapBinding" type="impl:CheckEligibility">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="CheckOne">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="CheckOneRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="CheckOneResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CheckEligibilityService">
<wsdl:port binding="impl:CheckEligibilitySoapBinding" name="CheckEligibility">
<wsdlsoap:address location="http://localhost/axis/services/CheckEligibility"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
