This document lists the changes from version to version. The most recent version is at the top.
Classes Affected | Changes |
---|---|
com.ibm.wsdl.xml.WSDLReaderImpl |
In parseOperation, fixed a logic error that was incorrectly
causing duplicate operation errors.
In parseExtensibilityElements, added a check that the extensibility element is not in the WSDL namespace.
Set base URI on
Fixed NPE when
In method |
com.ibm.wsdl.util.xml.DOMUtils | Corrected error checking to ignore namespace declarations when checking for unexpected extensibility attributes. |
Classes Affected | Changes |
---|---|
com.ibm.wsdl.BindingFaultImpl, com.ibm.wsdl.BindingImpl, com.ibm.wsdl.BindingInputImpl, com.ibm.wsdl.BindingOperationImpl, com.ibm.wsdl.BindingOutputImpl, com.ibm.wsdl.PortImpl, com.ibm.wsdl.ServiceImpl, com.ibm.wsdl.TypesImpl |
Removed support for extensibility attributes, to comply with the
WSDL 1.1 schema at http://schemas.xmlsoap.org/wsdl/ .
|
javax.wsdl.Binding, javax.wsdl.BindingFault, javax.wsdl.BindingInput, javax.wsdl.BindingOperation, javax.wsdl.BindingOutput, javax.wsdl.Port, javax.wsdl.Service, javax.wsdl.Types |
Removed support for extensibility attributes, to comply with the
WSDL 1.1 schema at http://schemas.xmlsoap.org/wsdl/ ,
and have refactored methods for extensibility elements into a new
ElementExtensible interface.
|
com.ibm.wsdl.MessageImpl, com.ibm.wsdl.OperationImpl, javax.wsdl.Message, javax.wsdl.Operation |
Removed support for extensibility attributes and added support
for extensibility elements, to comply with the WSDL 1.1
schema at http://schemas.xmlsoap.org/wsdl/ .
|
javax.wsdl.Definition, javax.wsdl.extensions.ElementExtensible |
Refactored methods for extensibility elements into a new
ElementExtensible interface.
|
com.ibm.wsdl.DefinitionImpl | Removed a noarg constructor with an empty method implementation and corrected a Javadoc parameter. |
com.ibm.wsdl.Constants |
Removed constants for XML schema, to a new SchemaConstants
class.
|
com.ibm.wsdl.extensions.schema.SchemaConstants, com.ibm.wsdl.extensions.schema.SchemaDeserializer, com.ibm.wsdl.extensions.schema.SchemaImpl, com.ibm.wsdl.extensions.schema.SchemaImportImpl, com.ibm.wsdl.extensions.schema.SchemaReferenceImpl, com.ibm.wsdl.extensions.schema.SchemaSerializer, javax.wsdl.extensions.schema.Schema, javax.wsdl.extensions.schema.SchemaImport, javax.wsdl.extensions.schema.SchemaReference |
Created new interfaces and classes for XML schema support. |
javax.wsdl.extensions.ExtensionRegistry |
Modified the createExtension method to ensure the
element type is initialized.
|
com.ibm.wsdl.extensions.PopulatedExtensionRegistry | Added the registration of XML schema type, serializer and deserializer. |
com.ibm.wsdl.xml.WSDLReaderImpl |
Added support for parsing XML schemas and added error checking
to detect unexpected attributes on WSDL elements that do not
support extensibility attributes, as defined by the WSDL 1.1
schema at http://schemas.xmlsoap.org/wsdl/ .
|
com.ibm.wsdl.xml.WSDLWriterImpl |
To comply with the WSDL 1.1 schema at
http://schemas.xmlsoap.org/wsdl/ , some
WSDL elements should not support extensibility attributes.
Have removed the printing of extensibility attributes for
these elements. Also, changed the use of XML Encoding to use
new DOM2Writer utility method for encoding.
|
com.ibm.wsdl.util.xml.DOM2Writer | Added a method to serialize an element (e.g. a schema) as a document by prefixing it with an xml document declaration. |
com.ibm.wsdl.util.xml.DOMUtils |
Added new methods to track unexpected attributes on WSDL
elements that do not support extensibility attributes,
as defined by the WSDL 1.1 schema at
http://schemas.xmlsoap.org/wsdl/ .
|
Classes Affected | Changes |
---|---|
com.ibm.wsdl.Constants |
Added "message" to the list of native attribute names for the
<wsdl:fault> element. Thanks to Dims
(dims@yahoo.com) for pointing this out.
|
com.ibm.wsdl.BindingFaultImpl,com.ibm.wsdl.BindingImpl, com.ibm.wsdl.BindingInputImpl,com.ibm.wsdl.BindingOperationImpl, com.ibm.wsdl.BindingOutputImpl,com.ibm.wsdl.Constants, com.ibm.wsdl.DefinitionImpl,com.ibm.wsdl.FaultImpl, com.ibm.wsdl.ImportImpl,com.ibm.wsdl.InputImpl, com.ibm.wsdl.MessageImpl,com.ibm.wsdl.OperationImpl, com.ibm.wsdl.OutputImpl,com.ibm.wsdl.PartImpl, com.ibm.wsdl.PortImpl,com.ibm.wsdl.PortTypeImpl, com.ibm.wsdl.ServiceImpl,com.ibm.wsdl.TypesImpl, com.ibm.wsdl.xml.WSDLReaderImpl,com.ibm.wsdl.xml.WSDLWriterImpl, javax.wsdl.AttributeExtensible,javax.wsdl.Binding, javax.wsdl.BindingFault,javax.wsdl.BindingInput, javax.wsdl.BindingOperation,javax.wsdl.BindingOutput, javax.wsdl.Fault,javax.wsdl.Import,javax.wsdl.Input, javax.wsdl.Message,javax.wsdl.Operation,javax.wsdl.Output, javax.wsdl.Part,javax.wsdl.Port,javax.wsdl.PortType, javax.wsdl.Service,javax.wsdl.Types, javax.wsdl.extensions.AttributeExtensible, javax.wsdl.extensions.ExtensionRegistry |
Added support for extensibility attributes to all WSDL elements.
It was previously just supported for <part>
elements.
|
com.ibm.wsdl.xml.WSDLReaderImpl |
Fixed a bug in the way operations were created. Previously, if a
<binding> was encountered before the
<portType> it referenced, there would be 2
operations added to the portType for each actual
<operation> . Thanks to Owen Burroughs for this fix.
|
build.xml | Added an ant target to generate an html file from the CVS logs. |
com.ibm.wsdl.util.xml.DOMUtils | Made the namespace declaration routine slightly more efficient. This namespace declaration issue was raised primarily by Pete Hendry. |
com.ibm.wsdl.xml.WSDLReaderImpl,com.ibm.wsdl.util.xml.DOMUtils, com.ibm.wsdl.extensions.soap.SOAPFaultSerializer, com.ibm.wsdl.extensions.soap.SOAPHeaderSerializer |
Fixed a problem with the way namespace declarations were being
handled. Previously, namespace declarations that appeared somewhere
other than the <definition> element were not always
registered on the definition when being read in. This caused the
writer to complain when trying to serialize the definition back out
that it couldn't find prefixes for the desired namespaces.
|
com.ibm.wsdl.xml.WSDLReaderImpl | Element description in error message was 'input', instead of 'fault'. |
com.ibm.wsdl.DefinitionImpl,com.ibm.wsdl.xml.WSDLReaderImpl, com.ibm.wsdl.xml.WSDLWriterImpl,com.ibm.wsdl.util.xml.DOMUtils, javax.wsdl.Definition,javax.wsdl.WSDLException |
Changed handling of unqualified attribute values so that items
not in any namespace can be referred to. Previously, an exception
would be thrown saying that the namespace could not be resolved.
Now, WSDL files can be created with no targetNamespace, and the
items defined can be referred to from the same document without
qualifying the references (so long as no default namespace is
declared). Also, removed the association between the default namespace and the WSDL namespace URI that was being set in the constructor of DefinitionImpl . Thanks to Pete Hendry
(peter.hendry@capeclear.com) for raising these issues.
|
com.ibm.wsdl.util.xml.DOM2Writer | Added the reserved prefix 'xml' to the set of pre-registered namespace declarations. Thanks to Michael Sunde (msunde@actional.com) for submitting this bug fix. |
javax.wsdl.xml.WSDLLocator | Committed an update to the javadocs from Owen Burroughs. |
com.ibm.wsdl.util.StringUtils | Removed some extraneous methods. |
com.ibm.wsdl.util.StringUtils,com.ibm.wsdl.xml.WSDLReaderImpl, javax.wsdl.xml.WSDLReader |
Now deals with InputStreams instead of
Readers so that the parser can handle multiple
character encodings, and so that BOMs are allowed. This fix
was submitted by Owen Burroughs.
|
com.ibm.wsdl.Constants,com.ibm.wsdl.xml.WSDLWriterImpl |
Made some changes so that the writer will look at the encoding
set on the writer passed into the
writeWSDL(Definition, Writer) method to determine
what encoding to specify in the XML declaration. These changes
were submitted by Owen Burroughs (owenb@uk.ibm.com).
|
Classes Affected | Changes |
---|---|
build.xml |
Modified the build script to add version information to the
MANIFEST.MF files generated in the created jars.Made naming of generated zip files more consistent. |
com.ibm.wsdl.util.StringUtils |
Re-wrote getURL(...) to not open connections when
invoked.
|
com.ibm.wsdl.xml.WSDLWriterImpl |
Changed printDefinition(...) so that
<wsdl:documentation> elements are printed prior to
<wsdl:import> elements. This was done to respect
the order defined in the WSDL schema.Changed all but "utility" methods from private static
to protected .
|