cancel
Showing results for 
Search instead for 
Did you mean: 

Wsdl problem using table in abap RFC

0 Kudos
Hello,
I'm creating a webservice from abap RFC.
In the import there is also a parameter type table.
When i generate the service via wizard i obtain a wsdl like this:
<xsd:complexType name="Row_el">
         <xsd:sequence>
                   …….
         </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Header_el">
         <xsd:sequence>
                   …..
         </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Row_array">
<xsd:sequence>
              <xsd:element name="item" type="n1:Row_el" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="RequestMessage">
<xsd:complexType>
<xsd:sequence>
                                <xsd:element name="HEADER" type="n0:Header_el" />
                                <xsd:element name="ROWS"      type="n0:Row_array" />
                    </xsd:sequence>
           </xsd:complexType>
</xsd:element>
I need to have a wsdl like this
<xsd:complexType name="Row_el">
         <xsd:sequence>
                   …….
         </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Header_el">
         <xsd:sequence>
                   …..
         </xsd:sequence>
</xsd:complexType>
<xsd:element name=" RequestMessage ">
<xsd:complexType>
                   <xsd:sequence>
                           <xsd:element name=" HEADER " type=" Header _el"/>
                           <xsd:element name=" ROWS " type=" Row_el " maxOccurs="50"/>
                   </xsd:sequence>
         </xsd:complexType>
</xsd:element>

Is it possible to have it ?

Thank you

Andrea

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sadly it does not look like it. The <item> tag is generated by SAP and its not possible to change the name. Only the names of the other elements in the external view of the service in the ABAP Workbench.