Web Service SOAP - Unknown element v1

Simon Brunning simon at brunningonline.net
Tue Apr 11 07:06:39 EDT 2006


On 4/11/06, Jesus.Javier.Masa.Lledo at dmr-consulting.com
<Jesus.Javier.Masa.Lledo at dmr-consulting.com> wrote:
>
> This is the result of doing: setDVD(title="BenHur")
>
> *** Outgoing SOAP ******************************************************
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope
>   SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>   xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>   xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>   xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> >
> <SOAP-ENV:Body>
> <setDVD SOAP-ENC:root="1">
> <titulo xsi:type="xsd:string">BENHUR</titulo>
> </setDVD>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ************************************************************************

Clearly it isn't. Your Python snippet uses the keyword "title",
whereas the outgoing SOAP message uses "titulo". What does the WSDL
say it needs?

Have you looked at the Java side, as I suggested?

BTW, please reply to the list rather than to me personally. Thanks.

--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list