LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] PHP & SOAP

[Webdev] PHP & SOAP

Donncha O Caoimh donncha.ocaoimh at tradesignals.com
Wed Nov 8 12:54:30 GMT 2000


Justin Mason wrote:
> 
> Donncha O Caoimh said:
> 
> > Has anyone used a SOAP server with PHP? Searching google.com showed
> > quite an interest in producing one but none in production or even being
> > worked on. :(
> 
> SOAP's so simple you could almost use a direct TCP connection to port 80
> and print the XML ;)  That's an option,
> 

hmm.. Managed to get PHP and Java talking. 
There's two examples in the PHP distribution, here's one..
------------jver.php-------------------
<?

  $system = new Java("java.lang.System");
  print "Java version=".$system->getProperty("java.version")." <br>\n";
  print "Java vendor=".$system->getProperty("java.vendor")." <p>\n\n";
  print "OS=".$system->getProperty("os.name")." ".
              $system->getProperty("os.version")." on ".
              $system->getProperty("os.arch")." <br>\n";

  $formatter = new Java("java.text.SimpleDateFormat",
                        "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");

  print $formatter->format(new Java("java.util.Date"))."\n";

?>
---------------------------------------
Doing simple benchmarks, 50 requests a second, showed a fall-off of 7-8
requests a second when I called Java methods.

There are a number of options open to us for parsing incoming xml, and
outputing it is plain simple..

Donncha.




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell