[Xml-compile] Error: data for element or block starting with `result' missing

Mark Overmeer mark at overmeer.net
Fri Nov 16 08:13:52 GMT 2012


* Joshua Keroes (joshua at keroes.com) [121116 01:41]:
> I'm getting the error message:
> "data for element or block starting with `result' missing at {
> http://soapserver.example.com/API/SOAP/Auth}AuthenticateResponse".
> 
> The request and response look fine to me. What am I missing?

The curcial lines:

> <soap:Envelope xmlns:namesp1="http://soapserver.example.com/API/SOAP/Auth/"
>     <soap:Body>
>         <brix:AuthenticateResponse>
>             <result xsi:type="xsd:int">0</result>
>             <token xsi:type="xsd:string">[redacted]</token>
> 
> WSDL:
> 
> <wsdl:definitions name="Auth"
> <wsdl:types>
>    <xsd:schema elementFormDefault="qualified" targetNamespace="
> http://soapserver.example.com/API/SOAP/Auth">
   ...
>       <xsd:element name="AuthenticateResponse">
>         <xsd:complexType>
>           <xsd:sequence minOccurs="1" maxOccurs="1">
>             <xsd:element name="result" type="tns:netAPIResult" />
>             <xsd:element name="token">
>               <xsd:simpleType>
>                 <xsd:restriction base="xsd:string">
>                     <xsd:minLength value="1" />
>                     <xsd:maxLength value="1024" />

result and token are expected to be namespace qualified, but in the
response they are not.
-- 
Regards,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list