wM Dev 7.1.2.0.124 Error making consumer WSD:error occurred trying to resolve schema

Hi there. I get this error

com.wm.app.b2b.server.ServiceException: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at ‘…/…/…/…/…/schema/payments/message/fault/Fault.xsd’, relative to ‘file:/C:/CCA/Aravind_First/WEB-INF/WEB-INF/wsdl/payments/account/service/financialSummary/’.: java.io.FileNotFoundException: This file was not found: file:/C:/CCA/Aravind_First/WEB-INF/WEB-INF/schema/payments/message/fault/Fault.xsd
at wm.server.ws.wsdl2wsd(ws.java:1132)

when attempting to create a consumer WSD for this WSDL (fragment only)

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.orange.com/payments/account/service/financialSummary" xmlns:flt="http://www.orange.com/payments/message/fault" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.orange.com/payments/account/service/financialSummary" name="FinancialAccountSummary">
<wsdl:types>
<xs:schema targetNamespace="http://www.orange.com/payments/account/service/financialSummary" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:flt="http://www.orange.com/payments/message/fault">
<import namespace="http://www.orange.com/payments/message/fault" schemaLocation="…/…/…/…/…/schema/payments/message/fault/Fault.xsd"/>
<include schemaLocation="…/…/…/…/…/schema/payments/account/service/financialSummary/getFinancialAccountSummaryRequest.xsd"/>
<include schemaLocation="…/…/…/…/…/schema/payments/account/service/financialSummary/getFinancialAccountSummaryResponse.xsd"/>
<element name="getFinancialAccountSummaryRequest" type="tns:getFinancialAccSummaryReq"/>
<element name="getFinancialAccountSummaryResponse" type="tns:getFinancialAccSummaryResp"/>
<element name="fault" type="flt:Fault"/>
</xs:schema>

The Fault.xsd file is exactly where it should be, that is, exactly where the relative path in the schemaLocation says it is.

What am I doing wrong?

Relative path doesn’t work…so please check this thread for resolution:

http://www.wmusers.com/forum/showthread.php?t=16738

HTH,
RMg

RMg, thanks for quick response.

However still a bit confused.

The last note in the thread says apply fix WebSvcsXML_Fix11 to the IS.

But the note before (by you) says relative URIs are not allowed

“relative URIs are disallowed by the WS‐I Basic Profile 1.1 Compliance standard. If the WSDL file uses relative URLs in any of the XSD import or include statements, Developer will not create the Web service descriptor.”

Which should I pay attention to? They seem to be contradictory.

These are my versions:

Developer
Version 7.1.2.0.124

Integration Server
Version 7.1.2.0
Updates None

IS fix available but not yet applied:
FIX IS_7-1-2_WebSvcsXML_Fix5 IS 7.1.2 WebServices/XML Fix 5

You can follow either fix that fits better with faster resolution for this issue and it should work.

Look in the readme file of the fix that should be permanent fix to the IS.

HTH,
RMg