node-soap icon indicating copy to clipboard operation
node-soap copied to clipboard

wrong scope of prefix-URI mappings

Open joachimkainz opened this issue 14 years ago • 1 comments

I have the prefix ns1 defined twice in one of my wsdl files. Both definitions point to different URIs. Once as part of the wsdl:definitions element and once as part of a type definition in wsdl:types.

When using Apache CXF or Apache Axis the wsdl:types is only used inside this element and its sub-elements and the wsdl:definitions mapping is used everywhere else in the document.

Unfortunately, node-soap seems to have a more global mapping of prefix to URI and the wsdl:types definition overrides the wsdl:definitions even for elements that are not sub-elements of wsdl:types.

I think the Apache tools work correctly and node-soap incorrectly overrides prefix-URI mappings based on position in the file.

joachimkainz avatar Sep 14 '12 03:09 joachimkainz

Closing as this is a really old issue and there was never any acitvity since it was raised. This issue is likely resolved by any further release since then.

herom avatar Nov 10 '14 23:11 herom