File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/BeSimple/SoapWsdl/Dumper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ protected function addMethods()
189
189
protected function addMessages (array $ messages )
190
190
{
191
191
foreach ($ messages as $ message ) {
192
- if ($ message ->isEmpty ()) {
192
+ if (preg_match ( ' #Header$# ' , $ message -> getName ()) && $ message ->isEmpty ()) {
193
193
continue ;
194
194
}
195
195
@@ -285,7 +285,7 @@ protected function addPortOperation(Method $method)
285
285
$ operation ->setAttribute ('name ' , $ method ->getName ());
286
286
287
287
foreach (array ('input ' => $ method ->getInput (), 'output ' => $ method ->getOutput (), 'fault ' => $ method ->getFault ()) as $ type => $ message ) {
288
- if ($ message ->isEmpty ()) {
288
+ if (' fault ' === $ type && $ message ->isEmpty ()) {
289
289
continue ;
290
290
}
291
291
You can’t perform that action at this time.
0 commit comments