Re: [Mason] Perl, SOAP and Java

2007-05-29 Thread Doug Dawson
Ok, update for all! I found the problem. The SOAP response contains an element named 'xmlStr'. The Perl module dies because this is invalid, according to the XML spec. The author of the module suggested that one could comment out lines 1084 and 1085 in the Lite.pm file, though it was not recom

Re: [Mason] Perl, SOAP and Java

2007-05-25 Thread Doug Dawson
Thanks for the code! While adapting it to my purposes, I get an error that I can't figure out. The big difference between the two is that my WSDL is actually 3 WSDL files. The constructor only lets you pass in one. I assume that SOAP::WSDL or XPath is following the import statements. Other tha

Re: [Mason] Perl, SOAP and Java

2007-05-25 Thread fmerges
Hi, Another thing you can play with is JSON-RPC there're also very good library for Java, it's interesting because you can also have async and bidirectional communication. ;-) And the footprint is smaller. Bye, Florian > On Thu, 2007-05-24 at 22:50, Doug Dawson wrote: > >> Does anyone have expe

Re: [Mason] Perl, SOAP and Java

2007-05-25 Thread Paolo Campanella
On Thu, 2007-05-24 at 22:50, Doug Dawson wrote: > Does anyone have experience with executing methods in a Java service > from Perl? I'd like a small example to base my code off of. I use XML-RPC - less complicated than SOAP on the Java side (the Apache XML-RPC libraries are great - see the proje

Re: [Mason] Perl, SOAP and Java

2007-05-24 Thread leif . eriksen
I connect to an ISP for domain registration, my code is perl, theirs is Java, and a part of the proof-of-concept code I did looks like this. #!/usr/bin/perl -w use strict; use warnings; use SOAP::WSDL; import SOAP::Lite +trace => 'debug'; use Data::Dumper; print STDERR "create SOAP::WSDL objec

Re: [Mason] Perl, SOAP and Java

2007-05-24 Thread Doug Dawson
Interesting idea, but our web server and our Java application server are two separate boxes. Perrin Harkins wrote: On 5/24/07, Doug Dawson <[EMAIL PROTECTED]> wrote: I've been trying to make a Perl SOAP::Lite client for our Java service If you have the option, calling Java directly w

Re: [Mason] Perl, SOAP and Java

2007-05-24 Thread Perrin Harkins
On 5/24/07, Doug Dawson <[EMAIL PROTECTED]> wrote: > I've > been trying to make a Perl SOAP::Lite client for our Java service If you have the option, calling Java directly with Inline::Java is generally much more efficient. This assumes your perl and java code are both on the same machine. - Per