I've created a patch. For "ElementType" or top level "ComplexTypeType" elements, the "explicit_define" property is always set to "1" when the "--no-explicit-define-required" CLI parameter is used. This causes generateDS to generate classes for these elements.
Are there any problems with this? If not, is there anything else I can do to get this into the next release of generateDS? Thanks On Wed, Oct 24, 2012 at 2:01 PM, Daniel Browne < daniel.bro...@voss-solutions.com> wrote: > The element "getCCMVersion" from the XSD document does not seem to be > represented anywhere in the code generated by generateDS. > This missing element seems to match to what I need to use in > a successful SOAPUI request. > I need to be able to make the XML request below via the generated code but > I seem to be unable to do this with the "GetCCMVersionReq" class. > How would I go about making the request with the generated code? > > I want to do something like this in code: > req = GetCCMVersionReq() > req.build() # no parameters are required > req.export() # somehow get the XML in order to send in a soap request > > > SOAPUI request: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ns="http://www.cisco.com/AXL/API/9.0"> > <soapenv:Header/> > <soapenv:Body> > <ns:getCCMVersion> > </ns:getCCMVersion> > </soapenv:Body> > </soapenv:Envelope> > > > SOAPUI response: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ > "> > <soapenv:Body> > <ns:getCCMVersionResponse xmlns:ns="http://www.cisco.com/AXL/API/9.0 > "> > <return> > <componentVersion> > <version>9.0.1.11003(1)</version> > </componentVersion> > </return> > </ns:getCCMVersionResponse> > </soapenv:Body> > </soapenv:Envelope> > > > XSD: > <xsd:complexType name="GetCCMVersionReq"> > <xsd:sequence> > <xsd:element name="processNodeName" type="axlapi:String255" minOccurs="0" > /> > </xsd:sequence> > </xsd:complexType> > <xsd:element name="getCCMVersion" type="axlapi:GetCCMVersionReq"/> > > > Thanks > -- > > > <http://www.voss-solutions.com/> > > * > Daniel Browne > * > > Developer / Design Lead > > VOSS Development > Mobile: +27 (0) 79 293 2044 > daniel.bro...@voss-solutions.com > > <https://twitter.com/voss_solutions> <http://www.linkedin.com/company/voss> > <http://www.facebook.com/pages/VOSS-Solutions/254816747898652?sk=wall> > > -- <http://www.voss-solutions.com/> * Daniel Browne * Developer / Design Lead VOSS Development Mobile: +27 (0) 79 293 2044 daniel.bro...@voss-solutions.com <https://twitter.com/voss_solutions> <http://www.linkedin.com/company/voss> <http://www.facebook.com/pages/VOSS-Solutions/254816747898652?sk=wall>
patch.diff
Description: Binary data
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users