Thanks for your quick response. Will the process_includes fix be available
in the next release of generateDS so I can incorporate it into our platform?

You are correct about the name name_ parameter of the export method, this
is what I have ended up doing. I'm going to have work out what the
conventions are in the XSD and attempt to predict the correct name from the
names of the generated models (for requests) and the names of the returned
XML tags (for responses).
With regard to a fix, I realise my original patch might not be correct but
it does seem that the problem hinges around the elements which have no
explicit definition (they have a type attribute). Could those not be
generated as classes which override their type class and only define the
export method?

I have another problem regarding namespaces. The generated classes put the
namespace in front of each tag like this:

<axlapi:GetUserReq>
    <axlapi:userid>7001991</axlapi:userid>
</axlapi:GetUserReq>

whereas the XML expected by the server needs to look like this (tested via
SOAPUI):

<axlapi:GetUserReq>
    <userid>7001991</userid>
</axlapi:GetUserReq>

ie. only the outer tags should have the namespace. I'm not sure what the
rationale behind this is, does it make sense to you from the POV of the XSD
schema?

One other question, it seems that all the validate_X methods are empty in
my generated code. Should there be generated validation here?


Thanks

On Mon, Oct 29, 2012 at 5:08 AM, Dave Kuhlman <dkuhl...@pacbell.net> wrote:

> GetUserReq




-- 


 <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>
------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to