Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14245

Re: ERROR: SOAP CALL Internal Error

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: ERROR: SOAP CALL Internal Error
Date 2014-09-17 11:47 -0400
Organization A noiseless patient Spider
Message-ID <lvcaej$v0n$1@dont-email.me> (permalink)
References (2 earlier) <29207510-c645-4bd5-b396-525db761f8b2@googlegroups.com> <lv279r$nou$1@dont-email.me> <2c167c6f-f6ef-495d-83ac-2574e1c799d8@googlegroups.com> <lva4fa$7fp$3@dont-email.me> <49426c71-752a-46c7-8dce-0016b4e6c37d@googlegroups.com>

Show all headers | View raw


On 9/17/2014 7:46 AM, Vito Vittorio Pittalà wrote:
> Il giorno martedì 16 settembre 2014 21:53:25 UTC+2, Denis McMahon ha scritto:
>> On Tue, 16 Sep 2014 10:51:24 -0700, Vito Vittorio Pittalà wrote:
>>
>>
>>
>>> the PHP.INI file has error_reporting = E_ALL & E-NOTICE
>>
>>
>>
>> I think if anything that should be E_NOTICE
>>
>>
>>
>> -- 
>>
>> Denis McMahon, denismfmcmahon@gmail.com
> 
> I deleted e-notice of it has now become
> error_reporting = E_ALL
> I noticed a " more in the request
> SOAP-ENV: Body> <ns1: VisualizzaErogatoRichiesta "
> Now stay is incorrect, but the error persists. I'll try the same code in visual basic. the error is:
> 
> An exception occured: SoapFault exception: [env:Client] Internal Error in C:\apache\htdocs\mail\soap.php:39 Stack trace: #0 C:\apache\htdocs\mail\soap.php(39): SoapClient->__soapCall('visualizzaEroga...', Array) #1 {main}
> 
> __getLastRequestHeaders():POST /DemRicettaErogatoServicesWeb/services/demVisualizzaErogato HTTP/1.1
> Host: demservicetest.sanita.finanze.it
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.2.14
> Accept-Encoding: gzip, deflate
> Content-Encoding: deflate
> Content-Type: text/xml; charset=utf-8
> SOAPAction: "http://visualizzaerogato.wsdl.dem.sanita.finanze.it/VisualizzaErogato"
> Content-Length: 605
> Authorization: Basic VVdUM0NCWFg6UEJVVzlFQlA=
> 
> __getLastRequest():<?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://visualizzaerogatorichiesta.xsd.dem.sanita.finanze.it"><SOAP-ENV:Body><ns1:VisualizzaErogatoRichiesta>
> <ns1:pinCode>xxxx</ns1:pinCode>
> <ns1:codiceRegioneErogatore>xxx</ns1:codiceRegioneErogatore>
> <ns1:codiceAslErogatore>xxx</ns1:codiceAslErogatore>
> <ns1:codiceSsaErogatore>xxxxxx</ns1:codiceSsaErogatore>
> <ns1:pwd>xxxxxx</ns1:pwd>
> <ns1:nre>xxxxxxxxxx</ns1:nre>
> <ns1:cfAssistito>xxxxxxxxx</ns1:cfAssistito>
> <ns1:tipoOperazione>1</ns1:tipoOperazione>
> </ns1:VisualizzaErogatoRichiesta></SOAP-ENV:Body></SOAP-ENV:Envelope>
> __getLastResponseHeaders():HTTP/1.1 500 Error
> Content-Type: text/xml; charset=utf-8
> X-Backside-Transport: FAIL FAIL
> Connection: close
> __getLastResponse:<?xml version='1.0' ?>
> <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
> <env:Body>
> <env:Fault>
> <faultcode>env:Client</faultcode>
> <faultstring>Internal Error</faultstring>
> </env:Fault>
> </env:Body>
> </env:Envelope>
> </pre>
> 

OK, I've had more time to look at this.  I know this is a stupid
question - but you are connecting to the correct server, right?  Some
companies have more than one SOAP server and it can be easy to connect
to the wrong one (I don't think this is the case - but sometimes the
obvious gets missed).

The keys here is the <faultstring>Internal Error</faultstring>

This is indicating an error was detected by the server.  Unfortunately,
it doesn't pass more information along as to what the error is (on
purpose for security reasons so that it doesn't show details of the
server's implementation).

I don't see anything obviously wrong with your PHP code, but there are a
lot of unknowns here, also - like is the certificate valid (probably),
is the wsdl correct (it's well-formatted XML, but that's all I can
tell), and a bunch of other things only your host would know

Also, I'm not sure where the extra '"' came from - I don't see it in
your XML (or the XML would be invalid).

Your best bet is to go to the provider and have them check their error
logs, which will contain more information about the error.  There just
isn't enough information from the client side to determine what the
problem is.

My best bet would be something invalid in the WSDL - perhaps a typo or a
change in the server which didn't get reflected in their sample code.
But it's only a guess.

Sorry I can't be of more help.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

ERROR: SOAP CALL Internal Error pittalavittorio@gmail.com - 2014-09-12 08:59 -0700
  Re: ERROR: SOAP CALL Internal Error Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-12 13:16 -0400
  Re: ERROR: SOAP CALL Internal Error bill <william@TechServSys.com> - 2014-09-12 13:29 -0400
    Re: ERROR: SOAP CALL Internal Error Vito Vittorio Pittalà <pittalavittorio@gmail.com> - 2014-09-12 12:57 -0700
      Re: ERROR: SOAP CALL Internal Error Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-13 15:52 -0400
        Re: ERROR: SOAP CALL Internal Error Vito Vittorio Pittalà <pittalavittorio@gmail.com> - 2014-09-16 10:51 -0700
          Re: ERROR: SOAP CALL Internal Error Denis McMahon <denismfmcmahon@gmail.com> - 2014-09-16 19:53 +0000
            Re: ERROR: SOAP CALL Internal Error Vito Vittorio Pittalà <pittalavittorio@gmail.com> - 2014-09-17 04:46 -0700
              Re: ERROR: SOAP CALL Internal Error Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-17 11:47 -0400

csiph-web