Reputation: 21
I want to connect ServiceManager WSDL to WSO2 esb as a target for a proxy service. I installed both SM9 and WSO2esb on the same dev system. SoapSonar will be used to check the results of my esb configuration.
My service definition looks the following way:
<proxy name="SM9Lcl1IM" transports="http" startOnLoad="true" trace="enable" statistics="enable">
<description>Incident Management Local SM9</description>
<target>
<endpoint>
<address uri="http://localhost:19380/sc62server/PWS"/>
</endpoint>
<outSequence>
<send/>
</outSequence>
</target>
<publishWSDL uri="http://localhost:19380/sc62server/PWS/IncidentManagement.wsdl"/>
</proxy>
Unfortunatly I can't solve the problem, that xsd files have to be transferred to the client. SoapSonar tells me by a popup window, that it wants to know, where it can find
SM9Lcl1IM?xsd=http://VMDEMOW2K3:19380/sc62server/PWS/Common.xsd
I checked the wsdl and found the following statement:
<xs:import namespace="http://servicecenter.peregrine.com/PWS/Common" schemaLocation="http://VMDEMOW2K3:19380/sc62server/PWS/Common.xsd"/>'
So I tried several things:
Is there a hint or a setup guide, that solves this issue? THe samples are nice, but they are a bit too simple to derive a solution out of them.
Upvotes: 1
Views: 1050
Reputation: 21
I got it solved, but the solution doesn't satisfy me. I included the contents of the xsd into the wsdl, so there is no import necessairy. The solution works, but turns the modular concept of xsd upside down.
I think, the problem is related to an older bug in synapse (underlying in wso2 esb), and as far as it seems, it is not finaly solved at all.
If you have a better solution, please let me know, since I'd like to have one, that supports the modular concept.
Upvotes: 1