You cannot import the soap-binding-rpc quick start into Red Hat JBoss Developer Studio. If you try to do so, you will encounter errors. To work around this issue, swap the following lines in the switchyard.xml file from this:
<programlisting><![CDATA[
<soap:contextPath>soap-attachment</soap:contextPath>
<soap:socketAddr>:${jettyPort}</soap:socketAddr>
]]></programlisting>
to this:
<programlisting><![CDATA[
<soap:socketAddr>:${jettyPort}</soap:socketAddr>
<soap:contextPath>soap-attachment</soap:contextPath>
]]></programlisting>
DescriptionAndrej Podhradsky
2013-12-17 16:42:12 UTC
Description of problem:
After importing the quickstart 'soap-binding-rpc' there are the following errors:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'soap:socketAddr'. One of '{"urn:switchyard-component-soap:config:1.0":endpointConfig, "urn:switchyard-component-soap:config:1.0":mtom, "urn:switchyard-component-soap:config:1.0":inInterceptors, "urn:switchyard-component-soap:config:1.0":outInterceptors}' is expected.
Version-Release number of selected component (if applicable):
ER7
How reproducible:
always
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Can you try editing the switchyard.xml and swapping the following lines
<soap:contextPath>soap-attachment</soap:contextPath>
<soap:socketAddr>:${jettyPort}</soap:socketAddr>
to
<soap:socketAddr>:${jettyPort}</soap:socketAddr>
<soap:contextPath>soap-attachment</soap:contextPath>
Comment 2Andrej Podhradsky
2013-12-18 08:37:03 UTC
Nice! It works
Comment 3JBoss JIRA Server
2014-11-17 15:38:51 UTC
Douglas Palmer <dpalmer> updated the status of jira SWITCHYARD-2385 to Reopened
Description of problem: After importing the quickstart 'soap-binding-rpc' there are the following errors: cvc-complex-type.2.4.a: Invalid content was found starting with element 'soap:socketAddr'. One of '{"urn:switchyard-component-soap:config:1.0":endpointConfig, "urn:switchyard-component-soap:config:1.0":mtom, "urn:switchyard-component-soap:config:1.0":inInterceptors, "urn:switchyard-component-soap:config:1.0":outInterceptors}' is expected. Version-Release number of selected component (if applicable): ER7 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: