WSDL Relative Imports/Includes break in Local Repository
--------------------------------------------------------

                 Key: SYNAPSE-362
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-362
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Gary Rudolph
            Priority: Minor


We have a WSDL that performs a <wsdl:import> in which that wsdl then performs 
an <xsd:include> both using relative paths. It appears that it wants to locate 
the relative path from the SYNAPSE_HOME.

i.e. in:
repository/conf/resources/com/eharmony/singles/ws/proxy

SinglesProxy.wsdl
<wsdl:import namespace="urn:com:eharmony:singles:ws:proxy" 
location="MyMatches.wsdl"/>

MyMatches.wsdl
<xsd:include schemaLocation="SinglesSchema.xsd"/>

SinglesSchema.xsd

Then in the synapse.xml I have:
<localEntry key="SinglesProxy_wsdl" 
src="file:repository/conf/resources/com/eharmony/singles/ws/proxy/SinglesProxy.wsdl"
 />

This breaks trying to load the MyMatches.wsdl with the message:
Caused by: java.io.FileNotFoundException: 
/Users/grudolph/Applications/synapse-1.2/MyMatches.wsdl (No such file or 
directory)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to