Websphere Application Server Network Deployment v8'den itibaren bu özellik default olarak true geliyor.
Bu nedenle true olarak set edildiğinde
javax.xml.ws.soap.SOAPFaultException: Internal
Error
hata böyleyken .
False olarak set edildiğnde hatayla ilgili daha fazla ayrıntıya giriyor ;
javax.xml.ws.soap.SOAPFaultException: An internal
error occurred during JAX-WS marshalling. An object of type
.....
webservices.unify.faults ;
Use the webservices.unify.faults property to disable SOAP Fault unification for JAX-WS and JAX-RPC. By default, the web service runtime environments (both JAX-WS and JAX-RPC) unify all faults generated by the runtime environment to a single type of fault containing a faultcodeof Server and a faultstring of Internal Error. The faults do not contain any additional information identifying the actual cause of the fault. The unification of faults results in a more secure system, preventing detailed information regarding why inbound message processing failed from being returned to message senders.
The default value for this property is true, which causes faults to be unified. If your applications require fault details, then you can set this property to false to disable fault unification, allowing detailed information to be returned in faults. Note that regardless of the property setting, checked exceptions defined in the WSDL and thrown by a service provider method implementation are not unified. Additionally, detailed information regarding the cause of the fault are logged if trace is enabled, regardless of the setting of this property.
This property and the associated behavior is new in Version 8 of the product.
http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/ae/xrun_jvm.html?lang=en
Hiç yorum yok:
Yorum Gönder