Dear Annapuma,
I tried another dummy WSDL with document/literal binding but i am still getting the same error in SAP. Again this WSDL works fine in SOAP UI and XMLSPY. Kindly have a look on this WSDL please. I think this is complete WSDl as well.
<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:servicename" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:servicename">
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:servicename">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
<xsd:complexType name="DoSomethingRequestType">
<xsd:all>
<xsd:element name="Name" type="xsd:string" form="unqualified"/>
<xsd:element name="Age" type="xsd:int" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="DoSomethingResponseType">
<xsd:all>
<xsd:element name="Pass" type="xsd:boolean" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:element name="DoSomething" type="tns:DoSomethingRequestType"/>
<xsd:element name="DoSomethingResponse" type="tns:DoSomethingResponseType"/>
</xsd:schema>
</types>
<message name="DoSomethingRequest">
<part name="parameters" element="tns:DoSomething"/>
</message>
<message name="DoSomethingResponse">
<part name="parameters" element="tns:DoSomethingResponse"/>
</message>
<portType name="servicenamePortType">
<operation name="DoSomething">
<documentation>N/A</documentation>
<input message="tns:DoSomethingRequest"/>
<output message="tns:DoSomethingResponse"/>
</operation>
</portType>
<binding name="servicenameBinding" type="tns:servicenamePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="DoSomething">
<soap:operation soapAction="http://10.101.0.10/abcd/SOAP-SERVER/lib/two.php#DoSomething" style="document"/>
<input>
<soap:body use="literal" namespace="urn:servicename"/>
</input>
<output>
<soap:body use="literal" namespace="urn:servicename"/>
</output>
</operation>
</binding>
<service name="servicename">
<port name="servicenamePort" binding="tns:servicenameBinding">
<soap:address location="http://10.101.0.10/abcd/SOAP-SERVER/lib/two.php"/>
</port>
</service>
</definitions>