Search found 10 matches
- Wed Sep 07, 2011 4:53 am
- Forum: PHP - Code
- Topic: Problems parsing XML
- Replies: 1
- Views: 263
Problems parsing XML
Why this class (http://es.php.net/manual/es/class.domdocument.php#93900) doesn´t parse nodes with same name?
- Thu Jul 07, 2011 5:01 am
- Forum: PHP - Code
- Topic: SoapServer doubts
- Replies: 0
- Views: 622
SoapServer doubts
Hi, I don´t how to do that: I receive a soapxml correctly and i want to get the values and insert into a DB. $soap_msg = new DOMDocument(); $soap_msg->load('php://input'); $server = new SoapServer('wsdl.wsdl'); $server->setClass("NeonServer"); $server->handle($soap_msg->saveXML()); <- Corr...
- Thu Feb 24, 2011 9:29 am
- Forum: PHP - Code
- Topic: Problems with a long integer
- Replies: 1
- Views: 470
Problems with a long integer
I have a WSDL that it returns this field: <xsd:element maxOccurs="1" minOccurs="1" name="CO-RFR-AVE-ICD-TDE" nillable="false" type="xsd:long"/> The field content returned is 20110094012838001. I made an echo and the result was 2.01100940128E+16. How ...
- Mon Dec 13, 2010 9:58 am
- Forum: PHP - Code
- Topic: I can´t obtain private kay from certificate (openssl_get_pr)
- Replies: 0
- Views: 160
I can´t obtain private kay from certificate (openssl_get_pr)
define('CERT_FILE', './B1EE13.cer'); $key=file_get_contents(CERT_FILE); $key=openssl_x509_read($key); openssl_x509_export($key, $str_cert); $key=$str_cert; //$key like //-----BEGIN CERTIFICATE----- //-----END CERTIFICATE----- if(!$pk=openssl_get_privatekey($key,'password')) { while ($err = openssl_...
- Wed Nov 24, 2010 3:55 am
- Forum: PHP - Code
- Topic: SoapClient with WS-Security
- Replies: 0
- Views: 129
SoapClient with WS-Security
Is it possible to use SoapClient with WS-Security. I´ve read some old posts in the internet but i not sure it´s possible. I must consume a web service with digital certificate.
What are the choices if it´s not possible?
What are the choices if it´s not possible?
- Wed May 26, 2010 2:01 am
- Forum: PHP - Code
- Topic: Array returned by SoapClient
- Replies: 9
- Views: 322
Re: Array returned by SoapClient
This one is very simply and works fine.AbraCadaver wrote:So these are hacks and maybe there is a better way to return your soap response, but here are several ways:Code: Select all
$array = array_combine(array_keys($array), array_values($array)); echo $array[1];
I upgraded soapclient and the problems persists.
- Tue May 25, 2010 9:39 am
- Forum: PHP - Code
- Topic: Array returned by SoapClient
- Replies: 9
- Views: 322
Re: Array returned by SoapClient
I tried with ksort and neither works.
foreach method works perfectly bur i thought there would be better solution.
I will look about upgrade.
Thank you.
foreach method works perfectly bur i thought there would be better solution.
I will look about upgrade.
Thank you.
- Tue May 25, 2010 3:40 am
- Forum: PHP - Code
- Topic: Array returned by SoapClient
- Replies: 9
- Views: 322
Re: Array returned by SoapClient
I think i explained wrong. The array i had is (there are more fields but it´s reduced): array(3) { ["recsonpage"]=> "1", ["recsindb"]=> "1", ["1"]=> array(3) {["thawtecertstat"]=> string(2) "NA", ["websiteid"]=> string(8...
- Tue May 25, 2010 1:46 am
- Forum: PHP - Code
- Topic: Array returned by SoapClient
- Replies: 9
- Views: 322
Re: Array returned by SoapClient
It should bebut it doesn´t works.
Thak you anyway.
Code: Select all
$array[$array["1"]]["domainstat"];Thak you anyway.
- Mon May 24, 2010 5:44 am
- Forum: PHP - Code
- Topic: Array returned by SoapClient
- Replies: 9
- Views: 322
Array returned by SoapClient
Hi every body, i´m new in the Forum and i´m from Spain. I have a problem with a array returned by a WebService throw SoapClient. It returns an array that one of the keys is an string value "1". So PHP can not access to the following array inside. For instance: I receive this result doing $...