[Fedora-suds-list] [suds bug] TypeNotFound

Jeff Ortel jortel at redhat.com
Tue Jul 14 17:31:48 UTC 2009



Uri Shkolnik wrote:
> Hi Jeff,
> 
> Thanks for your help!!


Anytime :)

> 
> I did try that, but I used
>    imp.filter.add('http://alp.co.il/WebService/service.php?class=masterPricer') 
> ...which fails
> 
> I don't know why using IP instead on qualified DNS name -
>    imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer')

The filter is based on the target namespace (TNS).  The schema contained in the wsdl is 
defined as <schema 
targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer"/> so that 
is must be used.  It really has nothing to do with dns/bind.

> works...
> 
> 
> Thanks,
> 
> Uri
> 
> --- On Tue, 7/14/09, Jeff Ortel <jortel at redhat.com> wrote:
> 
>> From: Jeff Ortel <jortel at redhat.com>
>> Subject: Re: [Fedora-suds-list] [suds bug] TypeNotFound
>> To: "Uri Shkolnik" <urishk at yahoo.com>
>> Cc: fedora-suds-list at redhat.com
>> Date: Tuesday, July 14, 2009, 5:43 PM
>> Hey Uri,
>>
>> The problem is that your wsdl contains a schema definition
>> that references the SOAP-ENC:Array but fails to import the
>> "http://schemas.xmlsoap.org/soap/encoding/"
>> properly.  This can be fixed at runtime using the
>> schema Doctor as defined by: https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs. 
>> This is a fairly common problem.
>>
>> For your wsdl, add the following:
>>
>>> from suds.xsd.doctor import ImportDoctor, Import
>>> imp = Import('http://schemas.xmlsoap.org/soap/encoding/')
>>> imp.filter.add('http://212.235.42.50/WebService/service.php?class=masterPricer')
>>> d = ImportDoctor(imp)
>>> client = Client(url, doctor=d)
>>>
>> This worked for me.
>>
>> Regards,
>>
>> Jeff
>>
>> Uri Shkolnik wrote:
>>> Hi,
>>>
>>> I encounter a bug, which blocks my progress. When
>> trying to use the wsdl file below, the dependencies parser
>> encounters a problem and exits.
>>> "
>>>   raise TypeNotFound(qref)
>>> TypeNotFound: Type not found: '(Array, http://schemas.xmlsoap.org/soap/encoding/, )'
>>> "
>>>
>>> (Same as describes at https://fedorahosted.org/suds/ticket/220
>> )
>>>
>>> Does anyone knows how to fix/override this issue?
>>>
>>>
>>> 10x,
>>> Uri
>>>
>>>
>>> wsdl file
>>> ---------
>>>
>>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>> <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
>>>     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>>>     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>     xmlns:tns="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>     targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer">
>>>     <wsdl:types>
>>>         <xsd:schema
>>>        
>>     targetNamespace="http://212.235.42.50/WebService/service.php?class=masterPricer">
>>>        
>>     <xsd:complexType
>> name="searchRequest">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="userIdentification"
>> type="tns:userIdentification" />
>>>        
>>            
>> <xsd:element name="itineraryArr"
>> type="tns:itineraryArray" />
>>>        
>>            
>> <xsd:element name="paxReferenceArr"
>> type="tns:paxReferenceArray" />
>>>        
>>            
>> <xsd:element name="recommendationNum" type="xsd:int"
>> />
>>>        
>>            
>> <xsd:element name="travelFlightInfo"
>> type="tns:travelFlightInfo" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="userIdentification">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="username" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="password" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="itineraryArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:itinerary[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType name="itinerary">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="departurePoint"
>> type="tns:locationPoint" />
>>>        
>>            
>> <xsd:element name="arrivalPoint" type="tns:locationPoint"
>> />
>>>        
>>            
>> <xsd:element name="dateTimeDetails"
>> type="tns:dateTimeDetails" />
>>>        
>>            
>> <xsd:element name="flightInfo" type="tns:flightInfo"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="locationPoint">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="locationId" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="radius" minOccurs="0" maxOccurs="1"
>>>        
>>            
>>     type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="dateTimeDetails">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="date" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="rangeOfTime" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:rangeOfTime"
>> />
>>>        
>>            
>> <xsd:element name="rangeOfDate" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:rangeOfDate"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="rangeOfTime">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="timeQualifier" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="time" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="timeWindow" type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="rangeOfDate">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="dayQualifier" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="dayInterval" type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="flightDetail" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:flightDetail"
>> />
>>>        
>>            
>> <xsd:element name="companyIdentity" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:companyIdentity"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="flightType" type="tns:stringArray"
>> />
>>>        
>>            
>> <xsd:element name="flightClass" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="stringArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="xsd:string[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="companyIdentity">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="carrierQualifier" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="carrierId" type="tns:stringArray"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="paxReferenceArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:paxReference[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="paxReference">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="quantity" type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="travelFlightInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="flightDetail" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:flightDetail"
>> />
>>>        
>>            
>> <xsd:element name="priceToBeat" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="companyIdentity" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:companyIdentity"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="searchReply">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="searchReference" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="flightIndexArr"
>> type="tns:flightIndexArray" />
>>>        
>>            
>> <xsd:element name="recommendationArr"
>> type="tns:recommendationArray" />
>>>        
>>            
>> <xsd:element name="errorMessage" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:errorMessage"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightIndexArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:flightIndex[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightIndex">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="segmentRef" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="groupOfFlightsArr"
>> type="tns:groupOfFlightsArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="groupOfFlightsArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:groupOfFlights[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="groupOfFlights">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="flightGroupRef" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="flightDetailsArr"
>> type="tns:flightDetailsArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightDetailsArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:flightDetails[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightDetails">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="dateTimeInfo"
>> type="tns:flightDateTime" />
>>>        
>>            
>> <xsd:element name="departureInfo" type="tns:airportInfo"
>> />
>>>        
>>            
>> <xsd:element name="arrivalInfo" type="tns:airportInfo"
>> />
>>>        
>>            
>> <xsd:element name="airlineInfo" type="tns:airlineInfo"
>> />
>>>        
>>            
>> <xsd:element name="flightNumber" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="addFlightDetail"
>> type="tns:addFlightDetail" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="flightDateTime">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="departureDate" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="departureTime" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="arrivalDate" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="arrivalTime" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="airportInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="locationId" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="terminal" minOccurs="0" maxOccurs="1"
>>>        
>>            
>>     type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="airlineInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="code" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="addFlightDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="aircraftType" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="techStopNumber" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="locationId" minOccurs="0"
>> maxOccurs="1"
>>>        
>>            
>>     type="xsd:string" />
>>>        
>>            
>> <xsd:element name="electronicTicketing" type="xsd:string"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="recommendationArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:recommendation[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="recommendation">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="recommendationNumber" type="xsd:int"
>> />
>>>        
>>            
>> <xsd:element name="referencingDetailArr"
>> type="tns:referencingDetailArray" />
>>>        
>>            
>> <xsd:element name="recPriceInfo" type="tns:recPriceInfo"
>> />
>>>        
>>            
>> <xsd:element name="paxFareProductArr"
>> type="tns:paxFareProductArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="referencingDetailArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:referencingDetail[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="referencingDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="refDetailNumber" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="segmentFlightRefArr"
>> type="tns:segmentFlightRefArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="segmentFlightRefArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:segmentFlightRef[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="segmentFlightRef">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="segmentRef" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="flightGroupRef" type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="recPriceInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="currency" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="totalNetAmount" type="xsd:double"
>> />
>>>        
>>            
>> <xsd:element name="totalTaxAmount" type="xsd:double"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="paxFareProductArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:paxFareProduct[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="paxFareProduct">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="paxFareDetail"
>> type="tns:paxFareDetail" />
>>>        
>>            
>> <xsd:element name="fare" type="tns:pricingMessageArray"
>> />
>>>        
>>            
>> <xsd:element name="fareDetailsArr"
>> type="tns:fareDetailsArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="paxFareDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="paxFareNum" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="totalNetAmount" type="xsd:double"
>> />
>>>        
>>            
>> <xsd:element name="totalTaxAmount" type="xsd:double"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="pricingMessageArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:pricingMessage[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="pricingMessage">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="messageQualifier" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="description" type="tns:stringArray"
>> />
>>>        
>>            
>> <xsd:element name="monetaryInfo"
>> type="tns:monetaryInfoArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="monetaryInfoArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:monetaryInfo[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="monetaryInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="amountType" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="amount" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="currency" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="fareDetailsArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:fareDetails[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="fareDetails">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="segmentRef" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="productInfoArr"
>> type="tns:productInfoArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="productInfoArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:productInfo[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="productInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="bookingClass" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="seatsNum" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="cabin" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="fareBasis" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="fareType" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="errorMessage">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="errorCode" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="description" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="errorDebugInfo"
>> type="tns:errorDebugInfo" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="errorDebugInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="traceId" minOccurs="0" maxOccurs="1"
>>>        
>>            
>>     type="xsd:string" />
>>>        
>>            
>> <xsd:element name="errorQualifier" type="xsd:string"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="sellFromRecommendationRequest">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="userIdentification"
>> type="tns:userIdentification" />
>>>        
>>            
>> <xsd:element name="reservationReference"
>> type="tns:reservationReference" />
>>>        
>>            
>> <xsd:element name="passengerDataArr"
>> type="tns:passengerDataArray" />
>>>        
>>            
>> <xsd:element name="contactInformation"
>> type="tns:contactInformation" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="reservationReference">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="searchReference" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="recommendationNumber" type="xsd:int"
>> />
>>>        
>>            
>> <xsd:element name="refDetailNumber" type="xsd:int" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="passengerDataArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:passengerData[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="passengerData">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="firstName" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="lastName" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="dateOfBirth" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="contactInformation">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="phone" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="address" minOccurs="0" maxOccurs="1"
>>>        
>>            
>>     type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="sellFromRecommendationReply">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="reservationId" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="reservationInfo"
>> type="tns:reservationInfo" />
>>>        
>>            
>> <xsd:element name="travellerInfo"
>> type="tns:passengerDataArray" />
>>>        
>>            
>> <xsd:element name="itineraryInformation"
>> type="tns:itineraryInfoArray" />
>>>        
>>            
>> <xsd:element name="contactInformation"
>> type="tns:contactInformation" />
>>>        
>>            
>> <xsd:element name="errorMessage" minOccurs="0"
>>>        
>>            
>>     maxOccurs="1" type="tns:errorMessage"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="reservationInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="controlNumber" type="xsd:string"
>> />
>>>        
>>            
>> <xsd:element name="officeId" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="date" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="time" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="itineraryInfoArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:itineraryInfo[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="itineraryInfo">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="segmentDetail"
>> type="tns:segmentDetail" />
>>>        
>>            
>> <xsd:element name="flightDetails"
>> type="tns:flightDetails" />
>>>        
>>            
>> <xsd:element name="bagAllowanceInfo"
>> type="tns:bagAllowanceDetailsArray" />
>>>        
>>            
>> <xsd:element name="fareBasisInfo"
>> type="tns:fareBasisDetailArray" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="segmentDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="status" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="classOfService" type="xsd:string"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="bagAllowanceDetailsArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:bagAllowanceDetails[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="bagAllowanceDetails">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="baggageWeight" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="baggageType" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="measureUnit" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="fareBasisDetailArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:fareBasisDetail[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="fareBasisDetail">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="ptc" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="primaryCode" type="xsd:string" />
>>>        
>>            
>> <xsd:element name="fareBasisCode" type="xsd:string"
>> />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="errorDescriptionArray">
>>>        
>>        
>> <xsd:complexContent>
>>>        
>>            
>> <xsd:restriction base="SOAP-ENC:Array">
>>>        
>>            
>>     <xsd:attribute
>> ref="SOAP-ENC:arrayType"
>>>        
>>            
>>        
>> wsdl:arrayType="tns:errorDescription[]" />
>>>        
>>            
>> </xsd:restriction>
>>>        
>>        
>> </xsd:complexContent>
>>>        
>>     </xsd:complexType>
>>>        
>>     <xsd:complexType
>> name="errorDescription">
>>>        
>>         <xsd:all>
>>>        
>>            
>> <xsd:element name="errorCode" type="xsd:int" />
>>>        
>>            
>> <xsd:element name="description" type="xsd:string" />
>>>        
>>         </xsd:all>
>>>        
>>     </xsd:complexType>
>>>        
>> </xsd:schema>
>>>     </wsdl:types>
>>>     <message
>> name="SearchRequest">
>>>         <part
>> name="searchRequest" type="tns:searchRequest" />
>>>     </message>
>>>     <message
>> name="SearchResponse">
>>>         <part
>> name="SearchReturn" type="tns:searchReply" />
>>>     </message>
>>>     <message
>> name="SellFromRecommendationRequest">
>>>         <part
>> name="sellFromRecommendationRequest"
>> type="tns:sellFromRecommendationRequest" />
>>>     </message>
>>>     <message
>> name="SellFromRecommendationResponse">
>>>         <part
>> name="SellFromRecommendationReturn"
>> type="tns:sellFromRecommendationReply" />
>>>     </message>
>>>     <message
>> name="GetErrorListRequest" />
>>>     <message
>> name="GetErrorListResponse">
>>>         <part
>> name="GetErrorListReturn" type="tns:errorDescriptionArray"
>> />
>>>     </message>
>>>     <wsdl:portType
>> name="masterPricerPortType">
>>>        
>> <wsdl:operation name="Search">
>>>        
>>     <wsdl:input
>> message="tns:SearchRequest" />
>>>        
>>     <wsdl:output
>> message="tns:SearchResponse" />
>>>        
>> </wsdl:operation>
>>>        
>> <wsdl:operation name="SellFromRecommendation">
>>>        
>>     <wsdl:input
>> message="tns:SellFromRecommendationRequest" />
>>>        
>>     <wsdl:output
>> message="tns:SellFromRecommendationResponse" />
>>>        
>> </wsdl:operation>
>>>        
>> <wsdl:operation name="GetErrorList">
>>>        
>>     <wsdl:input
>> message="tns:GetErrorListRequest" />
>>>        
>>     <wsdl:output
>> message="tns:GetErrorListResponse" />
>>>        
>> </wsdl:operation>
>>>     </wsdl:portType>
>>>     <binding
>> name="masterPricerBinding"
>> type="tns:masterPricerPortType">
>>>         <soap:binding
>> style="rpc"
>>>        
>>     transport="http://schemas.xmlsoap.org/soap/http" />
>>>        
>> <wsdl:operation name="Search">
>>>        
>>     <soap:operation
>>>        
>>         soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=Search"
>>>        
>>         style="rpc" />
>>>        
>>     <wsdl:input>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:input>
>>>        
>>     <wsdl:output>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:output>
>>>        
>> </wsdl:operation>
>>>        
>> <wsdl:operation name="SellFromRecommendation">
>>>        
>>     <soap:operation
>>>        
>>         soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=SellFromRecommendation"
>>>        
>>         style="rpc" />
>>>        
>>     <wsdl:input>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:input>
>>>        
>>     <wsdl:output>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:output>
>>>        
>> </wsdl:operation>
>>>        
>> <wsdl:operation name="GetErrorList">
>>>        
>>     <soap:operation
>>>        
>>         soapAction="http://212.235.42.50/WebService/service.php?class=masterPricer&method=GetErrorList"
>>>        
>>         style="rpc" />
>>>        
>>     <wsdl:input>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:input>
>>>        
>>     <wsdl:output>
>>>        
>>         <soap:body
>> use="encoded"
>>>        
>>            
>> namespace="http://212.235.42.50/WebService/service.php?class=masterPricer"
>>>        
>>            
>> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
>>>        
>>     </wsdl:output>
>>>        
>> </wsdl:operation>
>>>     </binding>
>>>     <wsdl:service
>> name="masterPricer">
>>>         <wsdl:port
>> name="masterPricerPort"
>> binding="tns:masterPricerBinding">
>>>        
>>     <soap:address
>>>        
>>         location="http://212.235.42.50/WebService/service.php?class=masterPricer"
>> />
>>>        
>> </wsdl:port>
>>>     </wsdl:service>
>>> </wsdl:definitions>
>>>
>>>
>>>
>>>        
>>> _______________________________________________
>>> fedora-suds-list mailing list
>>> fedora-suds-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-suds-list
> 
> 
>       




More information about the fedora-suds-list mailing list