конфликт имен в AXIS отсутствует в CXF - PullRequest
0 голосов
/ 11 ноября 2019

У меня есть рабочее приложение, использующее CXF. Я занят, пытаясь перейти на AXIS.

CXF генерирует заглушки просто отлично, но AXIS выдает следующую ошибку:

Retrieving schema at 'watchlistcheckfullreportresponse.xsd', relative to 'file:/D:/Development/Projects/Zilch/pz-customer-service/src/main/resources/wsdl/EWSConsumer LiveWsdl Version4_0/consumerService_prod.wsdl'.
org.apache.xmlbeans.XmlException: error: Imported schema has a target namespace "http://ewsconsumer.services.uk.equifax.com/schema/v4/consumerdata/common" that does not match the specified "http://ewsconsumer.services.uk.equifax.com/schema/v4/consumerdata"

В рассматриваемом файле, похоже, даже нет пространства именупоминаетсяТак что я немного запутался.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema 
targetNamespace="http://ewsconsumer.services.uk.equifax.com/schema/v4/watchlistcheck/watchlistcheckfullreportresponse" 
version="4.0" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns="http://ewsconsumer.services.uk.equifax.com/schema/v4/watchlistcheck/watchlistcheckfullreportresponse" 
xmlns:cscresp="http://ewsconsumer.services.uk.equifax.com/schema/v4/commonresponse">
  <xs:import namespace="http://ewsconsumer.services.uk.equifax.com/schema/v4/commonresponse"/>
  <xs:element name="watchlistCheckFullReportResponse" type="WatchlistCheckFullReportResponse"/>
  <xs:complexType name="WatchlistCheckFullReportResponse">
...