Subject: | examples seem to be broken |
Date: | Thu, 18 Aug 2011 15:38:23 -0500 |
To: | bugs-xml-compile-soap [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
seems all the examples have some kind of error...
rpc-literal % perl element.pl
hgcc
error: no prefix known for namespace urn:sonae:elegibilidade:exp
rpc-literal % perl type.pl
hgcc
error: no prefix known for namespace urn:sonae:elegibilidade:exp
rpc-literal % cd ..
hgcc
examples % ls
hgcc
document rpc-literal wssecurity
examples % cd document
hgcc
document % ls
hgcc
has_schema2.pl has_schema.pl has_wsdl2.pl has_wsdl.pl
namesservice.wsdl namesservice.xsd README
document % perl has_schema2.pl
hgcc
Which call do you like to see:
1) getCountries
2) getNameInfo
3) getNamesInCountry
Q) quit demo
Pick one of above [1/2/3/Q] 1
warning: Not Found
error: answer is not xml but `text/html'
Can't use an undefined value as an ARRAY reference at has_schema2.pl
line 115, <FIN> line 1.
document % perl has_schema2.pl
hgcc
Which call do you like to see:
1) getCountries
2) getNameInfo
3) getNamesInCountry
Q) quit demo
Pick one of above [1/2/3/Q] 2
Personal name for info: Caleb Cushing
warning: Not Found
error: answer is not xml but `text/html'
Use of uninitialized value in concatenation (.) or string at
has_schema2.pl line 138, <FIN> line 2.
The name '' is
male: no
female: no
Use of uninitialized value in concatenation (.) or string at
has_schema2.pl line 141, <FIN> line 2.
gender:
and used in countries:
Can't use an undefined value as an ARRAY reference at has_schema2.pl
line 144, <FIN> line 2.
document % ls
hgcc
has_schema2.pl has_schema.pl has_wsdl2.pl has_wsdl.pl
namesservice.wsdl namesservice.xsd README
document % perl has_schema.pl
hgcc
Which call do you like to see:
1) getCountries
2) getCountries with trace output
3) getNameInfo
4) getNamesInCountry
Q) quit demo
Pick one of above [1/2/3/4/Q] 1
warning: Not Found
error: answer is not xml but `text/html'
Can't use an undefined value as an ARRAY reference at has_schema.pl
line 210, <FIN> line 1.
document % perl has_schema.pl
hgcc
Which call do you like to see:
1) getCountries
2) getCountries with trace output
3) getNameInfo
4) getNamesInCountry
Q) quit demo
Pick one of above [1/2/3/4/Q] 2
warning: Not Found
error: answer is not xml but `text/html'
Call initiated at: Thu Aug 18 15:22:19 2011
SOAP call timing:
encoding: 0.20 ms
stringify: 0.05 ms
connection: 316.67 ms
Use of uninitialized value in multiplication (*) at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 54, <FIN> line 1.
parsing: 0.00 ms
decoding: - (no xml answer)
Use of uninitialized value in multiplication (*) at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 60, <FIN> line 1.
Use of uninitialized value in printf at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 61, <FIN> line 1.
total time: 0.00 ms = 0.000 seconds
Request:
POST http://www.thomas-bayer.com:80/names-service/soap HTTP/1.1
User-Agent: libwww-perl/6.02
Content-Length: 236
Content-Type: text/xml; charset="utf-8"
X-LWP-Version: 6.02
X-XML-Compile-Cache-Version: 0.991
X-XML-Compile-SOAP-Version: 2.24
X-XML-Compile-Version: 1.22
X-XML-LibXML-Version: 1.84
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><x0:getCountries
xmlns:x0="http://namesservice.thomas_bayer.com/"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response:
HTTP/1.1 404 Not Found
Date: Thu, 18 Aug 2011 20:22:20 GMT
Server: Apache-Coyote/1.1
Content-Length: 952
Content-Type: text/html;charset=utf-8
Client-Date: Thu, 18 Aug 2011 20:22:19 GMT
Client-Peer: 80.152.243.114:80
Client-Response-Num: 1
<html><head><title>Apache Tomcat/6.0.30 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color :
#525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR
size="1" noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/6.0.30</h3></body></html>
Can't use an undefined value as an ARRAY reference at has_schema.pl
line 210, <FIN> line 1.
document % ls
hgcc
has_schema2.pl has_schema.pl has_wsdl2.pl has_wsdl.pl
namesservice.wsdl namesservice.xsd README
document % perl has_wsdl.pl
hgcc
Which call do you like to see:
1) getCountries
2) getCountries with trace output
3) getNameInfo
4) getNamesInCountry
Q) quit demo
Pick one of above [1/2/3/4/Q] 2
warning: Not Found
error: answer is not xml but `text/html'
Call initiated at: Thu Aug 18 15:22:37 2011
SOAP call timing:
encoding: 0.40 ms
stringify: 0.08 ms
connection: 325.56 ms
Use of uninitialized value in multiplication (*) at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 54, <FIN> line 1.
parsing: 0.00 ms
decoding: - (no xml answer)
Use of uninitialized value in multiplication (*) at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 60, <FIN> line 1.
Use of uninitialized value in printf at
/home/ccushing/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/XML/Compile/SOAP/Trace.pm
line 61, <FIN> line 1.
total time: 0.00 ms = 0.000 seconds
Request:
POST http://www.thomas-bayer.com:80/names-service/soap HTTP/1.1
User-Agent: libwww-perl/6.02
Content-Length: 238
Content-Type: text/xml; charset="utf-8"
SOAPAction: ""
X-LWP-Version: 6.02
X-XML-Compile-Cache-Version: 0.991
X-XML-Compile-SOAP-Version: 2.24
X-XML-Compile-Version: 1.22
X-XML-LibXML-Version: 1.84
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><tns:getCountries
xmlns:tns="http://namesservice.thomas_bayer.com/"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response:
HTTP/1.1 404 Not Found
Date: Thu, 18 Aug 2011 20:22:38 GMT
Server: Apache-Coyote/1.1
Content-Length: 952
Content-Type: text/html;charset=utf-8
Client-Date: Thu, 18 Aug 2011 20:22:38 GMT
Client-Peer: 80.152.243.114:80
Client-Response-Num: 1
<html><head><title>Apache Tomcat/6.0.30 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color :
#525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR
size="1" noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/6.0.30</h3></body></html>
Can't use an undefined value as an ARRAY reference at has_wsdl.pl line
178, <FIN> line 1.
--
Caleb Cushing
http://xenoterracide.com