I have a similar problem, except using the Perl SDK rather than PS and invoking the DLL directly. Whenver I try to connect to OCUM 7.2 OVA using the code below, I get a the very helpful generic error shown. If I use PowerShell and the DataManagement.dll, works fine. But I'd really rather use Perl for this particular application so I'm trying to figure out what's up here. I'm not having much luck so any insight would be greatly appreciated.
#!/usr/bin/perl
use strict;
use NaServer;
use Data::Dumper;
#use WFAUtil;
BEGIN {$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;}
my $TRUE = 1;
my $FALSE = 0;
my $IS_DATASOURCE = $TRUE;
my $ocum_handle;
my $ocum_host = '10.0.0.118';
my $ocum_user = 'admin';
my $ocum_pw = '********';
$ocum_handle = new NaServer($ocum_host,1,0);
$ocum_handle->set_server_type('OCUM');
$ocum_handle->set_transport_type('HTTPS');
$ocum_handle->set_port(443);
$ocum_handle->set_style('LOGIN');
$ocum_handle->set_admin_user($ocum_user, $ocum_pw);
my $result;
eval {
$result = $ocum_handle->system_about();
};
print $@ if $@;
Server returned HTTP Error: (13001)