The one.way.returns.fault Property
The one.way.returns.fault
property controls how faults and one-way messages are handled for one-way interface SOAP calls. You can add this property to the service binding component of the web service section for one-way web services in the composite.xml
file. This property is not applicable to references. It is applicable only to services and only to the binding.ws
binding type. Table 24-2 provides more details on this property.
Table 24-2 one.way.returns.fault Property
If one.way.returns.fault Is... | Then... |
---|---|
Set to . . . <service name="Mediator1_2" ui:wsdlLocation="ReadFile.wsdl"> <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/file /LocalSandbox/Project1/ReadFile%2F#wsdl.interface(Read_ ptt)"/> <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/file /LocalSandbox/Project1/ReadFile%2F#wsdl.endpoint (Mediator1/Read_pt)"> <property name="one.way.returns.fault" type="xs:string" many="false" override="may">true</property> </binding.ws> </service> . . . |
Any fault that occurs during downstream processing returns a SOAP fault to the client and an HTTP response code of 500. (The same behavior as 11g Release 1.) |
Set to . . . <service name="Mediator1_2" ui:wsdlLocation="ReadFile.wsdl"> <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/file/ Local Sandbox/Project1/ReadFile%2F#wsdl.interface(Read_ ptt)"/> <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/file/LocalSan dbox/Project1/ReadFile%2F#wsdl.endpoint(Mediator1/Read_ pt)"> <property name="one.way.returns.fault" type="xs:string" many="false" override="may">false</property> </binding.ws> </service> . . . |
Any fault that occurs during downstream processing returns only an HTTP response code of 500. No SOAP fault is returned to the client. |
Not set (the default case) |
Any fault that occurs during downstream processing returns a SOAP fault to the client and an HTTP response code of 500. (The same behavior as 11g Release 1.) |