after my first questions about Web Services ( >Klick<
), i have some more questions.
I have read the Smalltalk Web Service Guide and it was very useful and informative. There is described how to generate the WebService files (wsdl, inferface.wsdl, xml) from the interface class. Furthermore i found the explanation how to customize these files and how to deploy these files in a WebService-Container.
But now i search some informations for the opposite direction. This means, i have a wsdl file, that defines a webservice. These file was delivered to me from "the other" side (Java). Now i need to build a WebService based on the wsdl-file, where our smalltalk-side should act as server.
I can deploy the wsdl file in a container as described at the Web Service Guide (Invoking a third party service). Thats no problem. But now i can't find a way to generate one or more interface classes in Smalltalk.
The Guide only described the way "Smalltalk interface class" -> "generate files" -> "deploy at container".
I need "wsdl-file" -> "deploy at container" -> "generate interface class" or something like this...
My questions are:
1. Is that way generally possible?
2. Is there a way to generate classes from the wsdl-files?
3. Or is it the only way to create classes myself (using informations from the wsdl), than generate our wsdl and xml files and hope that these are approximately the same like the wsdl file i got from the client-side?
Just one last comment:
I know, that normally the server-side should define the WebService Interface respectively the wsdl and xml files. I have for various reasons the situation that the client side has delivered the Interface description in these wsdl file. Now i need to make the best of this.
Thank you in advance,