Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314804 - Request/Response Messages Not Cleaned After Removing an Operation in WSDL Editor
Summary: Request/Response Messages Not Cleaned After Removing an Operation in WSDL Editor
Status: CLOSED DUPLICATE of bug 142641
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.wsdl CLA
QA Contact: Valentin Baciu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 01:41 EDT by Toby Yu CLA
Modified: 2010-07-14 15:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Yu CLA 2010-05-28 01:41:16 EDT
Build Identifier: 20100211202452

The request and response message of a new operation not being cleaned up after removing the operation via the WSDL editor. The following elements are expected to be removed but being left in the WSDL file.
 
<wsdl:types>

… …

                <xs:element name="NewOperation">

                        <xs:complexType>

                              <xs:sequence>

 

                                    <xs:element name="in" type="xs:string"></xs:element>

                              </xs:sequence>

                        </xs:complexType>

                  </xs:element>

                  <xs:element name="NewOperationResponse">

                        <xs:complexType>

                              <xs:sequence>

 

                                    <xs:element name="out" type="xs:string"></xs:element>

                              </xs:sequence>

                        </xs:complexType>

                  </xs:element>

            </xs:schema>

      </wsdl:types>

      <wsdl:message name="NewOperationRequest">

            <wsdl:part name="parameters" element="tns:NewOperation"></wsdl:part>

      </wsdl:message>

      <wsdl:message name="NewOperationResponse">

            <wsdl:part name="parameters" element="tns:NewOperationResponse"></wsdl:part>

      </wsdl:message>


Reproducible: Always

Steps to Reproduce:
1.create a new operation in WTP WDSL design view. 
2.regenerate binding so that the operation is added to binding and porttype section.  
3.save the wsdl. make sure the request type and response type are added to the wsdl.
4.In WSDL design view, delete the operation and regenerate binding.
Comment 1 Valentin Baciu CLA 2010-07-14 15:19:50 EDT
Looks a lot like bug 142641. Feel free to re-open if you disagree.

*** This bug has been marked as a duplicate of bug 142641 ***