- www.docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.6/tutorial/doc/JAXBUsing4.html#wp148366
- www.github.com/highsource/jsonix-schema-compiler/wiki/EnumMemberSizeCap-Limit
- www.techiquest.blogspot.com/2012/02/xml-schema-to-java-binding-large.html
Error using matlab.wsdl.createWSDLClient
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I try to create a WSDL client with matlab.wsdl.createWSDLClient using a *.wdsl file on my computer, I get an error that tells me that I am exceeding the EnumMemberSizeCap limit of 256. Specifically, here is the entire error (in bold):
Error using matlab.wsdl.createWSDLClient (line 247)
Error processing WSDL:
Sep 01, 2020 4:11:49 PM org.apache.cxf.tools.common.ToolErrorListener addWarning
WARNING: file:/C:/Users/USFRK.USER/Documents/Matlab%20work/BlockEng/BLKQCL-ACURegisterNames-v2017-04.xsd [3,2]: Simple type "ACURegisterNameType" was not mapped to Enum due to
EnumMemberSizeCap limit. Facets count: 324, current limit: 256. You can use customization attribute "typesafeEnumMaxMembers" to extend the limit.
I have tried to do as is suggested, namely set a customized attribute called "typesafeEnumMaxMembers" to some value larger than what I require (that is, >324), however I have no idea how to do this. Do I put it somewhere in the .wsdl file? I also have about 4 .xsd files. Do I put it there?
Any help is much appreciated.
0 commentaires
Réponses (1)
Pratik
le 12 Déc 2024
Hi Rich,
This issue is likely due to a Java limitation, as Java can only handle up to 256 enumeration members, and your WSDL schema exceeds this limit. You might resolve this by updating your schema with an inline customization. The following links provide guidance on this process and offer additional context on similar error messages:
If you have any follow-up questions regarding the information in the links above, please reach out to the owners of these pages.
0 commentaires
Voir également
Catégories
En savoir plus sur Call Web Services from MATLAB Using WSDL dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!