Gary Brown created RTGOV-148:
--------------------------------
Summary: Item not found response causing property evaluator expression error
Key: RTGOV-148
URL:
https://issues.jboss.org/browse/RTGOV-148
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.M4
When sending the request that results in an 'item not found' response from the
order service, the console is showing:
16:07:37,771 SEVERE [org.overlord.rtgov.activity.processor.TypeProcessor]
(http--127.0.0.1-8080-1) Property expression 'customer' failed to obtain a value
from information: Order 2 Not Accepted: Item Not Available
The request sent was:
{noformat}
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<orders:submitOrder
xmlns:orders="urn:switchyard-quickstart-demo:orders:1.0">
<order>
<orderId>2</orderId>
<itemId>Laptop</itemId>
<quantity>100</quantity>
<customer>Fred</customer>
</order>
</orders:submitOrder>
</soap:Body>
</soap:Envelope>
{noformat}
This resulted in the response:
{noformat}
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<orders:submitOrderResponse
xmlns:orders="urn:switchyard-quickstart-demo:orders:1.0">
<orderAck>
<orderId>2</orderId>
<accepted>false</accepted>
<status>Item Not Available</status>
<customer>null</customer>
<total>0.0</total>
</orderAck>
</orders:submitOrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{noformat}
with the 'null' customer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira