Имеется сервис с невалидным WSDL.
0][1]src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'http://192.168.4.185/tcwebservice.asmx?WSDL'. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://192.168.4.185/tcwebservice.asmx?WSDL'. WSDL DOCUMENT IS INVALID
BPS процесс отмечен в Eclipse красным цветом.
ESB с этим сервисом работала нормально.
Создал WSDL-прокси через веб-интерфейс.
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="proxy_f1"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<outSequence>
<send/>
</outSequence>
<endpoint>
<wsdl service="TCWebService"
port="TCWebServiceSoap"
uri="http://192.168.4.185/tcwebservice.asmx?WSDL"/>
</endpoint>
</target>
<description/>
</proxy>
У него всего одна операция - mediate с аргументом content.
0][1]src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'http://192.168.4.185/tcwebservice.asmx?WSDL'. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://192.168.4.185/tcwebservice.asmx?WSDL'. WSDL DOCUMENT IS INVALID
BPS процесс отмечен в Eclipse красным цветом.
ESB с этим сервисом работала нормально.
Создал WSDL-прокси через веб-интерфейс.
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="proxy_f1"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<outSequence>
<send/>
</outSequence>
<endpoint>
<wsdl service="TCWebService"
port="TCWebServiceSoap"
uri="http://192.168.4.185/tcwebservice.asmx?WSDL"/>
</endpoint>
</target>
<description/>
</proxy>
У него всего одна операция - mediate с аргументом content.
Комментариев нет:
Отправить комментарий