Re: Easy SOAP client code in java? [message #740025] |
Tue, 18 October 2011 04:37 |
Deepak Azad Messages: 543 Registered: July 2009 |
Senior Member |
|
|
On 10/18/2011 9:18 AM, Jeremy Gregorio wrote:
> Hi all,
> I've been pulling my hair out (what little I have) for the last 2 days
> trying to use Amazon's Web Services from their WSDL. With PHP & nusoap
> it's really, really easy. Like 16 lines of code:
>
> <?php
> include("nusoap.php");
> $soapclient = new
> soapclient("LINKTOWSDLGOESHERE", true);
> $proxy = $soapclient->getProxy();
> $params = array(
> 'browse_node' => 18,
> 'page' => 1,
> 'mode' => 'books',
> 'tag' => 'melonfire-20',
> 'type' => 'lite',
> 'devtag' => 'YOUR-TOKEN-HERE'
> );
> $result = $proxy->BrowseNodeSearchRequest($params);
> print_r($result);
> ?>
> Can anyone recommend an eclipse plugin that makes things as easy, or am
> I just in for a world of hurt trying to consume web services in java :(...
This would be better answered in new comer or webtools forum. Copying to
both places.
|
|
|
Re: Easy SOAP client code in java? [message #740354 is a reply to message #740025] |
Tue, 18 October 2011 12:19 |
|
On 2011.10.17 22:37, Deepak Azad wrote:
> On 10/18/2011 9:18 AM, Jeremy Gregorio wrote:
>> Hi all,
>> I've been pulling my hair out (what little I have) for the last 2 days
>> trying to use Amazon's Web Services from their WSDL. With PHP & nusoap
>> it's really, really easy. Like 16 lines of code:
>>
>> [snip]
As I'm not a PHP guy, I can't advise there, but I have used Amazon S3 in
Java using REST, a more modern and vastly superior approach to web
services than SOAP and WSDLs. I wrote a real product in it, not just
playing around.
In particular, I recommend the open source JetS3 Toolkit. See
http://jets3t.s3.amazonaws.com/toolkit/toolkit.html.
I have used soapUI and it rocks, but hey, it's still SOAP. Nevertheless,
if you end up going the SOAP route and you don't already know how to use
it, I can offer my own soapUI experience at
http://www.javahotchocolate.com/tutorials/soapui.html.
Best of luck to you.
|
|
|
Powered by
FUDForum. Page generated in 0.04675 seconds