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

Bug 174156

Summary: Including NotificationProducer capability always yields a faulty SubcriptionManager.wsdl file
Product: z_Archived Reporter: Michael Moser <mmo>
Component: TPTP.monitoringAssignee: Balan Subramanian <bsubram>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: bsubram
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed460

Description Michael Moser CLA 2007-02-14 08:12:22 EST
eIf one includes the "Management related Capability" NotificationProducer to a managed endpoint's manageability interface and then chooses to generate the Axis J2EE code, the tool generates a second .wsdl file ("<projectname>/WebContent/WEB-INF/services/muse/wsdl/SubcriptionManager.wsdl").

There are 2 issues, 
1. Pardon my ignorance, but I would have expected all capabilities to end up in the <mep-type>.wsdl file, so why is the NotificationProducer capability put into a .wsdl file of its own?

2. That additional SubcriptionManager.wsdl always shows a syntax error on line 250:
            ...
            <xsd:element name="Location" type="xsd:anyURI"/>
            ...

which reads:
s4s-elt-invalid-content.3: Elements of type 'import' cannot appear after declarations as children of a <schema> element.	<projectname>/WebContent/WEB-INF/services/muse/wsdl	SubscriptionManager.wsdl	line 250	1171457222868	10704686

Since there is no "import" anywhere in or near that line I have no clue, why this is flagged as faulty!

Michael

PS.: I can attach a simple example project to demo this, but it has proven perfectly reproducible on my system, so I am confident, you will easily regenerate this, as well.
Comment 1 Bhanu Prathap V CLA 2007-05-03 03:09:36 EDT
after code generation no NotificationProducer.wsdl and SubcriptionManager.wsdl files shows in the <projectname>/WebContent/WEB-INF/services/muse/wsdl

verified - fixed 
Build: TPTP-4.4.0-200705021157
Comment 2 Balan Subramanian CLA 2007-05-04 14:04:41 EDT
no longer happens
Comment 3 Balan Subramanian CLA 2007-05-04 14:05:38 EDT
verified by QA
Comment 4 Paul Slauenwhite CLA 2009-06-30 12:14:29 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.