[ 
https://issues.apache.org/jira/browse/AXIS2-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462237
 ] 

Harish Hirasave commented on AXIS2-1933:
----------------------------------------

I invoked the service using the following client code and got the error.


Public class IVRTest {

        public static void main(String[] args) {
                try{
                        
                        IVRServiceStub client = new IVRServiceStub();
                        GetEligibleIVRPromotions request = new
GetEligibleIVRPromotions();
                        request.setPhone("512-926-7699");
                        GetEligibleIVRPromotionsResponse response =
client.getEligibleIVRPromotions(request);
                        
                        ///String remoteString =
service.getEligibleIVRPromotions("512-926-7699");
                        System.out.println(response.get_return());
                }
                catch(Exception e){
                        e.printStackTrace();
                }
        }

The steps that I followed in creating the webservice are

1. Created a POJO.
2. Generated a wsdl.
3. Generated the stub and skeletons from the wsdl.
4. Deployed the service in jboss 3.2.3

Please let me know if you need more information.




> Getting Service not found operation terminated exception
> --------------------------------------------------------
>
>                 Key: AXIS2-1933
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1933
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.1
>         Environment: Windows xp, eclipse, jboss 3.2
>            Reporter: Harish Hirasave
>
> I am getting the following error while invoking a service from the client.
>  org.apache.axis2.AxisFault: Service not found operation terminated !!
>          at 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
>          at 
> com.rrt.webservice.ellsouth_ivrservice_axis2.IVRServiceStub.getEligibleIVRPromotions(IVRServiceStub.java:305)
>          at test.IVRTest.main(IVRTest.java:27)
> Below is the wsdl for reference
> <wsdl:definitions xmlns:axis2="http://ellsouth.ivr/"; 
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
> xmlns:ns="http://ellsouth.ivr/xsd"; 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> targetNamespace="http://ellsouth.ivr/";>
>       <wsdl:types>
>               <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
> attributeFormDefault="qualified" elementFormDefault="qualified" 
> targetNamespace="http://ellsouth.ivr/xsd";>
>                       <xs:element name="getEligibleIVRPromotionsFault">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element 
> name="getEligibleIVRPromotionsFault" type="xs:anyType"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="getEligibleIVRPromotions">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="phone" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="getEligibleIVRPromotionsResponse">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="return" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="hasEligibleIVRPromotionsFault">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element 
> name="hasEligibleIVRPromotionsFault" type="xs:anyType"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="hasEligibleIVRPromotions">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="phone" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="hasEligibleIVRPromotionsResponse">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="return" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="retrieveDataForCardNumber">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="cardNumber" 
> nillable="true" type="xs:string"/>
>                                               <xs:element name="zipCode" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>                       <xs:element name="retrieveDataForCardNumberResponse">
>                               <xs:complexType>
>                                       <xs:sequence>
>                                               <xs:element name="return" 
> nillable="true" type="xs:string"/>
>                                       </xs:sequence>
>                               </xs:complexType>
>                       </xs:element>
>               </xs:schema>
>       </wsdl:types>
>       <wsdl:message name="getEligibleIVRPromotionsMessage">
>               <wsdl:part name="part1" element="ns:getEligibleIVRPromotions"/>
>       </wsdl:message>
>       <wsdl:message name="getEligibleIVRPromotionsResponseMessage">
>               <wsdl:part name="part1" 
> element="ns:getEligibleIVRPromotionsResponse"/>
>       </wsdl:message>
>       <wsdl:message name="getEligibleIVRPromotionsFault">
>               <wsdl:part name="part1" 
> element="ns:getEligibleIVRPromotionsFault"/>
>       </wsdl:message>
>       <wsdl:message name="hasEligibleIVRPromotionsMessage">
>               <wsdl:part name="part1" element="ns:hasEligibleIVRPromotions"/>
>       </wsdl:message>
>       <wsdl:message name="hasEligibleIVRPromotionsResponseMessage">
>               <wsdl:part name="part1" 
> element="ns:hasEligibleIVRPromotionsResponse"/>
>       </wsdl:message>
>       <wsdl:message name="hasEligibleIVRPromotionsFault">
>               <wsdl:part name="part1" 
> element="ns:hasEligibleIVRPromotionsFault"/>
>       </wsdl:message>
>       <wsdl:message name="retrieveDataForCardNumberMessage">
>               <wsdl:part name="part1" element="ns:retrieveDataForCardNumber"/>
>       </wsdl:message>
>       <wsdl:message name="retrieveDataForCardNumberResponseMessage">
>               <wsdl:part name="part1" 
> element="ns:retrieveDataForCardNumberResponse"/>
>       </wsdl:message>
>       <wsdl:portType name="IVRServicePortType">
>               <wsdl:operation name="getEligibleIVRPromotions">
>                       <wsdl:input 
> message="axis2:getEligibleIVRPromotionsMessage"/>
>                       <wsdl:output 
> message="axis2:getEligibleIVRPromotionsResponseMessage"/>
>                       <wsdl:fault name="getEligibleIVRPromotionsFault" 
> message="axis2:getEligibleIVRPromotionsFault"/>
>               </wsdl:operation>
>               <wsdl:operation name="hasEligibleIVRPromotions">
>                       <wsdl:input 
> message="axis2:hasEligibleIVRPromotionsMessage"/>
>                       <wsdl:output 
> message="axis2:hasEligibleIVRPromotionsResponseMessage"/>
>                       <wsdl:fault name="hasEligibleIVRPromotionsFault" 
> message="axis2:hasEligibleIVRPromotionsFault"/>
>               </wsdl:operation>
>               <wsdl:operation name="retrieveDataForCardNumber">
>                       <wsdl:input 
> message="axis2:retrieveDataForCardNumberMessage"/>
>                       <wsdl:output 
> message="axis2:retrieveDataForCardNumberResponseMessage"/>
>               </wsdl:operation>
>       </wsdl:portType>
>       <wsdl:binding name="IVRServiceSOAP11Binding" 
> type="axis2:IVRServicePortType">
>               <soap:binding style="document" 
> transport="http://schemas.xmlsoap.org/soap/http"/>
>               <wsdl:operation name="getEligibleIVRPromotions">
>                       <soap:operation 
> soapAction="urn:getEligibleIVRPromotions" style="document"/>
>                       <wsdl:input>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>                       <wsdl:fault name="getEligibleIVRPromotionsFault">
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:fault>
>               </wsdl:operation>
>               <wsdl:operation name="hasEligibleIVRPromotions">
>                       <soap:operation 
> soapAction="urn:hasEligibleIVRPromotions" style="document"/>
>                       <wsdl:input>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>                       <wsdl:fault name="hasEligibleIVRPromotionsFault">
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:fault>
>               </wsdl:operation>
>               <wsdl:operation name="retrieveDataForCardNumber">
>                       <soap:operation 
> soapAction="urn:retrieveDataForCardNumber" style="document"/>
>                       <wsdl:input>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>               </wsdl:operation>
>       </wsdl:binding>
>       <wsdl:binding name="IVRServiceSOAP12Binding" 
> type="axis2:IVRServicePortType">
>               <soap12:binding 
> transport="http://schemas.xmlsoap.org/soap/http"; style="document"/>
>               <wsdl:operation name="getEligibleIVRPromotions">
>                       <soap12:operation 
> soapAction="urn:getEligibleIVRPromotions" style="document"/>
>                       <wsdl:input>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>                       <wsdl:fault name="getEligibleIVRPromotionsFault">
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:fault>
>               </wsdl:operation>
>               <wsdl:operation name="hasEligibleIVRPromotions">
>                       <soap12:operation 
> soapAction="urn:hasEligibleIVRPromotions" style="document"/>
>                       <wsdl:input>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>                       <wsdl:fault name="hasEligibleIVRPromotionsFault">
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:fault>
>               </wsdl:operation>
>               <wsdl:operation name="retrieveDataForCardNumber">
>                       <soap12:operation 
> soapAction="urn:retrieveDataForCardNumber" style="document"/>
>                       <wsdl:input>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:input>
>                       <wsdl:output>
>                               <soap12:body use="literal" 
> namespace="http://ellsouth.ivr/"/>
>                       </wsdl:output>
>               </wsdl:operation>
>       </wsdl:binding>
>       <wsdl:service name="IVRService">
>               <wsdl:port name="IVRServiceSOAP11port" 
> binding="axis2:IVRServiceSOAP11Binding">
>                       <soap:address 
> location="http://localhost:8080/axis2/services/IVRService"/>
>               </wsdl:port>
>               <wsdl:port name="IVRServiceSOAP12port" 
> binding="axis2:IVRServiceSOAP12Binding">
>                       <soap12:address 
> location="http://localhost:8080/axis2/services/IVRService"/>
>               </wsdl:port>
>       </wsdl:service>
> </wsdl:definitions>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to