#42410 [Com]: SOAP parsing problem on Item-Tags

2010-02-12 Thread terapi_rain_sago at hotmail dot com
 ID:   42410
 Comment by:   terapi_rain_sago at hotmail dot com
 Reported By:  andreas dot bohne-lang at medma dot uni-heidelberg dot
 Status:   No Feedback
 Bug Type: SOAP related
 Operating System: MacOSX 1.4
 PHP Version:  5.2.3
 New Comment:

Could you help me. Gratitude is the most exquisite form of courtesy.
Help me! There is an urgent need for sites: Publisher brochure printing.
I found only this - http://www.honbu.fi/Members/BrochurePrinting/brochure-printing-brisbane";>brochure
printing brisbane. Brochure printing, maker end documents can look
you write a traffic if you are in presentation of one. Brochure
printing, older letters immediately might make more worth destruction,
found out or already just only information-analytical organization times
since the brighter machines all disappear them. With respect :eek:,
Durand from Marino.


Previous Comments:


[2007-09-01 01:00:02] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2007-08-27 07:55:12] aboh24 at gmx dot de

Same problem. 

I could not "Edit Submission" because my email address for this bug war
too long for your system (the last 2 charaters are cropped) and I forgot
my password :/

I will reopen this on another _shorter_ email address.



[2007-08-24 10:24:44] j...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi





[2007-08-24 07:19:37] andreas dot bohne-lang at medma dot
uni-heidelberg dot 

Description:

The built-in SOAP drop the value of the record. eg: the '2005 Jul 1' of
the PubDate. NuSOAP can handle this.



15980568
2005 Jul 1

Nucleic Acids Res

Bohne-Lang A


...

stdClass Object
(
[DocSum] => stdClass Object
(
[Id] => 15980568
[Item] => Array
(
[0] => stdClass Object
(
[Name] => PubDate
[Type] => Date
)

[1] => stdClass Object
(
[Name] => EPubDate
[Type] => Date
)

[2] => stdClass Object
(
[Name] => Source
[Type] => String
)


Reproduce code:
---
http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl',array('trace'
=> 1));
$result = $client->__soapcall('run_eSummary',array(
'parameters' => array('db' => 'pubmed', 'id'=>'15980568')));

echo "LastRequestHeaders:\n" .
$client->__getLastRequestHeaders()   . "\n";
echo "LastRequest:\n" . $client->__getLastRequest()   . "\n";
echo "LastResponseHeaders:\n" .
$client->__getLastResponseHeaders()  . "\n";
echo "LastResponse:\n" . $client->__getLastResponse() . "\n";
print_r($result);
?>


Expected result:

NuSOAP output:

Array
(
[DocSum] => Array
(
[Id] => 15980568
[Item] => Array
(
[0] => Array
(
[!Name] => PubDate
[!Type] => Date
[!] => 2005 Jul 1
)

[1] => Array
(
[!Name] => EPubDate
[!Type] => Date
)

[2] => Array
(
[!Name] => Source
[!Type] => String
[!] => Nucleic Acids Res
)

[3] => Array
(
[Item] => Array
(
[0] => Array
(
[!Name] => Author
[!Type] => String
[!] => Bohne-Lang A
)



Actual result:
--
LastRequestHeaders:
POST /entrez/eutils/soap/

#42410 [Com]: SOAP parsing problem on Item-Tags

2007-08-27 Thread aboh24 at gmx dot de
 ID:   42410
 Comment by:   aboh24 at gmx dot de
 Reported By:  andreas dot bohne-lang at medma dot uni-heidelberg dot
 Status:   Feedback
 Bug Type: SOAP related
 Operating System: MacOSX 1.4
 PHP Version:  5.2.3
 New Comment:

Same problem. 

I could not "Edit Submission" because my email address for this bug war
too long for your system (the last 2 charaters are cropped) and I forgot
my password :/

I will reopen this on another _shorter_ email address.


Previous Comments:


[2007-08-24 10:24:44] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi





[2007-08-24 07:19:37] andreas dot bohne-lang at medma dot
uni-heidelberg dot 

Description:

The built-in SOAP drop the value of the record. eg: the '2005 Jul 1' of
the PubDate. NuSOAP can handle this.



15980568
2005 Jul 1

Nucleic Acids Res

Bohne-Lang A


...

stdClass Object
(
[DocSum] => stdClass Object
(
[Id] => 15980568
[Item] => Array
(
[0] => stdClass Object
(
[Name] => PubDate
[Type] => Date
)

[1] => stdClass Object
(
[Name] => EPubDate
[Type] => Date
)

[2] => stdClass Object
(
[Name] => Source
[Type] => String
)


Reproduce code:
---
http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl',array('trace'
=> 1));
$result = $client->__soapcall('run_eSummary',array(
'parameters' => array('db' => 'pubmed', 'id'=>'15980568')));

echo "LastRequestHeaders:\n" .
$client->__getLastRequestHeaders()   . "\n";
echo "LastRequest:\n" . $client->__getLastRequest()   . "\n";
echo "LastResponseHeaders:\n" .
$client->__getLastResponseHeaders()  . "\n";
echo "LastResponse:\n" . $client->__getLastResponse() . "\n";
print_r($result);
?>


Expected result:

NuSOAP output:

Array
(
[DocSum] => Array
(
[Id] => 15980568
[Item] => Array
(
[0] => Array
(
[!Name] => PubDate
[!Type] => Date
[!] => 2005 Jul 1
)

[1] => Array
(
[!Name] => EPubDate
[!Type] => Date
)

[2] => Array
(
[!Name] => Source
[!Type] => String
[!] => Nucleic Acids Res
)

[3] => Array
(
[Item] => Array
(
[0] => Array
(
[!Name] => Author
[!Type] => String
[!] => Bohne-Lang A
)



Actual result:
--
LastRequestHeaders:
POST /entrez/eutils/soap/soap_adapter_1_5.cgi HTTP/1.1
Host: www.ncbi.nlm.nih.gov
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.3
Content-Type: text/xml; charset=utf-8
SOAPAction: "esummary"
Content-Length: 321


LastRequest:

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://www.ncbi.nlm.nih.gov/soap/eutils/esummary";>pubmed15980568

LastResponseHeaders:
HTTP/1.1 200 OK
Date: Fri, 24 Aug 2007 07:14:09 GMT
Server: Apache
Content-length: 2278
Content-Type: text/xml; charset="UTF-8"
Vary: Accept-Encoding
Connection: close

LastResponse:

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >
http://www.ncbi.nlm.nih.gov/soap/eutils/esummary";>

15980568
2005 Jul 1

Nucleic Acids Res

Bohne-Lang A
Groch WD
Ranzinger R

Ranzinger R
AISMIG--an interactive
server-side molecule image generator.
33
Web Server issue
W705-9

English

0411011