The table of contents at http://arsperl.sourceforge.net/manual/toc.html 
does not represent in any way the current status of the arsperl manual.

See
http://arsperl.cvs.sourceforge.net/viewvc/*checkout*/arsperl/ARSperl/html/manual/toc.html?revision=1.29
for an up-to-date version.


To build web services via arsperl, I'd probably do this:

- Create a web service in the admin tool

- Retrieve the corresponding arsperl data structure via ars_GetContainer

- Create a readable output of the structure with e.g. Data::Dumper

- Use this structure as basis for the input to ars_CreateContainer


Regards,
Thilo


Carey Matthew Black wrote:
> Marc,
> 
> If you are going to create an ARS Web Service Object ( So that ARS
> will publish an Web Services interface for other applications to talk
> to.) then you will be creating an ARS Container. ARS Containers are a
> super set object that comprise ARS Applications, ARS Web Services, ARS
> Guides( Filter and Active Link), and PackingLists too. So you are
> going to need to use the C API command: ARCreateContainer.  Note: This
> is a very different task than getting ARSystem to call some other
> applications Web Service.
> 
> I know that the ARSPerl manual is more than a bit out of date, but
> after reviewing (http://arsperl.sourceforge.net/manual/toc.html) I do
> not see this function as being implemented at all in ARSPerl. Maybe it
> is implemented and not yet documented, but I doubt that will help you
> much.
> 
> 
> I have yet to have a need to make an ARS Web Service object from any
> of the API's. So I poked around for 10 minutes and here is what I see:
> 
> After reviewing the C and Java API docs (for 7.1) I would suggest that
> you use the Java API. The Java API looks like there is at least some
> detail (Although not much there either) that might help you along your
> way. However you have a fair amount of detective work to do no matter
> which API language you select.
> 
> You likely need to pay attention to these constants:
> 
> ARCON_*  (specifically ARCON_WEBSERVICE = 5)
> ARREF_WS_*
> 
> And likely others too.
> 
> I think your best bet is to manually create a Web Service (or 10) and
> export their def files in XML format. That should help you to see what
> properties are being set by the Admin Tool and should help you
> decipher the poorly documented C and Java APIs. You might even want to
> ask BMC Tech Support if you have specific questions about an API
> property too. But I doubt they will be of much help.
> 
> For what it is worth: I was able to make a "non-functional" ARS web
> service by using the v7.1 JavaDriver. If I could find what properties
> I needed to set I bet I could even create a working WebService with
> that client too. So you may want to work out how to feed a command
> file to the JavaDriver and not have to know any (or almost any) Java
> too. ( You may also be able to use the "driver", written with the C
> API tool too.)
> 
> Good luck.
> 


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge


--
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to