[
https://issues.apache.org/jira/browse/SYNAPSE-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606662#action_12606662
]
Evanthika Amarasiri commented on SYNAPSE-362:
---------------------------------------------
Gary,
I'm afraid you will not be able to refer the SingleSchema.xsd the same way you
referred the MyMatches.wsdl since this is not transitive. As you have proposed
it would be better if one can specify resources inside localEntries. We will
look into this. Meanwhile would it be possible for you to refer to your schema
in some other way?
> 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
> Attachments: error.txt, MyMatches.wsdl, SinglesProxy.wsdl,
> SinglesSchema.xsd, synapse.xml
>
>
> 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]