[
https://issues.apache.org/jira/browse/SYNAPSE-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606679#action_12606679
]
Andreas Veithen commented on SYNAPSE-362:
-----------------------------------------
Gary,
Normally the following should work:
<localEntry key="SinglesProxy_wsdl"
src="file:repository/conf/resources/com/eharmony/singles/ws/proxy/SinglesProxy.wsdl"/>
<localEntry key="MyMatches_wsdl"
src="file:repository/conf/resources/com/eharmony/singles/ws/proxy/mymatches/MyMatches.wsdl"/>
<localEntry key="SinglesSchema_xsd"
src="file:repository/conf/resources/com/eharmony/singles/ws/proxy/mymatches/SinglesSchema.xsd"/>
...
<publishWSDL key="SinglesProxy_wsdl" >
<resource location="MyMatches.wsdl" key="MyMatches_wsdl"/>
<resource location="SinglesSchema.xsd" key="SinglesSchema_xsd"/>
</publishWSDL>
If not, then this is a bug. Can you test this?
> 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]