[
https://issues.apache.org/jira/browse/SYNAPSE-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606695#action_12606695
]
Andreas Veithen commented on SYNAPSE-362:
-----------------------------------------
This is the same error as in SYNAPSE-363. I think that Synapse correctly loads
the imported WSDL and XSD files, but Axis2 has a problem with the content.
Gary, now that you found the issue with the WSDL, can you check wether the
import works correctly?
> 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]