Easy-WSDL

Do not add useless namespaces to generated WSDL

Details

  • Type: Bug Bug
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 2.3
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide
    1. Deploy the attached SU on the JSR-181 SE, version 1.1.3.
    2. Deploy the second attached SU on the SOAP BC, version 4.0.4.
    3. Display the WSDL of the web service (you need to refresh it twice to see it, but that's another bug). Extra-namespaces have been added.
    <w:definitions xmlns:w="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
    xmlns:ns10="http://petals.ow2.org/wsdlExtensions" xmlns:ns12="tns" xmlns:ns14="ns16" xmlns:ns15="soap" 
    xmlns:ns16="wsdl" xmlns:ns16_="ns9" xmlns:ns17="ns10" xmlns:ns18="ns17" xmlns:ns19="xml" xmlns:ns20="ns8"
     xmlns:ns21="soap12" xmlns:ns21_="ns21" xmlns:ns22="ns7" xmlns:ns23="http" xmlns:ns24="ns18" 
    xmlns:ns25="ns12" xmlns:ns26="ns28" xmlns:ns27="mime" xmlns:ns27_="ns30" xmlns:ns28="ns14" 
    xmlns:ns29="w" xmlns:ns30="ns15" xmlns:ns30_="ns16_" xmlns:ns32="ns19" xmlns:ns33="ns25" xmlns:ns35="ns22" 
    xmlns:ns37="ns20" xmlns:ns38="ns29" xmlns:ns40="ns23" xmlns:ns41="xsd" xmlns:ns42="ns24" xmlns:ns43="ns27" 
    xmlns:ns7="http://www.w3.org/ns/wsdl" xmlns:ns8="http://www.w3.org/ns/wsdl/http" 
    xmlns:ns9="http://www.w3.org/ns/wsdl/soap" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/AreaService/" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AreaService" targetNamespace="http://tempuri.org/AreaService/">
    Show
    1. Deploy the attached SU on the JSR-181 SE, version 1.1.3.
    2. Deploy the second attached SU on the SOAP BC, version 4.0.4.
    3. Display the WSDL of the web service (you need to refresh it twice to see it, but that's another bug). Extra-namespaces have been added.
    <w:definitions xmlns:w="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
    xmlns:ns10="http://petals.ow2.org/wsdlExtensions" xmlns:ns12="tns" xmlns:ns14="ns16" xmlns:ns15="soap" 
    xmlns:ns16="wsdl" xmlns:ns16_="ns9" xmlns:ns17="ns10" xmlns:ns18="ns17" xmlns:ns19="xml" xmlns:ns20="ns8"
     xmlns:ns21="soap12" xmlns:ns21_="ns21" xmlns:ns22="ns7" xmlns:ns23="http" xmlns:ns24="ns18" 
    xmlns:ns25="ns12" xmlns:ns26="ns28" xmlns:ns27="mime" xmlns:ns27_="ns30" xmlns:ns28="ns14" 
    xmlns:ns29="w" xmlns:ns30="ns15" xmlns:ns30_="ns16_" xmlns:ns32="ns19" xmlns:ns33="ns25" xmlns:ns35="ns22" 
    xmlns:ns37="ns20" xmlns:ns38="ns29" xmlns:ns40="ns23" xmlns:ns41="xsd" xmlns:ns42="ns24" xmlns:ns43="ns27" 
    xmlns:ns7="http://www.w3.org/ns/wsdl" xmlns:ns8="http://www.w3.org/ns/wsdl/http" 
    xmlns:ns9="http://www.w3.org/ns/wsdl/soap" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/AreaService/" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AreaService" targetNamespace="http://tempuri.org/AreaService/">
  • Environment:
    Windows 7 x64, JDK 6 x64
  1. sa-Jsr181-area-provide.zip
    (5 kB)
    Vincent Zurczak
    Wed, 9 Feb 2011 - 12:27:12 +0100
  2. sa-SOAP-AreaService-consume.zip
    (1 kB)
    Vincent Zurczak
    Wed, 9 Feb 2011 - 12:27:12 +0100

Issue Links

Activity

Hide
Vincent Zurczak added a comment - Wed, 9 Feb 2011 - 12:27:12 +0100

The two required SA to reproduce the bug.

Show
Vincent Zurczak added a comment - Wed, 9 Feb 2011 - 12:27:12 +0100 The two required SA to reproduce the bug.
Vincent Zurczak made changes - Wed, 9 Feb 2011 - 12:27:12 +0100
Field Original Value New Value
Attachment sa-Jsr181-area-provide.zip [ 10512 ]
Attachment sa-SOAP-AreaService-consume.zip [ 10513 ]
Hide
noddoux added a comment - Wed, 6 Apr 2011 - 16:26:28 +0200

The bug is probably in a submethod of the replaceServiceAddressInWSDL of the class WsdlHelper of the BC SOAP

Show
noddoux added a comment - Wed, 6 Apr 2011 - 16:26:28 +0200 The bug is probably in a submethod of the replaceServiceAddressInWSDL of the class WsdlHelper of the BC SOAP
Victor NOËL made changes - Wed, 28 Sep 2016 - 11:14:01 +0200
Link This issue blocks PETALSBCSOAP-193 [ PETALSBCSOAP-193 ]

People

Dates

  • Created:
    Wed, 9 Feb 2011 - 12:26:33 +0100
    Updated:
    Wed, 28 Sep 2016 - 11:14:01 +0200