cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
920
Views
0
Helpful
3
Replies

error using wsdl2perl.pl to generate the classes

pmandal
Level 1
Level 1

Hi,

I am trying to use wsdl2perl.pl to generate classes from AXLAPI.wsdl

These are for CUCM 10.0

I am getting the following error

C:\devel\objects\axlsqltoolkit\schema\10.0>wsdl2perl.pl -b c:\test file://C:\devel\objects\axlsqltoolkit\schema\10.0\AXLAPI.wsdl

Use of uninitialized value $namespace in hash element at C:/devel/objects/active

state/Perl64/site/lib/SOAP/WSDL/TypeLookup.pm line 235.

Use of uninitialized value $namespace in hash element at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/TypeLookup.pm line 235.

Use of uninitialized value $namespace in hash element at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/TypeLookup.pm line 235.

Use of uninitialized value $namespace in hash element at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/TypeLookup.pm line 235.

Use of uninitialized value $namespace in hash element at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/TypeLookup.pm line 235.

mismatched tag at line 5, column 2, byte 133 at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/Expat/Base.pm line 79. at line 5 at C:/devel/objects/activestate/Perl64/site/lib/SOAP/WSDL/Expat/Base.pm line 82.

I asked few other folks also to try in their environment and they ran into similar issue, please let me know what i am doing wrong.

thanks

3 Replies 3

tinghche
Level 5
Level 5

Pankaj,

Have you checked perl debug to see what could be the cause of it?

Looks like there are some missing parameter when passing through type namespace.

What version of Perl are yo running, I can try to reproduce here.

Thanks,

Howard

Hi Ting

Thanks for the response, here is the version of perl

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

Platform:

osname=MSWin32, osvers=5.2, archname=MSWin32-x64-multi-thread

uname=''

config_args='undef'

hint=recommended, useposix=true, d_sigaction=undef

useithreads=define, usemultiplicity=define

useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef

use64bitint=define, use64bitall=undef, uselongdouble=undef

usemymalloc=n, bincompat5005=undef

Compiler:

cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWI

N32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_

SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO',

optimize='-MD -Zi -DNDEBUG -Ox -GL -fp:precise',

cppflags='-DWIN32'

ccversion='14.00.40310.41', gccversion='', gccosandvers=''

intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678

d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8

ivtype='__int64', ivsize=8, nvtype='double', nvsize=8, Off_t='__int64', lsee

ksize=8

alignbytes=8, prototype=define

Linker and Libraries:

ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpa

th:"C:\devel\objects\activestate\Perl64\lib\CORE" -machine:AMD64'

libpth=\lib

libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.l

ib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32

.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib buffero

verflowU.lib msvcrt.lib

perllibs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg

32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws

2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib comctl32.lib buf

feroverflowU.lib msvcrt.lib

libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib

gnulibc_version=''

Dynamic Linking:

dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '

cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -l

tcg -libpath:"C:\devel\objects\activestate\Perl64\lib\CORE" -machine:AMD64'

Characteristics of this binary (from libperl):

Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY

PERLIO_LAYERS PERL_DONT_CREATE_GVSV

PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS

PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC

USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES

USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE

USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF

USE_SITECUSTOMIZE

Locally applied patches:

ActivePerl Build 1603

Built under MSWin32

Compiled at Mar 13 2013 13:31:10

@INC:

C:/devel/objects/activestate/Perl64/site/lib

C:/devel/objects/activestate/Perl64/lib

.

Thanks

Pankaj

Hi All,

We had a perl program which is broken when we tried to use in CUCM 10.0, can someone help if they have a working program in perl that works with CUCM to make AXL Soap queries, executeSQLQuery is what we use

I think if we could run wsdl2perl that might help but it is not working for us.

thanks

Pankaj

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: