Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 173600

Summary: [WSDL4J] org.wsdl4j uses obsolete wsdl schema
Product: [WebTools] WTP Webservices Reporter: Hristo Sabev <hristo.sabev>
Component: wst.wsdlAssignee: Valentin Baciu <valentinbaciu>
Status: CLOSED FIXED QA Contact: Craig Salter <csalter>
Severity: major    
Priority: P3 CC: Alexander.Veit, david_williams
Version: 1.5.3   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
example wsdl using custom extensions none

Description Hristo Sabev CLA 2007-02-09 02:42:06 EST
Hello,

org.wsdl4j uses an old WSDL Schema. The one that it uses is from 2003-02-11 and can be located at URL http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd . However a newer version from WS-I is avaialable. The new version is since 2004-08-24 and is available at URL http://schemas.xmlsoap.org/wsdl/2004-08-24.xsd
There are several minor but still important difference in the two schemas. The new one is somehow a relaxed version specifying new extensibility rules.

Regards,
Hristo
Comment 1 Hristo Sabev CLA 2007-02-09 02:50:48 EST
Hi,

This is similiar to issue 161410. However it's not the same. Issue 161410 treats only the attachemtns, while this one is for the base WSDL schema.

Regards,
Hristo
Comment 2 Valentin Baciu CLA 2007-02-09 03:40:28 EST
Hristo, can you please elaborate on why do you believe this should be a major bug?
Comment 3 Hristo Sabev CLA 2007-02-09 05:48:30 EST
Hi Valentin,

I beleave it's a major problem for every enterprise company. In our case SAP claims compatability with the latest WS-I interoperatbility spec i.e basic profile 1.1 2nd edition. As our own product incorporates WTP, now we are in the situation that our product doesn't reflect the current state of basic profile 1.1.

This has major usability issues as, one is not able to use the WTP WSDL editor to create/edit WSDLs used in enterprise scnearios, which need security, reliable messaging and so on. Basically the reason for this is that the older schema doesn't allow for certain additional properties to be added. As you can see there's near 1-year difference between the two schemas and more than 2 years since the later one has been in use. Thus a lot of the business-to-business applications already use these extensions facilities.

Regards,
Hristo

   
Comment 4 Valentin Baciu CLA 2007-02-09 11:01:22 EST
Thank you for the detailed justification Hristo. I will investigate this once 1.5.3 is complete. As you hinted in your note, this may not be as simple as correcting the schema. There may be implication in the level of support for this type of extensions in the version of JWSDL/WSDL4J used by WTP as well as in the WSDL EMF model and the graphical WSDL editor. The WSDL schema is mainly used by the WSDL validator which is doing a validating SAX parsing before attempting semantic validation, as well as in the source WSDL editor for content assist.
Comment 5 Craig Salter CLA 2007-02-09 14:00:13 EST
Agreed, we should look into this problem in the WTP 2.0 time frame.  Hristo, if you can attach some WSDL test cases that would be very useful.
Comment 6 Valentin Baciu CLA 2007-02-12 13:20:27 EST
Craig, given that it may take some time, should I preemptively start the IP process to get this schema approved by legal?

David, from what I know, in the 2.0 timeframe we will move to use third party jars from Orbit. Is there anything I should be aware of? Do we / I have the same rights to commit code there? Is the process of committing code there similar to WTP?
Comment 7 David Williams CLA 2007-02-12 14:27:40 EST
(In reply to comment #6)
> ...
> 
> David, from what I know, in the 2.0 timeframe we will move to use third party
> jars from Orbit. Is there anything I should be aware of? Do we / I have the
> same rights to commit code there? Is the process of committing code there
> similar to WTP?
> 

Yes, basically same rights and process. (Well, so far, I'm the only WTP committer, so you'd just tell me what you'd like to have done). 
The "right" sort of transfers because any one contributing code there must _firt_ have the right to do so in their own project. 

So ... we'd still do CQ the same as we always have. 

Comment 8 Valentin Baciu CLA 2007-02-15 09:50:25 EST
I filled the CQ and opened https://dev.eclipse.org/ipzilla/show_bug.cgi?id=1349.
Comment 9 Hristo Sabev CLA 2007-02-22 03:47:35 EST
Created attachment 59546 [details]
example wsdl using custom extensions
Comment 10 Hristo Sabev CLA 2007-02-22 03:51:28 EST
Hi,

In the attached example xml look at line 429. The problematic tag is <sap:useFeature feature="tns:design_0"/>

Regards,
Hristo


Comment 11 Valentin Baciu CLA 2007-03-19 12:34:52 EDT
The IPZilla CQ was approved. We'll try to release the fix for this week's I-build.
Comment 12 Valentin Baciu CLA 2007-03-19 13:38:36 EDT
Fix committed and released for I-builds > 200703191335.
Comment 13 Valentin Baciu CLA 2007-05-03 15:19:23 EDT
Verified with I200705030805. Hristo, please confirm and mark as verified if all is OK.
Comment 14 Valentin Baciu CLA 2007-06-27 10:52:20 EDT
Closing.
Comment 15 Valentin Baciu CLA 2007-09-15 23:27:11 EDT
*** Bug 194186 has been marked as a duplicate of this bug. ***