I built a simple transaction with one output transaction property as type xml and linked the transaction result to this variable . And I generated WSDL by using the syntax :
http://<server>:50000/XMII/WSDLGen/<TrxPath>
When I execute on browser it is giving the result but seems missing some thing like " output xml node name ie column names in query is not appearing in wsdl result".
wsdl result:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
-<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
-<!--
Types
--> -<types>
-<s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
-<s:complexType name="InputParams">
<s:sequenceid="InputSequence" />
</s:complexType>
-<s:element name="XacuteRequest"> // here I am expecting the output xml node names ie collumn names in my sql query
-<s:complexType>
-<s:sequence>
<s:elementmaxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
<s:elementmaxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
<s:elementmaxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
</s:sequence>
</s:complexType>
</s:element>
-<s:complexType name="Rowset">
-<s:sequence>
<s:elementmaxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
</s:sequence>
<s:attributename="Message" type="s:string" />
</s:complexType>
-<s:complexType name="Row">
-<s:sequence id="RowSequence">
<s:anymaxOccurs="132" minOccurs="1" type="s:string" />
</s:sequence>
</s:complexType>
-<s:element name="XacuteResponse">
-<s:complexType>
-<s:sequence>
<s:elementmaxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
-<!-- Messages
-->
-<message name="XacuteSoapIn">
<partelement="s0:XacuteRequest" name="parameters" />
</message>
-<message name="XacuteSoapOut">
<partelement="s0:XacuteResponse" name="parameters" />
</message>
-<!-- Ports
-->
-<portType name="XacuteWSSoap">
-<operation name="Xacute">
<inputmessage="s0:XacuteSoapIn" />
<outputmessage="s0:XacuteSoapOut" />
</operation>
</portType>
-<!-- Bindings
-->
-<binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
-<operation name="Xacute">
-<input>
<soap:bodyuse="literal" />
</input>
-<output>
<soap:bodyuse="literal" />
</output>
</operation>
</binding>
-<!-- Service mapping
-->
-<service name="XacuteWS">
-<port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
</service>
</definitions>
I am not exepecting any values of columns but atleast columns should be displayed. Am I right or not please suggest on this.
After executing the wsdl on sap client I could not see any data there. So please suggest me where is the problem.
Regards,
Laxman.