Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault: Service not found operation terminated !!  RSS feed

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting an SOAP fault org.apache.axis2.AxisFault: Service not found operation terminated !! during the invocation of Service. Although port defined in the wsdl is up.
tcp 0 0 0.0.0.0:9129 0.0.0.0:* LISTEN

Is there any problem in wsdl file....

<?xml version="1.0" encoding="UTF-8" ?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://logon.soap.zp.alu.com/icm"
xmlns:impl="http://logon.soap.zp.alu.com/icm"
xmlns:tns="http://logon.soap.zp.alu.com/icm"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:com_alu_zp="http://logon.soap.zp.alu.com/icm">

<!-- Type Mapping -->

<types>

<schema targetNamespace="http://logon.soap.zp.alu.com/icm" xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">

<xsd:element name="SessionIdData" type="com_alu_zp:SessionIdData"/>
<complexType name="SessionIdData">
<sequence>
<element name="sessionId" type="xsd:string" />
</sequence>
</complexType>

<xsd:element name="LogonIdData" type="com_alu_zp:LogonIdData"/>
<complexType name="LogonIdData">
<sequence>
<element name="partitionId" nillable="false" type="xsd:string" />
<element name="password" nillable="false" type="xsd:string" />
<element name="userId" nillable="false" type="xsd:string" />
</sequence>
</complexType>

<xsd:element name="UserIdData" type="com_alu_zp:UserIdData"/>
<complexType name="UserIdData">
<sequence>
<element name="partitionId" nillable="false" type="xsd:string" />
<element name="userId" nillable="false" type="xsd:string" />
</sequence>
</complexType>

<xsd:element name="WebServiceEndPointsData" type="com_alu_zp:WebServiceEndPointsData"/>
<complexType name="WebServiceEndPointsData">
<sequence>
<element name="associationsEndPoint" nillable="true" type="xsd:string" />
<element name="displayGroupEndPoint" nillable="true" type="xsd:string" />
<element name="featureManagementEndPoint" nillable="true" type="xsd:string" />
<element name="logonEndPoint" nillable="true" type="xsd:string" />
<element name="messagingServiceEndPoint" nillable="true" type="xsd:string" />
<element name="pabEndPoint" nillable="true" type="xsd:string" />
<element name="preferenceEndPoint" nillable="true" type="xsd:string" />
<element name="searchServiceEndPoint" nillable="true" type="xsd:string" />
<element name="skinServiceEndPoint" nillable="true" type="xsd:string" />
</sequence>
</complexType>

<xsd:element name="LogonResultData" type="com_alu_zp:LogonResultData"/>
<complexType name="LogonResultData">
<sequence>
<element name="adminUserRole" type="xsd:int" />
<element name="daysToExpire" type="xsd:int" />
<element name="externalHostName" nillable="true" type="xsd:string" />
<element name="externalIFPortNumber" type="xsd:int" />
<element name="externalIFSSLPortNumber" type="xsd:int" />
<element name="internalHostName" nillable="true" type="xsd:string" />
<element name="logonResult" type="xsd:int" />
<element name="sessionId" nillable="true" type="tns:SessionIdData" />
<element name="soapEndPoints" nillable="true" type="tns:WebServiceEndPointsData" />
<element name="userRole" type="xsd:int" />
<element name="versionId" nillable="true" type="xsd:string" />
</sequence>
</complexType>

</schema>

</types>

<!-- Messages -->



<message name="logonRequest">
<part name="logonId" type="tns:LogonIdData" />
</message>
<message name="logonResponse">
<part name="logonReturn" type="tns:LogonResultData" />
</message>

<message name="logoutRequest">
<part name="sessionId" type="tns:SessionIdData" />
</message>
<message name="logoutResponse" />

<!-- Port Type -->

<portType name="LogonService">

<operation name="logon">
<input message="tns:logonRequest" name="logonRequest" />
<output message="tns:logonResponse" name="logonResponse" />
</operation>

<operation name="logout">
<input message="tns:logoutRequest" name="logoutRequest" />
<output message="tns:logoutResponse" name="logoutResponse" />
</operation>

</portType>

<!-- Logon Binding -->

<binding name="LogonServiceSoapBinding" type="impl:LogonService">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<!-- logon -->

<operation name="logon">
<wsdlsoap peration soapAction="LogonService"/>
<input name="logonRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://logon.soap.zp.alu.com/icm" use="literal"/>
</input>
<output name="logonResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://logon.soap.zp.alu.com/icm" use="literal"/>
</output>
</operation>

<!-- logout -->

<operation name="logout">
<wsdlsoap peration soapAction="LogonService"/>
<input name="logoutRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://soap.lucent.com/lcm" use="literal"/>
</input>
<output name="logoutResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://soap.lucent.com/lcm" use="literal"/>
</output>
</operation>

</binding>

<!-- Logon Service -->

<service name="LogonService">
<port binding="impl:LogonServiceSoapBinding" name="LogonService">
<wsdlsoap:address location="http://@LOGON-HOST@:@LOGON-PORT@/webservices/LogonService" />
</port>
</service>

</definitions>


Thanks
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It has been solved.I missed my service.xml file
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!