#36547 [Opn]: SOAP problem with WSDL, not importing types correctly
| From: | invrnrv at gmail dot com | Date: | Fri, 03 Mar 2006 17:54:00 +0000 |
| Subject: | #36547 [Opn]: SOAP problem with WSDL, not importing types correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93893@lists.php.net to get a copy of this message | ||
ID: 36547
User updated by: invrnrv at gmail dot com
Reported By: invrnrv at gmail dot com
Status: Open
Bug Type: SOAP related
Operating System: fedora core
PHP Version: 5.1.2
New Comment:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/ "
xmlns:xs="http://www.w3.org/2001/XMLSchema"
Previous Comments:
------------------------------------------------------------------------
[2006-03-03 18:53:16] invrnrv at gmail dot com
I simply built the cgi binary with --enable-soap option.
My WSDL file:
------------------------------------------------------------------------
[2006-03-03 18:47:23] invrnrv at gmail dot com
I cannot post a followup to this because the bugtracker says that I am
"spamming" the system.
basically, the suggestion below didn't fix anything.
------------------------------------------------------------------------
[2006-02-28 09:26:23] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-02-27 19:38:42] invrnrv at gmail dot com
Description:
------------
when importing types, as in
<types>
<import schemaLocation="blah" namespace="blah"/>
<types>
it seems like the php soap extension doesn't import the xsd file
correctly.
When i make a request, the soap request body shows:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body><body> ....
instead of the expected:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body><ComplexTypeName xmlns="blah> ....
This doesn't appear to be a problem with other libraries, such as
NuSoap.
Is this a bug / upcoming feature?
- Jae
Expected result:
----------------
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body><ComplexTypeName xmlns="blah> ....
Actual result:
--------------
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body><body> ....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36547&edit=1