cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL generation - issue

Former Member
0 Kudos

Hi,

We are generating WSDL after creating web service in ECC 6.0. We would like to know how can we control the upper/lower case in XML tags when we generate WSDL? Is there any SOAP runtime configuration we have to set? Any kind of help would be appreciated. By default when I check "Mapping of names" check box while creating web service, the system generating WSDL tags as upper & lower case, otherwise the tags are as they are in function module interface.

Thanks,

GS

Accepted Solutions (0)

Answers (1)

Answers (1)

ravi_raman2
Active Contributor
0 Kudos

Gopi,

The upper and lower case is not related to any configuration.....Can you paste your example wsdl here.

Regards

Ravi Raman

Former Member
0 Kudos

Hi Ravi,

Thanks for your reply. Please find one my WSDL below:

<?xml version="1.0" encoding="utf-8" ?>

- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="urn:sap-com:document:sap:rfc:functions" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

- <wsdl:types>

- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">

- <xsd:simpleType name="char1">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="1" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char10">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="10" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char128">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="128" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char20">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="20" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char220">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="220" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char30">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="30" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char32">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="32" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="char50">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="50" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="numeric3">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="3" />

<xsd:pattern value="\d*" />

</xsd:restriction>

</xsd:simpleType>

- <xsd:simpleType name="numeric6">

- <xsd:restriction base="xsd:string">

<xsd:maxLength value="6" />

<xsd:pattern value="\d*" />

</xsd:restriction>

</xsd:simpleType>

</xsd:schema>

- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified" xmlns:n0="urn:sap-com:document:sap:rfc:functions">

<xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />

- <xsd:complexType name="Bapiret2">

- <xsd:sequence>

<xsd:element name="Type" type="n0:char1" />

<xsd:element name="Id" type="n0:char20" />

<xsd:element name="Number" type="n0:numeric3" />

<xsd:element name="Message" type="n0:char220" />

<xsd:element name="LogNo" type="n0:char20" />

<xsd:element name="LogMsgNo" type="n0:numeric6" />

<xsd:element name="MessageV1" type="n0:char50" />

<xsd:element name="MessageV2" type="n0:char50" />

<xsd:element name="MessageV3" type="n0:char50" />

<xsd:element name="MessageV4" type="n0:char50" />

<xsd:element name="Parameter" type="n0:char32" />

<xsd:element name="Row" type="xsd:int" />

<xsd:element name="Field" type="n0:char30" />

<xsd:element name="System" type="n0:char10" />

</xsd:sequence>

</xsd:complexType>

- <xsd:element name="ZSdActivityCodes">

- <xsd:complexType>

- <xsd:sequence>

<xsd:element name="ImExtractMethod" type="n0:char1" />

<xsd:element name="ImFileNameWithPath" type="n0:char128" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

- <xsd:element name="ZSdActivityCodesResponse">

- <xsd:complexType>

- <xsd:sequence>

<xsd:element name="ExReturn" type="tns:Bapiret2" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:schema>

</wsdl:types>

- <wsdl:message name="ZSdActivityCodes">

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

</wsdl:message>

- <wsdl:message name="ZSdActivityCodesResponse">

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

</wsdl:message>

- <wsdl:portType name="Z_ACTIVITY_EXTRACT_ws">

- <wsdl:operation name="ZSdActivityCodes">

<wsdl:input message="tns:ZSdActivityCodes" />

<wsdl:output message="tns:ZSdActivityCodesResponse" />

</wsdl:operation>

</wsdl:portType>

- <wsdl:binding name="Z_ACTIVITY_EXTRACT_wsSoapBinding" type="tns:Z_ACTIVITY_EXTRACT_ws">

<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />

- <wsdl:operation name="ZSdActivityCodes">

<soap:operation soapAction="" />

- <wsdl:input>

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

- <wsdl:service name="Z_ACTIVITY_EXTRACT_wsService">

- <wsdl:port name="Z_ACTIVITY_EXTRACT_wsSoapBinding" binding="tns:Z_ACTIVITY_EXTRACT_wsSoapBinding">

<soap:address location="http://hqsun8.howrey.net:8000/sap/bc/srt/rfc/sap/Z_ACTIVITY_EXTRACT_WS?sap-client=200" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Thanks,

GS