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

@ -25,6 +25,8 @@
old procedural interface still works as well.
- Added on the wire compression to HTTP transport for WSClient wobject. This
will have no effect on clients/servers that can't support compression.
- A small patch from Roy Johnson to deal with different types of WSDLs in th
WS Client.
6.0.3

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');