Hi Dario,
My experience with jelly soap is pretty much non-existent, but I have
used the http tags, and there's an example using jelly-http with
google's soap api. It's much less elegant than the jelly-soap tags,
but may steer you in the right direction.
http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/jelly/trunk/
jelly-tags/http/src/test/org/apache/commons/jelly/google/search.jelly?
rev=155420&view=markup
Jason
On Oct 31, 2005, at 9:18 AM, Dário Luís Coneglian Oliveros wrote:
Thanks Jason !
I actually tried to run this sample (example.xml) before, but it
did not work.
So after spending some time figuring out how jelly:soap should
work, I found some useful information I would like to share.
First, you gotta place some jars from Apache Axis (axis.jar,
saaj.jar and jaxrpc.jar), JavaMail (mail.jar) and JAF
(activation.jar)at JELLY_HOME/custom directory. This allows you to
use jelly:soap without getting runtime exceptions.
Here´s a soap example that works fine.
<j:jelly
xmlns:soap="jelly:soap"
xmlns:log="jelly:log"
xmlns:j="jelly:core">
<soap:invoke
var="quote"
endpoint="http://services.xmethods.net:80/soap/"
namespace="urn:xmethods-delayed-quotes"
method="getQuote">SUNW</soap:invoke>
<log:info>Quote for Sun Microsystems: ${quote}</log:info>
</j:jelly>
Note this web service requires just one parameter: SUNW. I could
not find a way to pass more than one argument to a web service. Do
you happen to know to do that ?
Regards,
Dario
-----Original Message-----
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 31 de outubro de 2005 11:38
To: Jakarta Commons Users List
Subject: Re: [jelly] soap example
Check the svn testcase:
http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/jelly/trunk/
jelly-tags/soap/src/test/org/apache/commons/jelly/tags/soap/?
rev=329819
Not the most extensive test case, but it should give you some ideas.
Jason
On Oct 28, 2005, at 1:36 PM, Dário Luís Coneglian Oliveros wrote:
Hi,
Does anybody have any jelly example that uses SOAP taglib ?
Thanks,
Dário
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]