synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] Commented: (SYNAPSE-362) WSDL Relative Imports/Includes break in Local Repository
Date Fri, 20 Jun 2008 09:07:46 GMT


Andreas Veithen commented on SYNAPSE-362:


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"/> 

If not, then this is a bug. Can you test this?

> WSDL Relative Imports/Includes break in Local Repository
> --------------------------------------------------------
>                 Key: SYNAPSE-362
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Gary Rudolph
>            Priority: Minor
>         Attachments: error.txt, MyMatches.wsdl, SinglesProxy.wsdl, SinglesSchema.xsd,
> 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: /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:
For additional commands, e-mail:

View raw message