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:
This message, including any attachments contains confidential and privileged information for the sole use of the intended recipient(s), and is protected by law.
If you are not the intended recipient, please destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
Indus and R Systems International Ltd reserves the right to record, monitor, and inspect all email communications through its internal and external networks. Your messages shall be subject to such lawful supervision as Indus and R Systems International Ltd deems necessary in order to protect its information, interests and reputation.
Indus and R Systems International Ltd prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material.

Attachment: CheckEligibility.java
Description: java/

Attachment: 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>

Reply via email to