- SOAP::Transport::HTTP::Client::send_receive: POST http://localhost:8090/Cafetera.pm HTTP/1.1
- Accept: text/xml
- Accept: multipart/*
- Accept: application/soap
- Content-Length: 566
- Content-Type: text/xml; charset=utf-8
- SOAPAction: ""
- <?xml version="1.0" encoding="UTF-8"?><soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsdl="http://localhost:8090/cafetera.xsd" xmlns:tns="http://localhost:8090/cafetera.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><tns:prepararCafe><prepararCafeRequest xsi:type="xsd:string">5</prepararCafeRequest></tns:prepararCafe></soap:Body></soap:Envelope>
- SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
- Connection: close
- Date: Tue, 22 Jan 2013 21:28:08 GMT
- Accept-Ranges: bytes
- ETag: "85c31-15d-4d3e73bcc6640"
- Server: Apache/2.2.22 (Ubuntu)
- Content-Length: 349
- Content-Type: text/x-perl
- Last-Modified: Tue, 22 Jan 2013 21:26:41 GMT
- Client-Date: Tue, 22 Jan 2013 21:28:08 GMT
- Client-Peer: 127.0.0.1:8090
- Client-Response-Num: 1
- #!/usr/bin/perl -w
- # Servicio web de ejemplo
- package Cafetera;
- use strict;
- # Este es el constructor
- sub new{
- my $proto = shift;
- my $class = ref($proto) || $proto;
- my $tasas = 0;
- bless($tasas,$class);
- }
- sub prepararCafe{
- shift;
- my $tasas = shift;
- #print STDERR "Llamado con el parámetro $tasas";
- return "Se prepararon ".$tasas." tasas";
- }
- 1;
- not well-formed (invalid token) at line 1, column 1, byte 1 at /usr/lib/perl5/XML/Parser.pm line 187
- #!/usr/bin/perl -w
- # Servicio web de ejemplo
- package Cafetera;
- use strict;
- # Este es el constructor
- sub new{
- my $proto = shift;
- my $class = ref($proto) || $proto;
- my $tasas = 0;
- bless($tasas,$class);
- }
- sub prepararCafe{
- shift;
- my $tasas = shift;
- #print STDERR "Llamado con el parámetro $tasas";
- return "Se prepararon ".$tasas." tasas";
- }
- 1; at cliente.pl line 19
Coloreado en 0.000 segundos, usando GeSHi 1.0.8.4