[]
Soaplet 0.3: WSDL Soaplets
[ dandiep ] 05:51, Tuesday, 27 January 2004

It is time again for another Soaplet release. This release focuses on support for WSDL (minus arrays and overly complex types - coming in version 0.4). The WSDLSoaplet creates a SOAP message on the fly from the WSDL url. Then all you need to do is set the parameters in that xml document via XPath. So for the Google web service you would do something like this:

setParameter( "//start", "0" );
setParameter( "//maxResults", "10" );
setParameter( "//filter", "true" );
setParameter( "//safeSearch", "false" );
setParameter( "//ie", "latin1" );
setParameter( "//oe", "latin1" );
setParameter( "//key", "your google key" );
setParameter( "//q", "your google query" );

Check out the docs for more information.

Also supported in this release is velocity template autogeneration. For those who aren't familiar with Soaplets, you can create velocity templates which are a soap request - a soap request where you fill in the blanks with velocity code. Once again, I refer you to the Soaplet website for more information.

Bon Apetite!


Comments

What is the difference between soaplets and wsrp portlets?

--Punit Pandey, November 28, 2004 07:42 AM
Post a comment









Remember personal info?