Re: Interfacing with SOAP or XML_RPC with javascript and HTML_AJAX

From: Date: Tue, 24 Jan 2006 04:31:55 +0000
Subject: Re: Interfacing with SOAP or XML_RPC with javascript and HTML_AJAX
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22653@lists.php.net to get a copy of this message
On 1/23/06, Dan Rossi <pear@electroteque.org> wrote: > Hi there, please dont bite, but i was wondering if there was a way for > javascript to be able to interface with SOAP or XML_RPC using HTML_AJAX > and javascript and how would it be possible securely ? Im needing to be > able to send special bits of information on a soap client like the > customer key etc and return a url session to return to our system with, > which is how the php version works. Let me know, I dont think even > Sajax can do remote calls ? > AJAX *is* remote calls, although I have no idea if HTML_AJAX supports such a thing. I'm entirely sure that you can do it by creating the right XML document and sending it along, then parsing the response. In fact, from a quick Google search I see 2 possibilities already. http://www.codeproject.com/soap/JavaScriptProxy_01.asp?df=100&forumid=196063&exp=0&select=1260980 http://lists.xml.org/archives/xml-dev/200002/msg00435.html And security is what you make it. Call your webservice over SSL and it's encrypted. Make it use a login in the call and it's more secure. -- Justin Patrin

« previous php.pear.general (#22653) next »