Author: objectiser
Date: 2010-03-10 05:48:56 -0500 (Wed, 10 Mar 2010)
New Revision: 555
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
Log:
Update to enable integration test to work with native and cxf jbossws stacks.
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
===================================================================
---
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java 2010-03-10
10:11:17 UTC (rev 554)
+++
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java 2010-03-10
10:48:56 UTC (rev 555)
@@ -54,6 +54,8 @@
result = result.replaceAll("<env:Header
/>","<env:Header></env:Header>");
}
+ result = result.replaceAll("
xmlns:pol='http://www.example.org/policyQuote'>", ">");
+
// Comment out until RIFTSAW-70 is fixed
assertMessageFromFile(result, "hello_response1.xml");
}
Modified:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml 2010-03-10
10:11:17 UTC (rev 554)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml 2010-03-10
10:48:56 UTC (rev 555)
@@ -1,18 +1,18 @@
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://www.example.org/policyQuote'>
- <pol:receivePolicyQuote
xmlns:pol='http://www.example.org/policyQuote'>
+ <pol:receivePolicyQuote>
<pol:requestDate>2010-01-01</pol:requestDate>
<pol:task>receivePolicyQuote</pol:task>
<pol:policyQuoteInfo>
- <pol:policyType
xmlns:pol='http://www.example.org/policyQuote'>AUTO</pol:po...
- <pol:vehicleYear
xmlns:pol='http://www.example.org/policyQuote'>2004</pol:ve...
- <pol:driverName
xmlns:pol='http://www.example.org/policyQuote'>Bob</pol:dri...
- <pol:ssn
xmlns:pol='http://www.example.org/policyQuote'>123456789</p...
- <pol:dlNumber
xmlns:pol='http://www.example.org/policyQuote'>987654321</p...
- <pol:age
xmlns:pol='http://www.example.org/policyQuote'>30</pol:age>
- <pol:numberOfAccidents
xmlns:pol='http://www.example.org/policyQuote'>0</pol:numbe...
- <pol:numberOfTickets
xmlns:pol='http://www.example.org/policyQuote'>0</pol:numbe...
- <pol:creditScore
xmlns:pol='http://www.example.org/policyQuote'>0</pol:credi...
- <pol:price
xmlns:pol='http://www.example.org/policyQuote'>0</pol:price...
+ <pol:policyType>AUTO</pol:policyType>
+ <pol:vehicleYear>2004</pol:vehicleYear>
+ <pol:driverName>Bob</pol:driverName>
+ <pol:ssn>123456789</pol:ssn>
+ <pol:dlNumber>987654321</pol:dlNumber>
+ <pol:age>30</pol:age>
+ <pol:numberOfAccidents>0</pol:numberOfAccidents>
+ <pol:numberOfTickets>0</pol:numberOfTickets>
+ <pol:creditScore>0</pol:creditScore>
+ <pol:price>0</pol:price>
</pol:policyQuoteInfo>
</pol:receivePolicyQuote>
</policyQuoteReply></env:Body></env:Envelope>
\ No newline at end of file