wsdl patch from Roy Johnson (dpost)

This commit is contained in:
JT Smith 2004-06-22 15:41:20 +00:00
parent 53e93cbf66
commit 7f33d0aa30
2 changed files with 3 additions and 2 deletions

View file

@ -465,8 +465,7 @@ sub _instantiate_soap {
# a wsdl file was specified
# we don't use fault handling with wsdls becuase they seem to behave
# differently. Not sure if that is by design.
if ($self->get("uri") =~ m/\.wsdl\s*$/i) {
if ( ($self->get("uri") =~ m/\.wsdl\s*$/i) || ($self->get("uri") =~ m/\.\w*\?wsdl\s*$/i) ) {
WebGUI::ErrorHandler::warn('wsdl=' . $self->get('uri'))
if $self->get('debugMode');