Code Monkey home page Code Monkey logo

Comments (5)

goetas avatar goetas commented on May 25, 2024

from xsd2php.

nerijusza avatar nerijusza commented on May 25, 2024

You mean files generated by
vendor/bin/xsd2php convert config.yml xsd/SeatAvailabilityRQ.xsd
vendor/bin/xsd2php convert config.yml xsd/OrderCancelRQ.xsd
vendor/bin/xsd2php convert config.yml xsd/ServiceListRQ.xsd

Here is it(php classess and metadata yml):
soap.zip

If config.yml, that was used for generation it is already attached in first post zip:
test.zip

from xsd2php.

goetas avatar goetas commented on May 25, 2024

The IATA schemas are using the xsd any types... this mean that you have to handle it with custom handlers. check it on https://github.com/goetas-webservices/xsd2php#dealing-with-xsdanytype-or-xsdanysimpletype how to do it.

Closing as the problem looks solved to me

from xsd2php.

nerijusza avatar nerijusza commented on May 25, 2024

After your comment thought you are right. But now looked to this issue once more. And noticed that "xsd:any" is used in schemas only for three data types, which are not used in my provided not working samples. Can you recheck this issue?

from xsd2php.

goetas avatar goetas commented on May 25, 2024

@nerijusza Wwhen the XSD needs to be parsed (because some type in it is used [ not necessarily an xsd:anyType ] ) then the configuration is necessary.

the handler might be not necessary if the "anyType" is effectively never used.

in your example, all this classes are using an "anyType":

BagAllowanceDimensionType.DimensionsAType
BankAccountMethodType
CompanyList
Contacts.ContactAType.NameAType
Contacts.ContactAType
DetailCurrencyPriceType
ExitPositionType.RowsAType.FirstAType
ExitPositionType.RowsAType.LastAType
FlightDisplayPricingMethod
FQTVProgramCoreType.TierAType
FQTVProgramCoreType.TierAType
FQTVProgramCoreType.TierAType
GeographicSpecificationType.CoordinatesAType.CoordinateRadiusAType
MarketingCarrierFlightType
MediaAttachmentType
NoticesGrp
OfferPriceLeadType
OrderCoreType.OriginalOrderAType.PriceQuotesAType.PriceQuoteAType.SourceAType
OrderCoreType.OriginalOrderAType.PriceQuotesAType.PriceQuoteAType.SourceAType
OrderCoreType.OriginalOrderAType.PriceQuotesAType.PriceQuoteAType
OrderPaymentFormType.PayerAType.NameAType
PinPhraseAnswerType
PolicyDefaultType.PolicyAType
PriceVarianceRuleNoticeType.QueryAType.PriceVarianceRuleAType.RuleIDAType
PriceVarianceRuleNoticeType.ResultsAType.PriceVarianceAType.RuleIDAType
ProgramStatusQualifier
PromotionQualifiers
RuleSetType.RuleSetIDAType
SeatAvailReqParamsType.PricingAType.FeeExemptionAType.FeeAType.CodeAType
ServiceFilter
ServiceOtherAssocType.OtherAssociationAType.TypeAType
SrvListReqParamsType.PricingAType.FeeExemptionAType.FeeAType.CodeAType
TaxDetailType.BreakdownAType.TaxAType.CollectionPointAType
TaxExemptionNoticeType.ResultsAType.TaxExemptionAType.RuleIDAType
TicketIdentificationType
TravelAgencyParticipantType
TravelerSummaryType.NameAType
Voucher.NameAType

from xsd2php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.