R
Rogan Dawes
Hi folks,
I am trying to write a tool that allows interactive querying of
arbitrary Web Services.
I have a reasonable starting point, using Sverre Huseby's SOAPDebugger,
but it does not support complex types (or arrays).
http://shh.thathost.com/pub-java/#SOAPDebugger
It is my understanding that in order to support complex types, one has
to have a corresponding java class (possibly created via WSDL2Java) that
maps to the requisite type.
Does anyone know of a way of doing this without creating Java classes?
superficially, it should not be so complex, if it all boils down to base
types in the end (int, string, date, etc)
Things I have been tossing around:
* Use WSDL2Java to create classes based on the supplied WSDL, require
that the JDK be in the classpath, and compile the necessary classes on
the fly.
* Use JROM (http://www.alphaworks.ibm.com/tech/jrom) which seems like a
possibility, but appears to be unmaintained code (also licensing might
be an issue)
* Try to do this at a lower level somehow, messing directly with the XML
myself. Unfortunately, I'm not very familiar with raw XML processing, so
this could be tricky! :-(
Does anyone have any suggestions on how I could achieve my objective?
Many thanks!
Rogan
I am trying to write a tool that allows interactive querying of
arbitrary Web Services.
I have a reasonable starting point, using Sverre Huseby's SOAPDebugger,
but it does not support complex types (or arrays).
http://shh.thathost.com/pub-java/#SOAPDebugger
It is my understanding that in order to support complex types, one has
to have a corresponding java class (possibly created via WSDL2Java) that
maps to the requisite type.
Does anyone know of a way of doing this without creating Java classes?
superficially, it should not be so complex, if it all boils down to base
types in the end (int, string, date, etc)
Things I have been tossing around:
* Use WSDL2Java to create classes based on the supplied WSDL, require
that the JDK be in the classpath, and compile the necessary classes on
the fly.
* Use JROM (http://www.alphaworks.ibm.com/tech/jrom) which seems like a
possibility, but appears to be unmaintained code (also licensing might
be an issue)
* Try to do this at a lower level somehow, messing directly with the XML
myself. Unfortunately, I'm not very familiar with raw XML processing, so
this could be tricky! :-(
Does anyone have any suggestions on how I could achieve my objective?
Many thanks!
Rogan