I made a webservice but i got the following error:
Custom tool error:Unable to import WebService/Schema.Unable to import binding.
Is there any problem in my WSDL.Here is my WSDL file.Plz help me i am new one in making webservices.
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s1="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator-types" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.smarttrust.com/mdm/clientprovisioning_1.0/common" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/common">
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator-types" />
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator" />
<s:complexType name="imeiType">
<s:simpleContent>
<s:extension />
</s:simpleContent>
</s:complexType>
<s:complexType name="vendorModelType">
<s:sequence>
<s:element name="vendor" type="s:string" />
<s:element name="model" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="softwareVersion" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="deviceIdentifierType">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="vendorModel" type="s0:vendorModelType" />
<s:element minOccurs="0" maxOccurs="1" name="imei" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="profileParameterType">
<s:sequence>
<s:element name="name" type="s:string" />
<s:element name="value" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="templateParameterType">
<s:sequence>
<s:element name="name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="profileInfoType">
<s:sequence>
<s:element name="profile" type="s:string" />
<s:element name="provisioningType" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbounded" name="profileParameter" type="s0:profileParameterType" />
<s:element minOccurs="0" maxOccurs="unbounded" name="templateParameter" type="s0:templateParameterType" />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator-types">
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator" />
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/common" />
<s:simpleType name="serviceStatusType">
<s:restriction base="s0:imeiType">
<s:enumeration value="NONE" />
<s:enumeration value="STARTED" />
<s:enumeration value="TIMEOUT" />
<s:enumeration value="COMPLETED" />
<s:enumeration value="FAILED" />
<s:enumeration value="DISPATCHED" />
<s:enumeration value="APPLICATION_STATUS" />
</s:restriction>
</s:simpleType>
<s:complexType name="cpStatusType">
<s:sequence>
<s:element name="status" type="s1:serviceStatusType" />
<s:element name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="statusList" type="tns:ArrayOf_tns2_imeiType" />
<s:element minOccurs="0" maxOccurs="1" name="externalId" type="s:int" />
</s:sequence>
</s:complexType>
<s:complexType name="cpDiscovery.ResponseType">
<s:sequence>
<s:element name="destinationAddress" type="s:string" />
<s:element name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="deviceIdentifier" type="s0:deviceIdentifierType" />
<s:element minOccurs="0" maxOccurs="unbounded" name="profileInfo" type="s0:profileInfoType" />
<s:element name="status" type="s1:serviceStatusType" />
<s:element minOccurs="0" maxOccurs="1" name="statusList" type="tns:ArrayOf_tns2_imeiType" />
<s:element minOccurs="0" maxOccurs="1" name="externalId" type="s:int" />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator">
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/initiator-types" />
<s:import namespace="http://www.smarttrust.com/mdm/clientprovisioning_1.0/common" />
<s:complexType name="ArrayOf_tns2_imeiType">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="item" type="s0:imeiType" />
</s:sequence>
</s:complexType>
<s:element name="cpStatus" type="s1:cpStatusType" />
<s:element name="cpDiscovery.Response" type="s1:cpDiscovery.ResponseType" />
</s:schema>
</wsdl:types>
<wsdl:message name="cpStatusRequest">
<wsdl:part name="cpStatus" element="tns:cpStatus" />
</wsdl:message>
<wsdl:message name="cpDiscovery.ResponseResponse" />
<wsdl:message name="cpDiscovery.ResponseRequest">
<wsdl:part name="cpDiscovery.Response" element="tns:cpDiscovery.Response" />
</wsdl:message>
<wsdl:message name="cpStatusResponse" />
<wsdl:portType name="ClientProvisioningInitiator">
<wsdl:operation name="cpStatus" parameterOrder="cpStatus">
<wsdl:input name="cpStatusRequest" message="tns:cpStatusRequest" />
<wsdl:output name="cpStatusResponse" message="tns:cpStatusResponse" />
</wsdl:operation>
<wsdl:operation name="cpDiscovery.Response" parameterOrder="cpDiscovery.Response">
<wsdl:input name="cpDiscovery.ResponseRequest" message="tns:cpDiscovery.ResponseRequest" />
<wsdl:output name="cpDiscovery.ResponseResponse" message="tns:cpDiscovery.ResponseResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ClientProvisioningInitiatorSoapBinding" type="tns:ClientProvisioningInitiator">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="cpStatus">
<soap:operation soapAction="urn:#cpStatus" />
<wsdl:input name="cpStatusRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="cpStatusResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="cpDiscovery.Response">
<soap:operation soapAction="urn:#cpDiscovery.Response" />
<wsdl:input name="cpDiscovery.ResponseRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="cpDiscovery.ResponseResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ClientProvisioningInitiator">
<wsdl:port name="ClientProvisioningInitiator" binding="tns:ClientProvisioningInitiatorSoapBindin g">
<soap:address location="http://10.3.21.5:7600/mdmsoap_testclient/services/ClientProvisioningInitiator" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>