

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
17 messages in net.php.lists.soapRE: [SOAP] Re: Java/Oracle server, PH...| From | Sent On | Attachments |
|---|---|---|
| Peter Guy | Jan 17, 2006 11:03 am | |
| Peter Guy | Jan 17, 2006 12:27 pm | |
| Michael Rasmussen | Jan 17, 2006 4:19 pm | |
| Peter Guy | Jan 17, 2006 4:51 pm | |
| Dmitry Stogov | Jan 18, 2006 12:07 am | |
| Peter Guy | Jan 18, 2006 11:44 am | |
| Roger Roelofs | Jan 18, 2006 12:16 pm | |
| Michael Rasmussen | Jan 18, 2006 12:51 pm | |
| Peter Guy | Jan 18, 2006 3:18 pm | |
| Peter Guy | Jan 18, 2006 3:29 pm | |
| Dmitry Stogov | Jan 19, 2006 11:35 pm | |
| Dmitry Stogov | Jan 19, 2006 11:48 pm | |
| Dmitry Stogov | Jan 20, 2006 12:15 am | |
| Peter Guy | Jan 20, 2006 11:18 am | |
| Katy Coe | Jan 20, 2006 4:20 pm | |
| Peter Guy | Jan 20, 2006 5:26 pm | |
| Katy Coe | Jan 21, 2006 9:39 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [SOAP] Re: Java/Oracle server, PHP 5.1.2 client, array of complexTypes, Deserializer error | Actions... |
|---|---|---|
| From: | Dmitry Stogov (dmi...@zend.com) | |
| Date: | Jan 19, 2006 11:48:47 pm | |
| List: | net.php.lists.soap | |
Hi Michael,
Note that Peter uses rpc/encoded SOAP 1.1 (not 1.2).
Also you are wrong about 1.2 too. See into test case from SOAP 1.2 specification.
http://www.w3.org/TR/2003/REC-soap12-testcollection-20030624/#T60
Thanks. Dmitry.
-----Original Message----- From: Michael Rasmussen [mailto:mi...@miras.org] Sent: Wednesday, January 18, 2006 11:52 PM To: so...@lists.php.net Subject: RE: [SOAP] Re: Java/Oracle server, PHP 5.1.2 client, array of complexTypes, Deserializer error
On Wed, 18 Jan 2006 11:07:53 +0300, Dmitry Stogov wrote:
This is well known issue, but not a php/soap bug. The problem that some SOAP implementations don't confirm to SOAP specification and don't accept types derived from array.
See: http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383522
"SOAP arrays are defined as having a type of "SOAP-ENC:Array" or A TYPE DERIVED THERE FROM."
Well, basically it is a php/soap bug. When php/soap creates the request it does not use the appropriate name for the struct which is specified in the wsdl. For this example the wsdl specifies that the struct should be named Bar and not item. So what happens at the server side? The server tries to find any schema/namespace which specifies how an element item must be serialized/deserialized, but of course fails since this is not specified in any schema/namespace. The use of item to specify structs inside an array was already deprecated in soap1.1 and is no longer valid in soap1.2. As of soap1.2 all implementation must follow the specifications strict if the want to use rpc/encoded or else the only way is document/literal.
Once again I must emphasize: This is a bug i php/soap which must be corrected or otherwise you cannot use it for making client/servers which will connect to Java, C#, C/C++ or any other statically typed languages.
-- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php







