Hi all,
I am new to WSIF and WSDL. When I try to execute my service using the
wsdl listed at the bottom of this email, I get the following error :
org.apache.wsif.WSIFException: Method byPNRandLastName(class
namespace2.webservice._new.RtrPNRbyPNRLastnameElement) was not found in
portType {http://new.webservice.namespace2}RetrievePNR
at
org.apache.wsif.base.WSIFClientProxy.findMatchingOperation(WSIFClientProxy.j
ava:594)
I am totally lost, and hope you can help.
Thanking you in advance..........Ravan
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns1="http://new.webservice.namespace2"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:y="http://new.webservice.namespace2"
targetNamespace="http://new.webservice.namespace2">
<types>
<xs:schema
targetNamespace="http://new.webservice.namespace2" >
<xs:element name="InclInfo">
<xs:complexType name="InclInfo">
<xs:attribute name="inclSI"
type="xs:string" default="No"/>
<xs:attribute name="inclFQuote"
type="xs:string" default="No"/>
<xs:attribute name="inclTkt"
type="xs:string" default="No"/>
<xs:attribute name="inclExch"
type="xs:string" default="No"/>
<xs:attribute name="inclReject"
type="xs:string" default="No"/>
<xs:attribute name="inclRecLoc"
type="xs:string" default="No"/>
<xs:attribute name="inclPrepaid"
type="xs:string" default="No"/>
</xs:complexType>
</xs:element>
<xs:element name="PNR">
<xs:complexType name="PNR">
<xs:sequence>
<xs:element
ref="tns1:PaxList"/>
<xs:element
ref="tns1:SIList"/>
</xs:sequence>
<xs:attribute name="PNR"
type="xs:string" use="required"/>
<xs:attribute name="owner"
type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="PNRRq">
<xs:complexType name="PNRRq">
<xs:attribute name="PNR"
type="xs:string" use="required"/>
<xs:attribute name="lastName"
type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Pax">
<xs:complexType name="Pax">
<xs:attribute name="nameNr"
type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="lastName"
type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="firstName"
type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="title"
type="xs:string">
</xs:attribute>
<xs:attribute name="paxType"
type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="PaxList">
<xs:complexType name="PaxList">
<xs:sequence>
<xs:element ref="tns1:Pax"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SIList">
<xs:complexType name="SIList">
<xs:sequence>
<xs:element
ref="tns1:SuppInf" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SuppInf">
<xs:complexType name="SuppInf">
<xs:attribute name="siTyp"
type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="carSentTo"
type="xs:string" use="required">
</xs:attribute>
<xs:attribute name="value"
type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="retrievePNRRs">
<xs:complexType name="retrievePNRRs">
<xs:sequence>
<xs:element ref="tns1:PNR"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="rtrPNRbyPNRLastname">
<xs:complexType name="rtrPNRbyPNRLastname">
<xs:sequence>
<xs:element
ref="tns1:PNRRq"/>
<xs:element
ref="tns1:InclInfo"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</types>
<message name="PNRRetrieveResponse">
<part name="response" element="tns1:retrievePNRRs"/>
</message>
<message name="PNRByLastNameRequest">
<part name="request" element="tns1:rtrPNRbyPNRLastname"/>
</message>
<portType name="RetrievePNR">
<operation name="byPNRandLastName" parameterOrder="request">
<input name="meme"
message="y:PNRByLastNameRequest"/>
<output message="y:PNRRetrieveResponse"/>
</operation>
</portType>
<binding name="RetrievePNRSoapBinding" type="y:RetrievePNR">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="byPNRandLastName">
<soap:operation/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="RetrievePNRService">
<port name="y:RetrievePNR"
binding="y:RetrievePNRSoapBinding">
<soap:address location="http://localhost/test"/>
</port>
</service>
</definitions>
**********************************************************************
For information, services and offers, please visit our web site: http://www.klm.com.
This e-mail and any attachment may contain confidential and privileged material
intended for the addressee only. If you are not the addressee, you are notified that
no part of the e-mail or any attachment may be disclosed, copied or distributed, and
that any other action related to this e-mail or attachment is strictly prohibited, and
may be unlawful. If you have received this e-mail by error, please notify the sender
immediately by return e-mail, and delete this message. Koninklijke Luchtvaart
Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for
the incorrect or incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
**********************************************************************