[Webdev] PHP & SOAP
John Moylan
johnm at rte.ie
Wed Nov 8 14:23:37 GMT 2000
Nice one, let us know how you get on, I'm sure that quite a few people
on the list will be quite interested in using this in the future.
John
Donncha O Caoimh wrote:
>
> 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.
>
> _______________________________________________
> Webdev mailing list
> Webdev at linux.ie
> http://www.linux.ie/mailman/listinfo/webdev
More information about the Webdev
mailing list