Skip Menu |

This queue is for tickets about the CORBA-XMLSchemas CPAN distribution.

Report information
The Basics
Id: 33183
Status: resolved
Priority: 0/
Queue: CORBA-XMLSchemas

People
Owner: PERRAD [...] cpan.org
Requestors: ashley.burston [...] thus.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Fixing WSDL binding to ensure fault bindings contain enouhg information
Ok, this is more of the same, this time Axis 1.4 is bleating. I have made changes that seem to make everything happy and llok pretty consistent. I hope these meet with your approval.
Subject: fix_fault_binding.diff
--- CORBA-XMLSchemas/lib/CORBA/XMLSchemas/WsdlSoapBindingVisitor.pm 11 Feb 2008 21:05:14 -0000 1.1.1.2.2.1 +++ CORBA-XMLSchemas/lib/CORBA/XMLSchemas/WsdlSoapBindingVisitor.pm 24 Nov 2007 18:20:44 -0000 1.1.1.2 @@ -207,13 +207,11 @@ my $fault = $self->{dom_doc}->createElement($self->{wsdl} . 'fault'); $operation->appendChild($fault); - $fault->setAttribute('name', $defn->{xsd_name}); - my $soap_fault = $self->{dom_doc}->createElement($self->{soap} . 'fault'); - $soap_fault->setAttribute('namespace', 'http://www.omg.org/IDL-WSDL/1.0/'); - $soap_fault->setAttribute('name', $defn->{xsd_name}); - $soap_fault->setAttribute('use', 'literal'); - $fault->appendChild($soap_fault); + my $soap_body = $self->{dom_doc}->createElement($self->{soap} . 'body'); + $soap_body->setAttribute('namespace', 'http://www.omg.org/IDL-WSDL/1.0/'); + $soap_body->setAttribute('use', 'literal'); + $fault->appendChild($soap_body); } unless (exists $node->{modifier}) { # oneway @@ -222,7 +220,6 @@ $operation->appendChild($fault); my $soap_fault = $self->{dom_doc}->createElement($self->{soap} . 'fault'); - $soap_fault->setAttribute('namespace', 'http://www.omg.org/IDL-WSDL/1.0/'); $soap_fault->setAttribute('name', 'CORBA.SystemException'); $soap_fault->setAttribute('use', 'literal'); $fault->appendChild($soap_fault);
Patch applied. Version 2.62 uploaded.