Can AXIS2 and WSTK work together? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- eny · 2011-03-16 01:03 I have an AXIS2 SOAP webservice that correctly works with a Java client. It's a webservice that receives an input string and returns an output string. I used the Web Service Toolkit to generate the stubs for a a Lazarus SOAP client. Now calling the webservice works (AXIS2 logs the call) and the returned SOAP message is correctly received by the Lazarus webservice stub. Unfortunately the generated stubs do not parse the SOAP message correctly. The parser doesn't correctly parse namespaces in the soap Body. This seems to be related to a problem already mentioned here. Is there a workaround for this problem? I.e. is it possible to call an AXIS2 webservice with Lazarus? <> The problem lies in the parser. The parser tries to resolve the namespace url in the response, but searches too high up in the tree. Below is the SOAP reply message:               Howdy eny!         The parser tries to resolve the namespace url "http://service.eny.com". But parsing starts with node and then goes up. Of course nothing is found then. ---------------------------------------------------------------------- andresmq · 2011-07-13 14:45 Hi Eny, I'm trying to make a client to consume a webservies lazarus of Axis2, but I find the same problem. Find solutions to this problem? ---------------------------------------------------------------------- eny · 2011-07-13 21:17 Quote from: andresmq on July 13, 2011, 04:45:12 pmFind solutions to this problem? Well, yes and no  The toolkit doesn't work so I stopped using it. I was in the process of building a GUI frontend with Lazarus to a SOAP backend server on Linux. The logical/easiest solution at the time seemed to go for a Java/AXIS2 backend. But after disappointing results and extensive debugging I abandoned that idea. Also I didn't like the messy code that was generated by the toolkit. I decided to go for the most flexible solution: build my own (SOAP) backend with Synapse. This was only possible because of Lazarus'  availability for Linux. The PoC works and now I'm working on a code generator for client and server side message parsing. (Although because of other projects I have had to pause this for a while  )