我正在开发一个基于SOAP的WebService (JAX-WS),日期带有特定的格式"yyyymmdd“。我的WSDL将日期定义为字符串,但是当预期的格式后面没有元素值时,我想返回一个SOAP错误响应。我已经为元素定义了一个XMLAdapter,并在解组方法中尝试了以下方法: if (!checkCorrectFormat(value)){ }
我无法在PHP块中捕获SoapFault异常。我的代码也耗尽了等待服务器响应的max_execution_time ( 120秒)。我看到消息了
try {parameters goes here );// (this is line number 161 as seen in the warning)
} catch (S