Bug 1044037

Summary: Errors after importing SY quickstart soap-binding-rpc into JBDS
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Andrej Podhradsky <apodhrad>
Component: Examples, ToolingAssignee: Douglas Palmer <dpalmer>
Status: MODIFIED --- QA Contact: Matej Melko <mmelko>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: rcernich, soa-p-jira
Target Milestone: DR4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
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>
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej 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:

Comment 1 kconner 2013-12-17 21:02:24 UTC
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 2 Andrej Podhradsky 2013-12-18 08:37:03 UTC
Nice! It works

Comment 3 JBoss JIRA Server 2014-11-17 15:38:51 UTC
Douglas Palmer <dpalmer> updated the status of jira SWITCHYARD-2385 to Reopened