Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-01-2010, 12:39 AM   PM User | #1
Mooseh
New to the CF scene

 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Mooseh is an unknown quantity at this point
Perl SOAP::Lite passing POJO to Jave Server

Hi All,

First post so a couple of disclaimers; I'm not a coder, I'm a scripter/UNIX Admin (hence the perl) and I've not got a great deal of experience working with Web Services or SOAP or anything (hence the problem).

I'm currently trying to write a client for a webservice and have used stubmaker to generate a .pm for the service from the WSDL - all good thus far. However, the documentation for the service states that every method I want to call needs to have a "Authentication" POJO passed to it first. i.e.

Method Signature:
String listfiles(authentication, directory, types, size)

Parameter: Authentication
Type: Authdetails
Desc: Application Authentication object
Syntax: Authentication object with user and pass fields set

The Authentication object contains just two fields: String user and String pass, along with the following methods:

String getuser(), setuser(String user), getpass() and setpass(String pass)

Can anyone give me an example of calling "listfiles" and passing the authentication object before the other strings?

Have a feeling this could just be me being baffled by Java terminology and trying to do Java objects in perl.

Any help or links etc. to sites that might help clear this up would be great.

Note: some of the nouns changed to protect the infuriatingly guilty app.
Mooseh is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:26 AM.


Advertisement
Log in to turn off these ads.