
On 3 Apr 2009, at 15:05, Roberto Santini wrote:
On Fri, 3 Apr 2009 14:24:36 +0100, jonathan sartin
wrote:
Follow Martin's link to the OpenNMS intrgration. It does exactly that. There is wsdl included and it works with apache axis (_not_ axis 2).
... J Hi Jonathan, I have followed the Martin's link and I have downloaded the source files of OpenNMS. I have find the file OtrsTicketerPlugin.java, but all the classes required, like TicketServicePort_PortType and TicketServiceLocator, are not included into the project. So, how can I implement my own SOAP client?
You're right, the stubs are not included. They are generated by maven when you do something like an "mvn compile" in the project root directory. That's the whole point of wsdl, is it not? Look at the pom.xml file in the root directory for pointers, the wsdl2java goal is the relevant bit. Anyhow we're wandering off topic a bit ;-). You probably need to look at the apache axis documentation if you want to take this approach. It's all perfectly possible. Cheers ... J