Hi.
I'm try to develop a simple Web Service in Lazarus using Web Service Toolkit.
I followed all the indications and test the service by using test http server.
I'll try to make a request by using SOAPUI and I see the reply:
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<functionresponse xmlns:ns1="lib">
<result>3</result>
</functionresponse >
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
If I try to call this service from JAVA:
- I can see in the http server log the request in the rigth format
- The server reply but
I received this error in JAVA Application:
Exception in thread "main" com.sun.xml.internal.ws.streaming.XMLStreamReaderException: tag XML error.
Expected: {lib}functionresponse, Found: {null}functionresponse
Hope you can help
Regards
Luca