473,322 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

WebServices Error

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>
Mar 20 '08 #1
0 1091

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
5
by: Stephanie Stowe | last post by:
Imagine that I had this <webServices> <soapExtensionTypes> <add type="Microsoft.Web.Services.WebServicesExtension, Microsoft.Web.Services, Version=1.0.0.0, Culture=neutral,...
0
by: Nalla | last post by:
Hi, I have a requirement to call webservices from my old C++ application.So first I tried with Vc++.net as follows.....There are 2 approach Dotnet frame work and soaptoolkit 3.0 I am not able to...
2
by: news.microsoft.com | last post by:
I have been looking around at the documentation and have come across a lot about how to create webservices and consume them. I have a fairly large 3 tier application with a ton of classes in c#...
1
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include...
0
by: suresh.csharp | last post by:
Hi, I have developed Web services based on WSE3.0 X.509 Certificate authentication for client and server. I have tested in VS 2005 both services and client application working fine with out any...
3
by: Frederik Wehlin | last post by:
Hi, I'm currently developing a windows form application, which should be able to communicate with a couple of WebServices. The Webservices are not created by me or my company and also not in .net...
0
by: RobertK | last post by:
I wrote a webservices that should accept an exception object and log info to a db. When I call the function in my webservices class I get an error: The type System.DivideByZeroException was not...
1
by: linda.chen | last post by:
This is the first project I worked in Visual Studio .NET 2005. I created a webservices by asp.net 2.0. The webservice works correctly in my development environment. When I published the...
3
by: Seth Williams | last post by:
I have done some new development on older files, locally - then I copy the files, along with the .vb files for the webservices, to our DEV server. Now, mysteriously, no web services are running - I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.