Hello list.
I'm new to this list and axis2 and in fact im new to webservices, soap
tomcat and all java-server stuff. But I'm pretty familiar with web
programing, Java and XML.
Until now I avoided java server programming due to the tomcat
configuration nightmare. And in fact after dealing with it (j2ee)for a few
weeks now I can say that the learning curve is as steep as the mount
everest.
The reason why I'm posting here is that I've searched the web for
quiet a long time and read much but didn't find an answer to
following (simple?) question:
Axis2 has this very nice 'Generate a WSDL automatically' feature
wich I'd like to use in my application a lot. It would met my coding
style (which was called code-first paradigm in some articles if I
recall right) pretty well.
It works great for simple examples (echo or that alike) but I can't
find a way to make it work with my complex datastructures.
By now I'm using the OMElement-style approch which means that I
take some skeleton-classes which I got I don't know where and
passing the whole xml-thing through to my method and generate the
result the hard way beginning with the body-node.
My one-method-service has a result very similar to google
'doGoogleSearch's result and in fact my first approach was to build
my result like theirs, use their wsdl and then change here a little
and there a litte.
But now I'd like a quicker way because my one-method-service will
become a much-more-method service quickly.
The way I'd like to do it (and the documentation suggest it should
be possible -- but without telling me how) is: Define some classes
for the result, write a service class which only needs to implement
the service-methods, return the custom classes as result, deploy it
and you have your new webservice. Trivial?
So, my only problem is: Every atempt to do so failed as early as at
the ?wsld generation. And my question: What requirements are there
for a result that the wsdl-generation will work?
Best regards and my appologies if this question is explaind
everywhere and I was just to stupid to see the answer.
Florian
--
--------------------------------------------------------
Florian Bantner fon +49 (0)941 599 854 4
AXON-E interaktive medien fax +49 (0)941 599 854 1
technische Leitung mail [EMAIL PROTECTED]
web http://www.axon-e.de
gpg public key https://www.axon-e.de/gpg/f.bantner.gpg
hash 1191 0C87 D9DB 3217 ABBA 5223 6D74 AB19 5C9D FC49
--------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]