I already highlight this issue long ago and no one until now have the solution. The aforementioned JROM is obselete (last updated June 7, 2002), I think the guy who create the API already drop the project which is sad. I already try JROM but its using an obselete version of AXIS so part of the API is not compatible with the current release of AXIS.
However someone already suggest a more crude technique on how to overcome the creation of client stub by generating the complex type on the fly by analysing and parsing the WSDL information. You can view the page here http://www-106.ibm.com/developerworks/webservices/library/ws-udax.html I also try many different methods like dynamic class loading but failed. informed me if you manage to overcome this problem cheers rosely ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 13, 2004 8:59 AM Subject: Dynamic invocation of web services with complex types Hi people, I was looking into dynamic invocation of web services for some time. Dynamic invocation would have the advantage of using the wsdl to construct the soap message dynamically, meaning that changes in wsdl could be automatically picked up by the soap executor. What I have found until now is that both Axis and the Web Service Invocation Framework (originally created by ibm but now also an apache project, http://ws.apache.org/wsif/) allow dynamic invocation. The DynamicInvoker sample demonstrates how it can be done in Axis. However, there is one caveat for both DynamicInvoker and WSIF: they work, as they are, only with simple java types. If you want to use complex types, you have to have a corresponding Java class created on the client side - which makes dynamic invocation much less 'dynamic' : if the complex types in the wsdl change, you have to change and recompile the corresponding java class. JROM (Java Record Object Model; http://www.alphaworks.ibm.com/tech/jrom) from alphaworks addresses exactly this problem, and it contains samples which demonstrate Axis and WSIF used together with JROM. However, I would prefer using Axis alone to solve the problem of Dynamic Invocation with complex types. Anybody solved this using Axis alone and without pre-creating client side java classes to represent the complex types? Thanks for any hints, Zoltan Schreter NOKIA, Finland