Greetings.

I'm back to revisit something that I hit a few years back while adding
OBD support into the MXUnit eclipse plugin. The difference that's been
affecting me between Adobe/Railo and OBD is that CFML structs are
returned in soap calls as a StructMap instead of a HashMap.

I use axis 1.4, and I'm using wsdl2java to generate the webservice
client code. Up to this point, I've been generating the code against
CF and OBD and then modifying the generated code. For OBD, this means
copying the generated code into a subclass, modifying it to convert
the StructMap into a HashMap, etc.

This has become unmanageable and so I want to leave the generated code
untouched.

I'm asking for advice on this. I'm no Axis genius, by any stretch. So,
if you were writing a single java client that needed to execute the
same function against both Adobe and OBD, where OBD's returntype
differed from Adobe's, how would you approach it in such a way that
you could leave the wsdl2java generated code untouched?

Thanks all. I've been futzing with this for the better part of a day
and still haven't hit on a working solution, which is why I'm posting.

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to