Имеется Web Service с такой schema в wsdl:
<WSDL:types>
<schema xmlns="
http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-SEC="
http://schemas.xmlsoap.org/soap/security/2000-12"
xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:ds="
http://www.w3.org/2000/09/xmldsig#"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:ns="
urn:calculator"
xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/"
elementFormDefault="qualified" targetNamespace="
urn:calculator">
<import namespace="
http://www.w3.org/2000/09/xmldsig#"/>
<import namespace="
http://schemas.xmlsoap.org/soap/envelope/"/>
<element name="Signature" final="restriction">
<complexType>
<sequence>
<element ref="ds:Signature" minOccurs="1" maxOccurs="1"/>
</sequence>
<attribute name="id" type="ID" use="optional"/>
<attribute ref="SOAP-ENV:actor" use="optional"/>
<attribute ref="SOAP-ENV:mustUnderstand" use="optional"/>
</complexType>
</element>
<attribute name="id" type="ID"/>
</schema>
</WSDL:types>
ошибка следующая: Schema error — element 'ds:Signature' is undefined
пользуюсь я редактором XMLSPY , который такую ошибку и генерит
сервис написан на с++, а клиент на .net бросает следующее исключение
SOAP header Signature was not understood. Думаю, это взаимосвязано
может кто-нить объяснить почему такая ошибка? вроде пространство имён определено...
и, главное, как её исправить
Заранее спасибо,
Виталий.
... << RSDN@Home 1.1.4 beta 6a rev. 436>>