Webservice Toolkit: Problems testing sample application lazarus / 8-Other ---------------------------------------------------------------------- mojo777 · 2008-06-22 22:27 Hello folks, i am trying to write my first webservice in lazarus using "Webservice Toolkit". And for the first i want to understand and test the sample http- server-application. I have problems to recieve a proper result from the webservice. OK. what i am doing: using eclipse webdevelopment with webservice explorer plugin : http://www.eclipse.org/webtools/jst/components/ws/M4/tutorials/WebServ iceExplorer.html 1. start the http-server Code: [Select]#  ./http-server 2. using the webservice explorer from eclipse with following wsdl-url: http://localhost:8000/services/WSDL/user_service_intf see the screen: (http://www.altai-ahlen.de/images/scr1.png) also you can see the problem with the response. i assume folloging reasons: - the url .../services/UserService is somehow not correct. - the listener is not working (writeLn('log') in the implemented getList-method does no output) - i didnt understand nothing... please help me. i need to achieve this thanks a lot! ---------------------------------------------------------------------- Phil · 2008-06-22 23:46 Quote from: "mojo777"- the url .../services/UserService is somehow not correct. - the listener is not working (writeLn('log') in the implemented getList-method does no output) - i didnt understand nothing... It appears as though the Eclipse Explorer is seeing your Web service okay, so I wouldn't think there's anything wrong with the URL. Have you tried the sample user_client or user_client_console apps against the http_server example? If they work, then maybe there's something wrong with Eclipse Explorer. Thanks. -Phil ---------------------------------------------------------------------- mojo777 · 2008-06-23 04:45 ha ha! thank! yes, the provided client is workig well. hmm. what a pity. i wanted to test some prototypes with eclipse, but now obviously have to write my own test units did somebody already solved this problem? thanks again!! ---------------------------------------------------------------------- Phil · 2008-06-23 13:21 Quote from: "mojo777"ha ha! thank! yes, the provided client is workig well. hmm. what a pity. i wanted to test some prototypes with eclipse, but now obviously have to write my own test units did somebody already solved this problem? thanks again!! Using the Eclipse Explorer would be a good test of Web services that you develop. You might try contacting Inoussa directly (see the WST site for his e-mail). He might be interested in why Eclipse Explorer doesn't work. I don't know if he monitors this forum. I use WST (client mode) in apps that I write for Windows and Mac OS X. I consider it one of the premier toolkits for Free Pascal and Lazarus. Thanks. -Phil ---------------------------------------------------------------------- mojo777 · 2008-06-23 16:17 ok thanks! i will try my luck with them. ---------------------------------------------------------------------- mojo777 · 2008-06-23 22:40 i recieved today a response: QuoteHi, This error is due to the "Content-Type" value of "text/xml; charset=utf-8" sent by Eclipse. It is solved in the svn version. Check it out at https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/wst/trunk Best regards. PS : Please, post a message in the forum thread for this solution. Thanks. -- Inoussa O. ---------------------------------------------------------------------- Phil · 2008-06-23 23:39 Quote from: "mojo777"i recieved today a response: That's a quick response. I guess I thought you were using the latest version. Let us know if it works with Eclipse Explorer. Thanks. -Phil