
Christoph Nagel (christoph.nagel@xenovation.com) wrote:
I try to implement a Java WebServiceClient which uses OTRS WebServices.
Have anybody experience in implementing a Java WebServiceClient for OTRS or an example?
Hi, yes, I did that - more or less. I implemented my own SOAP interface to OTRS using SOAP::Lite and Pod::WSDL. That way I thought it would be easy to give different systems access to OTRS, regardless whether they're written in PHP, Java, perl or some .Net dialect. But SOAP::Lite and Pod::WSDL don't play together very well, and they don't support the document/literal wrapped style. On the Java'ish client side I used Jax-WS. It comes with a generator that creates stubs from a (remote) WSDL file. That all works if one uses simple types like strings or integers and avoids complex stuff like structs/classes or even arrays of these types. Felix