• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to invoke webserive method !!

 
paritosh pandey
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hava the following WSDL file for which I have created client stubs using axis2.1.5.1 WSDLtoJAVA command. I am trying to invoke createpolicy method in this webservice but not able to do becoz while
doing someting like TravelPolicyStub.CreatePolicyResponse result = stub.CreatePolicyResponse(func);I don't have stub.CreatePolicyResponse(func) generated in clientstub.Also There is no field in func where I can set my inputs.Kindly help


<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="ILInterface/Policy/Travel" xmlns:i18="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/GroupDomesticTravel" xmlns:i12="ILInterface/Policy/Travel/GroupDomesticTravelButique" xmlns:i13="ILInterface/Policy/Travel/ProposalCreation" xmlns:i10="ILInterface/Policy/Travel/PolicyCreation" xmlns:i11="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyCancellation" xmlns:i16="ILInterface/Policy/Travel/PnrSearch" xmlns:i17="ILInterface/Policy/Travel/PemiumCalculation" xmlns:i14="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyEndorsement" xmlns:i15="ILInterface/Policy/Travel/GetPolicyForProposal" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" targetNamespace="ILInterface/Policy/Travel" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="ILInterface/Policy/Travel/PolicyCreation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema1" />
<wsdl:import namespace="ILInterface/Policy/Travel" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema2" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyCancellation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema3" />
<wsdl:import namespace="ILInterface/Policy/Travel/GroupDomesticTravelButique" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema4" />
<wsdl:import namespace="ILInterface/Policy/Travel/ProposalCreation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema5" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyEndorsement" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema6" />
<wsdl:import namespace="ILInterface/Policy/Travel/GetPolicyForProposal" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema7" />
<wsdl:import namespace="ILInterface/Policy/Travel/PnrSearch" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema8" />
<wsdl:import namespace="ILInterface/Policy/Travel/PemiumCalculation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema9" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/GroupDomesticTravel" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?schema=schema10" />
<wsdl:import namespace="ILInterface/Policy/Travel/PolicyCreation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl1" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyCancellation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl2" />
<wsdl:import namespace="ILInterface/Policy/Travel/GroupDomesticTravelButique" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl3" />
<wsdl:import namespace="ILInterface/Policy/Travel/ProposalCreation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl4" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/PolicyEndorsement" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl5" />
<wsdl:import namespace="ILInterface/Policy/Travel/GetPolicyForProposal" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl6" />
<wsdl:import namespace="ILInterface/Policy/Travel/PnrSearch" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl7" />
<wsdl:import namespace="ILInterface/Policy/Travel/PemiumCalculation" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl8" />
<wsdl:import namespace="http://www.24x7icicilombard.com/ILInterface/Policy/Travel/GroupDomesticTravel" location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx?wsdl=wsdl9" />
<wsdl:types />
<wsdl:portType name="TravelPolicyHttpGet" />
<wsdl:portType name="TravelPolicyHttpPost" />
<wsdl:binding name="TravelPolicyHttpGet" type="tns:TravelPolicyHttpGet">
<http:binding verb="GET" />
</wsdl:binding>
<wsdl:binding name="TravelPolicyHttpPost" type="tns:TravelPolicyHttpPost">
<http:binding verb="POST" />
</wsdl:binding>
<wsdl:service name="TravelPolicy">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Create travel policy, calculate premium</documentation>
<wsdl:port name="TrPolicyCreation" binding="i10:TrPolicyCreation">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrPolicyCancellation" binding="i11:TrPolicyCancellation">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrGroupDomesticTravelButique" binding="i12:TrGroupDomesticTravelButique">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrProposalCreation" binding="i13:TrProposalCreation">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrPolicyEndorsement" binding="i14:TrPolicyEndorsement">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrGetPolicyForProposal" binding="i15:TrGetPolicyForProposal">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrPnrSearch" binding="i16:TrPnrSearch">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrPremiumCalculation" binding="i17:TrPremiumCalculation">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TrGroupDomesticTravel" binding="i18:TrGroupDomesticTravel">
<soap:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TravelPolicyHttpGet" binding="tns:TravelPolicyHttpGet">
<http:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
<wsdl:port name="TravelPolicyHttpPost" binding="tns:TravelPolicyHttpPost">
<http:address location="https://24x7.icicilombard.com/ILExtInterface/Policy/Travel/TravelPolicy.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!