Comments (5)
from xsd2php.
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.
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.
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.
@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)
- Problems with JMS-Metadata-Generator HOT 4
- Improper PHP code form choice element HOT 2
- Unable to generate PHP classes from XSD file HOT 3
- Declaration of Xsd2PhpExtension::getAlias() must be compatible with Symfony\Component\DependencyInjection\Extension\Extension::getAlias() HOT 4
- Better Handling of xsd:choice
- [Feature Request] Add option to add PHP type declarations
- Handling of xsd:squence with maxOccurs="unbounded"
- Composer requirements version HOT 3
- still uses psr/log:^1.0 - Please add support for psr/log:^3.0 and ^2.0 HOT 3
- CDATA sections not being disabled in XML despite setting xml_cdata to false in goetas-webservices/xsd2php HOT 2
- Can you help me create config.yml
- where are the simpleType restrictions?
- Wrong rendering of PHPDocs in generated classes HOT 2
- Possibility of upgrade goetas-webservices/xsd-reader dependency to 0.4.1 HOT 1
- Uncaught TypeError issue after upgrading to 0.4.11 HOT 1
- Not escaping */ in php comments
- compatible to symfony 7.0 HOT 5
- xs:Choice of xs:Sequence not supported? HOT 2
- ComplexType with single Sequence fails to generate underlying type class
- xsd:sequence produces Uncaught TypeError like xsd:group in #163 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsd2php.