used the Visual Modeler to create:
<sca:service name="PolicyQuoteProcessServicePortType" promote="PolicyQuoteProcess/PolicyQuoteProcessService">
<sca:interface.wsdl interface="PolicyQuoteProcessService.wsdl#wsdl.porttype(PolicyQuoteProcessServicePortType)"/>
<soap:binding.soap>
<messageComposer xsi:type="soap:MessageComposerType"/>
<soap:contextMapper/>
<soap:messageComposer/>
<soap:wsdl>PolicyQuoteProcessService.wsdl</soap:wsdl>
<soap:wsdlPort>PolicyQuoteProcessServicePort</soap:wsdlPort>
<soap:socketAddr>:18001</soap:socketAddr>
<soap:contextPath>PolicyQuoteProcessService</soap:contextPath>
</soap:binding.soap>
</sca:service>
But when I build I get
[ERROR] Failed to execute goal org.switchyard:switchyard-plugin:0.6.0-SNAPSHOT:configure (default) on project PolicyQuoteProcessService: Model [org.switchyard.config.model.switchyard.v1.V1SwitchYardModel] is invalid: cvc-complex-type.2.4.a: Invalid content was found starting with element 'messageComposer'. One of '{"urn:switchyard-component-soap:config:1.0":messageComposer, "urn:switchyard-component-soap:config:1.0":wsdl}' is expected. -> [Help 1]
I deleted the first messageComposer, then it built fine. I then went and checked the Unwrapped Payload, and saved, and the second messageComposer element was added again.
|