473,573 Members | 3,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebServices Error

1 New Member
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:definitio ns xmlns:s1="http://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator-types" xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/" xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.smarttrust. com/mdm/clientprovision ing_1.0/common" xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/" xmlns:tns="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/" targetNamespace ="http://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator" xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/">
<wsdl:types>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace ="http://www.smarttrust. com/mdm/clientprovision ing_1.0/common">
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator-types" />
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator" />
<s:complexTyp e name="imeiType" >
<s:simpleConten t>
<s:extension />
</s:simpleContent >
</s:complexType>
<s:complexTyp e name="vendorMod elType">
<s:sequence>
<s:element name="vendor" type="s:string" />
<s:element name="model" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="softwareV ersion" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="deviceIde ntifierType">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="vendorMod el" type="s0:vendor ModelType" />
<s:element minOccurs="0" maxOccurs="1" name="imei" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="profilePa rameterType">
<s:sequence>
<s:element name="name" type="s:string" />
<s:element name="value" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="templateP arameterType">
<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:complexTyp e name="profileIn foType">
<s:sequence>
<s:element name="profile" type="s:string" />
<s:element name="provision ingType" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbo unded" name="profilePa rameter" type="s0:profil eParameterType" />
<s:element minOccurs="0" maxOccurs="unbo unded" name="templateP arameter" type="s0:templa teParameterType " />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace ="http://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator-types">
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator" />
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/common" />
<s:simpleType name="serviceSt atusType">
<s:restrictio n base="s0:imeiTy pe">
<s:enumeratio n value="NONE" />
<s:enumeratio n value="STARTED" />
<s:enumeratio n value="TIMEOUT" />
<s:enumeratio n value="COMPLETE D" />
<s:enumeratio n value="FAILED" />
<s:enumeratio n value="DISPATCH ED" />
<s:enumeratio n value="APPLICAT ION_STATUS" />
</s:restriction>
</s:simpleType>
<s:complexTyp e name="cpStatusT ype">
<s:sequence>
<s:element name="status" type="s1:servic eStatusType" />
<s:element name="sessionId " type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="statusLis t" type="tns:Array Of_tns2_imeiTyp e" />
<s:element minOccurs="0" maxOccurs="1" name="externalI d" type="s:int" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="cpDiscove ry.ResponseType ">
<s:sequence>
<s:element name="destinati onAddress" type="s:string" />
<s:element name="sessionId " type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="deviceIde ntifier" type="s0:device IdentifierType" />
<s:element minOccurs="0" maxOccurs="unbo unded" name="profileIn fo" type="s0:profil eInfoType" />
<s:element name="status" type="s1:servic eStatusType" />
<s:element minOccurs="0" maxOccurs="1" name="statusLis t" type="tns:Array Of_tns2_imeiTyp e" />
<s:element minOccurs="0" maxOccurs="1" name="externalI d" type="s:int" />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace ="http://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator">
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/initiator-types" />
<s:import namespace="http ://www.smarttrust. com/mdm/clientprovision ing_1.0/common" />
<s:complexTyp e name="ArrayOf_t ns2_imeiType">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbo unded" name="item" type="s0:imeiTy pe" />
</s:sequence>
</s:complexType>
<s:element name="cpStatus" type="s1:cpStat usType" />
<s:element name="cpDiscove ry.Response" type="s1:cpDisc overy.ResponseT ype" />
</s:schema>
</wsdl:types>
<wsdl:message name="cpStatusR equest">
<wsdl:part name="cpStatus" element="tns:cp Status" />
</wsdl:message>
<wsdl:message name="cpDiscove ry.ResponseResp onse" />
<wsdl:message name="cpDiscove ry.ResponseRequ est">
<wsdl:part name="cpDiscove ry.Response" element="tns:cp Discovery.Respo nse" />
</wsdl:message>
<wsdl:message name="cpStatusR esponse" />
<wsdl:portTyp e name="ClientPro visioningInitia tor">
<wsdl:operati on name="cpStatus" parameterOrder= "cpStatus">
<wsdl:input name="cpStatusR equest" message="tns:cp StatusRequest" />
<wsdl:output name="cpStatusR esponse" message="tns:cp StatusResponse" />
</wsdl:operation>
<wsdl:operati on name="cpDiscove ry.Response" parameterOrder= "cpDiscovery.Re sponse">
<wsdl:input name="cpDiscove ry.ResponseRequ est" message="tns:cp Discovery.Respo nseRequest" />
<wsdl:output name="cpDiscove ry.ResponseResp onse" message="tns:cp Discovery.Respo nseResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ClientPro visioningInitia torSoapBinding" type="tns:Clien tProvisioningIn itiator">
<soap:binding transport="http ://schemas.xmlsoap .org/soap/http" style="document " />
<wsdl:operati on name="cpStatus" >
<soap:operati on soapAction="urn :#cpStatus" />
<wsdl:input name="cpStatusR equest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="cpStatusR esponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="cpDiscove ry.Response">
<soap:operati on soapAction="urn :#cpDiscovery.R esponse" />
<wsdl:input name="cpDiscove ry.ResponseRequ est">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="cpDiscove ry.ResponseResp onse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ClientPro visioningInitia tor">
<wsdl:port name="ClientPro visioningInitia tor" binding="tns:Cl ientProvisionin gInitiatorSoapB inding">
<soap:address location="http://10.3.21.5:7600/mdmsoap_testcli ent/services/ClientProvision ingInitiator" />
</wsdl:port>
</wsdl:service>
</wsdl:definition s>
Mar 20 '08 #1
0 1124

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

Similar topics

6
2069
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 article: Microsoft Knowledge Base Article - 819267 INFO: HTTP GET and HTTP POST Are Disabled by Default ...
5
1919
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, PublicKeyToken=31bf3856ad364e35" priority="1" group="0" /> </soapExtensionTypes> </webServices>
0
6189
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 interact with webservice thru c++.I think ther is a bug in MS implementation for c++ to interact with webservice because I am able to connect to the...
2
1747
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# that are currently being used by the website. Is there a quick/ rad tool that can take a c# class and generate a webservice proxy/asmx file? Any...
1
2153
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 it in my smartphone application, it will work the first time and return ther query set, however when i try it again i get the following error : ...
0
1928
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 issues. In Client application web reference to VS 2005 Web Services which run in VS 2005 on some port. Works properly. I have copied same VS 2005...
3
4472
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 but WebMethods (Java I suppose). The first Issue that I have is when instantiating one of webservices I get a "Method myMethod can not be reflected"...
0
1278
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 expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically Is it possible to pass an exception object...
1
2130
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 webservice to the default website, even to the same machine (my default website already has a webservices but written in asp.net 1.1), I got the following...
3
1639
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 did find that some of the disco/wsdl files referenced the wrong webservice website, and I changed them, but no webservices for this application...
0
7783
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7701
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8029
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8204
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7794
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5293
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3734
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1307
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.