I want to invoke a service from javascript and then to display the response data in html file. Is it possible? Have anyone done this before? Any pointers or solution will be helpful. Thanks
Request Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:log="http://login">
<soapenv:Header/>
<soapenv:Body>
<log:validateLogin>
<log:login>
<log:password>password</log:password>
<log:username>username</log:username>
</log:login>
</log:validateLogin>
</soapenv:Body>
</soapenv:Envelope>
Response Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<validateLoginResponse xmlns="http://login">
<validateLoginReturn>true</validateLoginReturn>
</validateLoginResponse>
</soapenv:Body>
</soapenv:Envelope>
I need to create the request soap message, send it to service, and read the response.