From: Alex P. <ale...@ci...> - 2010-09-02 07:04:56
|
Data structure totally difference between v0.69 and later versions. SOAP::Lite v0.69 $VAR1 = { 'getByCompanyIdResponse' => { 'result' => bless( { 'inputCompanyIdValid' => 0, 'companyId' => '0', 'companyState' => undef, 'reserveMakingDate' => undef, 'companyPostalcode' => '0', 'companyName' => undef, 'reserveMakingConcept' => 0, 'reserveContractorDate' => undef, 'noss' => '0', 'reserveContractorConcept' => 0, 'errorCode' => '0', 'inputNossValid' => 1, 'analyseDate' => undef }, 'Data30bisPortail' ) } }; SOAP::Lite v0.72 $VAR1 = \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'getByCompanyIdResponse', '_uri' => 'http://www.bea.com/webservices/basic/statelesSession', '_signature' => [], '_value' => [ \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'result', '_signature' => [], '_value' => [ \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'analyseDate', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ), ------------------ SOAP::Lite v0.69 bash-3.00$ ./check_WebServiceAttest30bis.pl --environment=P --webservice=Attest30bis --cluster=https://www.socialsecurity.be --trendline=6 --onDemand=Y --debug=T --asnmtapEnv='F|F|F' ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: () --> SOAP::Transport::HTTP::Client::send_receive: POST https://www.socialsecurity.be/attest30bis-service-ws/Attest30bisws_1_1 HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 651 Content-Type: text/xml; charset=utf-8 SOAPAction: "/getByCompanyId" <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stat="http://www.bea.com/webservices/basic/statelesSession"> <soapenv:Body> <getByCompanyId xmlns:stat="http://www.bea.com/webservices/basic/statelesSession"> <longVal xsi:type="xsd:long">100006</longVal> </getByCompanyId> </soapenv:Body> </soapenv:Envelope> SSL_connect:before/connect initialization SSL_connect:SSLv3 write client hello A SSL_connect:SSLv3 read server hello A SSL_connect:SSLv3 read server certificate A SSL_connect:SSLv3 read server key exchange A SSL_connect:SSLv3 read server done A SSL_connect:SSLv3 write client key exchange A SSL_connect:SSLv3 write change cipher spec A SSL_connect:SSLv3 write finished A SSL_connect:SSLv3 flush data SSL_connect:SSLv3 read finished A SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Mon, 05 Jul 2010 11:51:39 GMT Server: Apache Content-Length: 1309 Content-Type: text/xml; charset=iso-8859-1 Client-Date: Mon, 05 Jul 2010 11:51:39 GMT Client-Peer: 10.60.200.50:443 Client-Response-Num: 1 Client-SSL-Cert-Issuer: /C=BE/O=GlobalSign nv-sa/OU=ServerSign CA/CN=GlobalSign ServerSign CA Client-SSL-Cert-Subject: /C=BE/ST=BE/L=Brussels/O=Onss/OU=Smals/CN=www.socialsecurity.be/emailAddress=pk...@sm... Client-SSL-Cipher: DHE-RSA-AES256-SHA Client-SSL-Warning: Peer certificate not verified Set-Cookie: JSESSIONID=1LxZMxHLGJdTLqM1Mpyh9bS7GV3VmTnf4yp6MMDmTjk9rxKwhhBZ!-1335879182; path=/ <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:getByCompanyIdResponse xmlns:m="http://www.bea.com/webservices/basic/statelesSession"><result xmlns:n1="java:be.smals.attest30bis.service.domain" xsi:type="n1:Data30bisPortail"><analyseDate xsi:nil="true"></analyseDate><companyId xsi:type="xsd:long">0</companyId><companyName xsi:nil="true"></companyName><companyPostalcode xsi:type="xsd:long">0</companyPostalcode><companyState xsi:nil="true"></companyState><errorCode xsi:type="xsd:int">0</errorCode><inputCompanyIdValid xsi:type="xsd:boolean">false</inputCompanyIdValid><inputNossValid xsi:type="xsd:boolean">true</inputNossValid><noss xsi:type="xsd:long">0</noss><reserveContractorConcept xsi:type="xsd:boolean">false</reserveContractorConcept><reserveContractorDate xsi:nil="true"></reserveContractorDate><reserveMakingConcept xsi:type="xsd:boolean">false</reserveMakingConcept><reserveMakingDate xsi:nil="true"></reserveMakingDate></result></m:getByCompanyIdResponse></env:Body></env:Envelope> ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: () <-> ASNMTAP::Asnmtap::Plugins::SOAP::_soapCheckTransportStatus: 200 OK ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: SCALAR: Data30bisPortail=HASH(0xa4e2f0) $VAR1 = { 'getByCompanyIdResponse' => { 'result' => bless( { 'inputCompanyIdValid' => 0, 'companyId' => '0', 'companyState' => undef, 'reserveMakingDate' => undef, 'companyPostalcode' => '0', 'companyName' => undef, 'reserveMakingConcept' => 0, 'reserveContractorDate' => undef, 'noss' => '0', 'reserveContractorConcept' => 0, 'errorCode' => '0', 'inputNossValid' => 1, 'analyseDate' => undef }, 'Data30bisPortail' ) } }; ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: () <-- Start time : Mon Jul 5 13:51:38 2010 End time : Mon Jul 5 13:51:39 2010 Trendline : 6 Response time: 0.637 Debug : 1 State : OK Message : Web Service Attestation 30 bis (Production) Alert : 200 OK - Attest30bis@https://www.socialsecurity.be: OK OK - Web Service Attestation 30 bis (Production): 200 OK - Attest30bis@https://www.socialsecurity.be: OK|'consult'=563ms;;;; Status=0;1;2;0;3 Compilation=955ms;;;0; Trendline=0.637s;6;;; Execution=1593ms;;;0; ------------------------------------------------------------------------------------------------ SOAP::Lite v0.72 bash-3.00$ ./check_WebServiceAttest30bis.pl --environment=P --webservice=Attest30bis --cluster=https://www.socialsecurity.be --trendline=6 --onDemand=Y --debug=T --asnmtapEnv='F|F|F' ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: () --> SOAP::Transport::HTTP::Client::send_receive: POST https://www.socialsecurity.be/attest30bis-service-ws/Attest30bisws_1_1 HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 651 Content-Type: text/xml; charset=utf-8 SOAPAction: "/getByCompanyId" <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stat="http://www.bea.com/webservices/basic/statelesSession"> <soapenv:Body> <getByCompanyId xmlns:stat="http://www.bea.com/webservices/basic/statelesSession"> <longVal xsi:type="xsd:long">100006</longVal> </getByCompanyId> </soapenv:Body> </soapenv:Envelope> SSL_connect:before/connect initialization SSL_connect:SSLv3 write client hello A SSL_connect:SSLv3 read server hello A SSL_connect:SSLv3 read server certificate A SSL_connect:SSLv3 read server key exchange A SSL_connect:SSLv3 read server done A SSL_connect:SSLv3 write client key exchange A SSL_connect:SSLv3 write change cipher spec A SSL_connect:SSLv3 write finished A SSL_connect:SSLv3 flush data SSL_connect:SSLv3 read finished A SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Mon, 05 Jul 2010 11:51:39 GMT Server: Apache Content-Length: 1309 Content-Type: text/xml; charset=iso-8859-1 Client-Date: Mon, 05 Jul 2010 11:51:39 GMT Client-Peer: 10.60.200.50:443 Client-Response-Num: 1 Client-SSL-Cert-Issuer: /C=BE/O=GlobalSign nv-sa/OU=ServerSign CA/CN=GlobalSign ServerSign CA Client-SSL-Cert-Subject: /C=BE/ST=BE/L=Brussels/O=Onss/OU=Smals/CN=www.socialsecurity.be/emailAddress=pk...@sm... Client-SSL-Cipher: DHE-RSA-AES256-SHA Client-SSL-Warning: Peer certificate not verified Set-Cookie: JSESSIONID=8J0qMxHLBT47KhhZBkqxcCvnPT5fb8vbr5rnjZGqlRFFP1M8jZJV!-1318573972; path=/ <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:getByCompanyIdResponse xmlns:m="http://www.bea.com/webservices/basic/statelesSession"><result xmlns:n1="java:be.smals.attest30bis.service.domain" xsi:type="n1:Data30bisPortail"><analyseDate xsi:nil="true"></analyseDate><companyId xsi:type="xsd:long">0</companyId><companyName xsi:nil="true"></companyName><companyPostalcode xsi:type="xsd:long">0</companyPostalcode><companyState xsi:nil="true"></companyState><errorCode xsi:type="xsd:int">0</errorCode><inputCompanyIdValid xsi:type="xsd:boolean">false</inputCompanyIdValid><inputNossValid xsi:type="xsd:boolean">true</inputNossValid><noss xsi:type="xsd:long">0</noss><reserveContractorConcept xsi:type="xsd:boolean">false</reserveContractorConcept><reserveContractorDate xsi:nil="true"></reserveContractorDate><reserveMakingConcept xsi:type="xsd:boolean">false</reserveMakingConcept><reserveMakingDate xsi:nil="true"></reserveMakingDate></result></m:getByCompanyIdResponse></env:Body></env:Envelope> ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: () <-> ASNMTAP::Asnmtap::Plugins::SOAP::_soapCheckTransportStatus: 200 OK ASNMTAP::Asnmtap::Plugins::SOAP::get_soap_request: SCALAR: Data30bisPortail=HASH(0xaabec0) $VAR1 = \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'getByCompanyIdResponse', '_uri' => 'http://www.bea.com/webservices/basic/statelesSession', '_signature' => [], '_value' => [ \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'result', '_signature' => [], '_value' => [ \bless( { '_signature' => [], '_value' => [ bless( { '_name' => 'analyseDate', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ), bless( { '_name' => 'companyId', '_signature' => [], '_value' => [ '0' ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:long', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}long' } }, 'SOAP::Data' ), bless( { '_name' => 'companyName', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ), bless( { '_name' => 'companyPostalcode', '_signature' => [], '_value' => [ '0' ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:long', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}long' } }, 'SOAP::Data' ), bless( { '_name' => 'companyState', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ), bless( { '_name' => 'errorCode', '_signature' => [], '_value' => [ '0' ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:int', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}int' } }, 'SOAP::Data' ), bless( { '_name' => 'inputCompanyIdValid', '_signature' => [], '_value' => [ 0 ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:boolean', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}boolean' } }, 'SOAP::Data' ), bless( { '_name' => 'inputNossValid', '_signature' => [], '_value' => [ 1 ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:boolean', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}boolean' } }, 'SOAP::Data' ), bless( { '_name' => 'noss', '_signature' => [], '_value' => [ '0' ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:long', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}long' } }, 'SOAP::Data' ), bless( { '_name' => 'reserveContractorConcept', '_signature' => [], '_value' => [ 0 ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:boolean', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}boolean' } }, 'SOAP::Data' ), bless( { '_name' => 'reserveContractorDate', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ), bless( { '_name' => 'reserveMakingConcept', '_signature' => [], '_value' => [ 0 ], '_prefix' => '', '_attr' => { 'xsi:type' => 'xsd:boolean', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{http://www.w3.org/2001/XMLSchema}boolean' } }, 'SOAP::Data' ), bless( { '_name' => 'reserveMakingDate', '_signature' => [], '_value' => [ undef ], '_prefix' => '', '_attr' => { 'xsi:nil' => 'true', '{http://www.w3.org/2001/XMLSchema-instance}nil' => 'true' } }, 'SOAP::Data' ) ], '_attr' => {} }, 'SOAP::Data' ) ], '_prefix' => '', '_attr' => { 'xsi:type' => 'n1:Data30bisPortail', '{http://www.w3.org/2001/XMLSchema-instance}type' => '{java:be.smals.attest30bis.service.domain}Data30bisPortail' } }, 'SOAP::Data' ) ], '_attr' => {} }, 'SOAP::Data' ) ], '_prefix' => 'm', '_attr' => {} }, 'SOAP::Data' ) ], '_attr' => {} }, 'SOAP::Data' ); Not a HASH reference at ./check_WebServiceAttest30bis.pl line 143. Start time : Mon Jul 5 13:51:33 2010 End time : Mon Jul 5 13:51:40 2010 Trendline : 6 Response time: 6.698 Debug : 1 State : UNKNOWN Message : Web Service Attestation 30 bis (Production) Alert : 200 OK Error : HELP, THERE IS A PROBLEM WITH THE PLUGIN UNKNOWN - Web Service Attestation 30 bis (Production): 200 OK ERROR: HELP, THERE IS A PROBLEM WITH THE PLUGIN|'consult'=6253ms;;;; Trendline=6.698s; |