Details
-
Type:
Improvement Request
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0
-
Fix Version/s: 1.0.0
-
Component/s: Process service, Service engine
-
Security Level: Public
-
- Environment:
- -
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Major [ 3 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Description |
Petals services can return a reply, a fault or an error. Reply and fault are natively supported by the webservice task implementation of Flowable, but error are not.
Error could be supported as processed as a common SOAP fault. |
Petals services can return a reply, a fault or an error. Reply and fault are natively supported by the webservice task implementation of Flowable, but error are not.
Error could be supported as processed as a common SOAP fault: {code} <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode/> <faultstring/> </soap:Fault> </soap:Body> </soap:Envelope> {code} |
| Description |
Petals services can return a reply, a fault or an error. Reply and fault are natively supported by the webservice task implementation of Flowable, but error are not.
Error could be supported as processed as a common SOAP fault: {code} <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode/> <faultstring/> </soap:Fault> </soap:Body> </soap:Envelope> {code} |
Petals services can return a reply, a fault or an error. Reply and fault are natively supported by the webservice task implementation of Flowable, but error are not.
Error could be supported as processed as a common SOAP fault: {code} <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>java.lang.Exception: A dummy error occurs at org.ow2.petals.flowable.ServiceProviderCallActivityProcessTest$4.provides(ServiceProviderCallActivityProcessTest.java:433) at org.ow2.petals.component.framework.junit.helpers.SimpleComponent.receiveRequestAsExternalProvider(SimpleComponent.java:364) ... </faultstring> </soap:Fault> </soap:Body> </soap:Envelope> {code} |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 1.0.0 [ 10741 ] | |
| Resolution | Fixed [ 1 ] |