Skip Menu |

This queue is for tickets about the XML-Compile-SOAP CPAN distribution.

Report information
The Basics
Id: 70349
Status: resolved
Priority: 0/
Queue: XML-Compile-SOAP

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Subject: Re: [rt.cpan.org #70349] examples seem to be broken
Date: Thu, 18 Aug 2011 23:46:10 +0200
To: Caleb Cushing via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP@rt.cpan.org) [110818 20:38]: Show quoted text
> Thu Aug 18 16:38:35 2011: Request 70349 was acted upon. > Transaction: Ticket created by XENO > Queue: XML-Compile-SOAP > Subject: examples seem to be broken > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: xenoterracide@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=70349 > > > seems all the examples have some kind of error...
Weird. I do not test the examples with each release... might be something small. Although there are certainly some seemingly unrelated errors. The module's support for the real-life is improving, but that may break the faked-up examples when they are incomplete. I'll look into it now. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #70349] examples seem to be broken
Date: Fri, 19 Aug 2011 01:35:59 +0200
To: Caleb Cushing via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Caleb Cushing via RT (bug-XML-Compile-SOAP@rt.cpan.org) [110818 20:38]: Show quoted text
> Thu Aug 18 16:38:35 2011: Request 70349 was acted upon. > Transaction: Ticket created by XENO > Queue: XML-Compile-SOAP
Show quoted text
> rpc-literal % perl element.pl > error: no prefix known for namespace urn:sonae:elegibilidade:exp
This was a bug: I did not test the script after the latest rpc-literal rewrite. Show quoted text
> Which call do you like to see: > 1) getCountries > 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.
This called an existing application on internet, which is apparently removed. I'll contact the provider. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #70349] examples seem to be broken
Date: Thu, 25 Aug 2011 10:37:32 +0200
To: Caleb Cushing via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <secretaris [...] nluug.nl>
* Caleb Cushing via RT (bug-XML-Compile-SOAP@rt.cpan.org) [110818 20:38]: Show quoted text
> Thu Aug 18 16:38:35 2011: Request 70349 was acted upon. > Transaction: Ticket created by XENO > Queue: XML-Compile-SOAP > Subject: examples seem to be broken
Show quoted text
> Pick one of above [1/2/3/Q] 1 > warning: Not Found > error: answer is not xml but `text/html'
I have improved the error message a bit, but before I can complete the fixes, I have to wait for someone to restart the server which is being addressed. They told me the owner of the server is on holidays... -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net