RE: [SOAP] Re: CGI Error with sopenc:array in WSDL
| From: | LEBUR Guillaume | Date: | Mon, 30 May 2005 11:52:22 +0000 |
| Subject: | RE: [SOAP] Re: CGI Error with sopenc:array in WSDL | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1922@lists.php.net to get a copy of this message | ||
Hi Michael,
Thanks for your answer, it does work with "SOAP-ENC" now.
Most oddly, if you look up "soapenc:array" in a search engine, you'll find a whole
lot of tutorials that explain you it is the right syntax for an array complex type...
Anyway, I think by now I'll stop trying to understand about SOAP and WSDL, since most of the
time making a Web Service work seems to be more a matter of chance and trial-and-error than really
respecting a standard ;)
Again, thanks a lot :)
Guillaume
PS : to Christian -> "The specified CGI application misbehaved by not returning a complete
set of HTTP headers" doesn't seem to indicate a specific error, just a general failure in
the CGI (my script is running on IIS). The failure could be caused by almost anything so it is not
really relevant.
> -----Message d'origine-----
> De : Michael Rasmussen [mailto:mir@miras.org]
> Envoyé : dimanche 29 mai 2005 23:55
> À : soap@lists.php.net
> Objet : [SOAP] Re: CGI Error with sopenc:array in WSDL
>
> On Fri, 27 May 2005 10:56:27 +0200, LEBUR Guillaume wrote:
>
> > It seems that the "Rubriques" complexType is in cause, since if I
> > comment it out, the error no longer occurs.
> >
> You have an error in your WSDL: The prefix to Array and
> arrayType is SOAP-ENC, so your complexType must look like
> this <xsd:complexType name="Rubriques">
> <xsd:complexContent>
> <xsd:restriction base="SOAP-ENC:Array">
> <xsd:attribute ref="SOAP-ENC:arrayType"
> wsdl:arrayType="cms:Rubrique[]"/>
> </xsd:restriction>
> </xsd:complexContent>
> </xsd:complexType>
>
> If you look into your schema references in the soap envelope
> you will see that the references to SOAP's encoding scheme is
> written in capital letters
>
> >
> >
> > Is there a known problem with the PHP SOAP server functions and the
> > "soapenc:Array" type ?
> >
> No, it works perfectly for me.
>
> --
> Hilsen/Regards
> Michael Rasmussen
> râÃSKÞ˜º@
> ÝÈz2http://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
>
>