Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



re: [MAXIMO List] Maximo Perl help - urgent

From: ewald caspari (2011-07-12 13:21)

Hi,
I don't have mx7 available at the moment and cannot check. But for Maximo 6 it is the wrong hostaddress. It must look something like: http://<host:adress>/meaweb/services/MXSR
Regards
Ewald

----
Hi ALL,
I am looking for simple perl program to communicate to Maximo server (V7x) and query the ServiceRequest thru WSDL. Somehow i able to connect the Maximo server, but couldn't invoke any MXSR methods.. Please find my code below... not sure what I am doing wrong , any little help is appreciable
Fyi- the XML code is working perfectly in SoapUI and Eclipse
-- List of available method(s): UpdateMXSR CreateMXSR DeleteMXSR QueryMXSR SyncMXSR
------------- Perl Code------------
#!/usr/bin/perl
use strict;
use SOAP::Lite;
my $g_hostname = 'http://tsrmmaxdb71.fazal.local/meaweb/wsdl/MXSR.wsdl';
my $UserName = 'maxadmin';
my $Password = 'maxadmin';


From: Fazal M Feroze (2011-07-12 10:39)

Thanks ewald.. the syntax is correct for maximo 7x ,  fyi  I am able to authenticate .. but couldn't query the methods..
- Fazal
________________________________
From: ewald caspari <dienst@ecaspari.de>
To: maximo@yahoogroups.com
Sent: Tuesday, July 12, 2011 4:51 PM
Subject: re: [MAXIMO List] Maximo Perl help - urgent
 
Hi,
I don't have mx7 available at the moment and cannot check. But for Maximo 6 it is the wrong hostaddress. It must look something like: http://<host:adress>/meaweb/services/MXSR
Regards
Ewald
----
Hi ALL,
I am looking for simple perl program to communicate to Maximo server (V7x) and query the ServiceRequest thru WSDL. Somehow i able to connect the Maximo server, but couldn't invoke any MXSR methods.. Please find my code below... not sure what I am doing wrong , any little help is appreciable
Fyi- the XML code is working perfectly in SoapUI and Eclipse
-- List of available method(s): UpdateMXSR CreateMXSR DeleteMXSR QueryMXSR SyncMXSR
------------- Perl Code------------
#!/usr/bin/perl
use strict;
use SOAP::Lite;
my $g_hostname = 'http://tsrmmaxdb71.fazal.local/meaweb/wsdl/MXSR.wsdl';
my $UserName = 'maxadmin';
my $Password = 'maxadmin';


From: Fazal M Feroze (2011-07-14 20:30)

Thanks all.. I got the answer...  I used  stubmaker.pl <wdsl>   which helped me to create  perl package for maximo, and then  invoke the methods using XML query i.e SOAP:Data)..
Regards
Fazal
________________________________
From: Fazal M Feroze <fazalmf@yahoo.com>
To: "MAXIMO@yahoogroups.com" <MAXIMO@yahoogroups.com>
Sent: Tuesday, July 12, 2011 11:09 PM
Subject: Re: [MAXIMO List] Maximo Perl help - urgent
 
Thanks ewald.. the syntax is correct for maximo 7x ,  fyi  I am able to authenticate .. but couldn't query the methods..
- Fazal
________________________________
From: ewald caspari <dienst@ecaspari.de>
To: maximo@yahoogroups.com
Sent: Tuesday, July 12, 2011 4:51 PM
Subject: re: [MAXIMO List] Maximo Perl help - urgent
 
Hi,
I don't have mx7 available at the moment and cannot check. But for Maximo 6 it is the wrong hostaddress. It must look something like: http://<host:adress>/meaweb/services/MXSR
Regards
Ewald
----
Hi ALL,
I am looking for simple perl program to communicate to Maximo server (V7x) and query the ServiceRequest thru WSDL. Somehow i able to connect the Maximo server, but couldn't invoke any MXSR methods.. Please find my code below... not sure what I am doing wrong , any little help is appreciable
Fyi- the XML code is working perfectly in SoapUI and Eclipse
-- List of available method(s): UpdateMXSR CreateMXSR DeleteMXSR QueryMXSR SyncMXSR
------------- Perl Code------------
#!/usr/bin/perl
use strict;
use SOAP::Lite;
my $g_hostname = 'http://tsrmmaxdb71.fazal.local/meaweb/wsdl/MXSR.wsdl';
my $UserName = 'maxadmin';
my $Password = 'maxadmin';