We added one new functionality in the server . We changed the wsdl file and also in the service_v4.php and when updated the web reference the changes got reflected and also the new reference.cs is generated.But when we call that function an exception is thrown as “function does not exist”.
<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:xmds" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:xmds">
<types>
<xsd:schema targetNamespace="urn:xmds">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</types>
<message name="GetVolumeRequest">
<part name="serverKey" type="xsd:string" />
<part name="displayName" type="xsd:string" />
</message>
<message name="GetVolumeResponse">
<part name="volume" type="xsd:int" />
</message>
<portType name="xmdsPortType">
<operation name="GetVolume">
<documentation>Getting the volume of the display</documentation>
<input message="tns:GetVolumeRequest"/>
<output message="tns:GetVolumeResponse"/>
</operation>
</portType>
<binding name="xmdsBinding" type="tns:xmdsPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetVolume">
<soap:operation soapAction="urn:xmds#GetVolume" style="rpc"/>
<input>
<soap:body use="encoded" namespace="urn:xmds" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:xmds" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="xmds">
<port name="xmdsPort" binding="tns:xmdsBinding">
<soap:address location="{{XMDS_LOCATION}}"/>
</port>
</service>