473,468 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Unable to import binding .. from namespace ..

Hello,

I am trying to port my .net 1.1 application to 2.0. I am using vs2005. I am
trying to get my webservices to run and although i can compile them and and
get wsdl and service descriptions through internet explorer when hitting the
..asmx url, i cannot generate a proxy class to use in my winforms assembly.

When i try to generate a proxy, i get no error message but nor do i get a
reference.vb so there is no type info. If i then try to update web reference
i get an error dialog: 'The custom tool 'MDiscoCodeGenerator' failed. Unable
to import binding 'AgentReportingSoap' from namespace
'BASD.Solutions.Quadrant.Webservices'.

My WSDL skills are lacking so i dont know how to use this information to
resolve the problem.

Any help would be greatly appreciated. (WSDL is below)

Steven

<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="BASD.Solutions.Quadrant.Webservices"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="BASD.Solutions.Quadrant.Webservic es"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified"
targetNamespace="BASD.Solutions.Quadrant.Webservic es">
<s:import namespace="http://solutions.basd.com/quadrant/" />
<s:import
schemaLocation="http://localhost/quadrant/dev/webservices/agentreporting.asmx?schema=dsSalesCallCycle"
namespace="http://solutions.basd.com/quadrant/" />
- <s:element name="GetNonReviewedSAPRCount">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credential"
type="tns:Contact" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="Contact">
- <s:complexContent mixed="false">
- <s:extension base="tns:NetworkCredential">
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Id" type="s:long" />
<s:element minOccurs="0" maxOccurs="1" name="AKey" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="ContactType"
type="tns:ContactCards" />
<s:element minOccurs="1" maxOccurs="1" name="AccountStatus"
type="tns:SecurityAccountStatus" />
<s:element minOccurs="0" maxOccurs="1" name="Tag" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SiteId" type="s:string" />
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
- <s:complexType name="NetworkCredential">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Domain" type="s:string" />
</s:sequence>
</s:complexType>
- <s:simpleType name="ContactCards">
- <s:list>
- <s:simpleType>
- <s:restriction base="s:string">
<s:enumeration value="None" />
<s:enumeration value="System" />
<s:enumeration value="Payrollee" />
<s:enumeration value="Customer" />
<s:enumeration value="Vendor" />
<s:enumeration value="Competitor" />
<s:enumeration value="General" />
<s:enumeration value="Media" />
<s:enumeration value="All" />
</s:restriction>
</s:simpleType>
</s:list>
</s:simpleType>
- <s:simpleType name="SecurityAccountStatus">
- <s:list>
- <s:simpleType>
- <s:restriction base="s:string">
<s:enumeration value="Open" />
<s:enumeration value="Suspended" />
<s:enumeration value="Closed" />
<s:enumeration value="NotFound" />
<s:enumeration value="NotAuthenticated" />
<s:enumeration value="ProtectedMode" />
<s:enumeration value="LockedOut" />
</s:restriction>
</s:simpleType>
</s:list>
</s:simpleType>
- <s:element name="GetNonReviewedSAPRCountResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="GetNonReviewedSAPRCountResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetNonReviewedSAPRs">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credential"
type="tns:Contact" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetNonReviewedSAPRsResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="GetNonReviewedSAPRsResult">
- <s:complexType>
- <s:sequence>
<s:any namespace="http://solutions.basd.com/quadrant/" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetSalesAgentReportSalesCalls">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credential"
type="tns:Contact" />
- <s:element minOccurs="0" maxOccurs="1" name="reports">
- <s:complexType>
- <s:sequence>
<s:any namespace="http://solutions.basd.com/quadrant/" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetSalesAgentReportSalesCallsResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1"
name="GetSalesAgentReportSalesCallsResult">
- <s:complexType>
- <s:sequence>
<s:any namespace="http://solutions.basd.com/quadrant/" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="DeleteWeeklyReports">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credential"
type="tns:Contact" />
- <s:element minOccurs="0" maxOccurs="1" name="ds">
- <s:complexType>
- <s:sequence>
<s:any namespace="http://solutions.basd.com/quadrant/" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="DeleteWeeklyReportsResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="DeleteWeeklyReportsResult"
type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="DeleteSalesCalls">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="credential"
type="tns:Contact" />
- <s:element minOccurs="0" maxOccurs="1" name="transport">
- <s:complexType>
- <s:sequence>
<s:any namespace="http://solutions.basd.com/quadrant/" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="DeleteSalesCallsResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="DeleteSalesCallsResult"
type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="GetSalesCallCount">
<s:complexType />
</s:element>
- <s:element name="GetSalesCallCountResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetSalesCallCountResult"
type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
+ <wsdl:message name="GetNonReviewedSAPRCountSoapIn">
<wsdl:part name="parameters" element="tns:GetNonReviewedSAPRCount" />
</wsdl:message>
+ <wsdl:message name="GetNonReviewedSAPRCountSoapOut">
<wsdl:part name="parameters" element="tns:GetNonReviewedSAPRCountResponse"
/>
</wsdl:message>
+ <wsdl:message name="GetNonReviewedSAPRsSoapIn">
<wsdl:part name="parameters" element="tns:GetNonReviewedSAPRs" />
</wsdl:message>
+ <wsdl:message name="GetNonReviewedSAPRsSoapOut">
<wsdl:part name="parameters" element="tns:GetNonReviewedSAPRsResponse" />
</wsdl:message>
+ <wsdl:message name="GetSalesAgentReportSalesCallsSoapIn">
<wsdl:part name="parameters" element="tns:GetSalesAgentReportSalesCalls"
/>
</wsdl:message>
+ <wsdl:message name="GetSalesAgentReportSalesCallsSoapOut">
<wsdl:part name="parameters"
element="tns:GetSalesAgentReportSalesCallsResponse " />
</wsdl:message>
+ <wsdl:message name="DeleteWeeklyReportsSoapIn">
<wsdl:part name="parameters" element="tns:DeleteWeeklyReports" />
</wsdl:message>
+ <wsdl:message name="DeleteWeeklyReportsSoapOut">
<wsdl:part name="parameters" element="tns:DeleteWeeklyReportsResponse" />
</wsdl:message>
- <wsdl:message name="DeleteSalesCallsSoapIn">
<wsdl:part name="parameters" element="tns:DeleteSalesCalls" />
</wsdl:message>
- <wsdl:message name="DeleteSalesCallsSoapOut">
<wsdl:part name="parameters" element="tns:DeleteSalesCallsResponse" />
</wsdl:message>
- <wsdl:message name="GetSalesCallCountSoapIn">
<wsdl:part name="parameters" element="tns:GetSalesCallCount" />
</wsdl:message>
+ <wsdl:message name="GetSalesCallCountSoapOut">
<wsdl:part name="parameters" element="tns:GetSalesCallCountResponse" />
</wsdl:message>
- <wsdl:portType name="AgentReportingSoap">
- <wsdl:operation name="GetNonReviewedSAPRCount">
<wsdl:input message="tns:GetNonReviewedSAPRCountSoapIn" />
<wsdl:output message="tns:GetNonReviewedSAPRCountSoapOut" />
</wsdl:operation>
- <wsdl:operation name="GetNonReviewedSAPRs">
<wsdl:input message="tns:GetNonReviewedSAPRsSoapIn" />
<wsdl:output message="tns:GetNonReviewedSAPRsSoapOut" />
</wsdl:operation>
- <wsdl:operation name="GetSalesAgentReportSalesCalls">
<wsdl:input message="tns:GetSalesAgentReportSalesCallsSoapIn" />
<wsdl:output message="tns:GetSalesAgentReportSalesCallsSoapOut" />
</wsdl:operation>
- <wsdl:operation name="DeleteWeeklyReports">
<wsdl:input message="tns:DeleteWeeklyReportsSoapIn" />
<wsdl:output message="tns:DeleteWeeklyReportsSoapOut" />
</wsdl:operation>
- <wsdl:operation name="DeleteSalesCalls">
<wsdl:input message="tns:DeleteSalesCallsSoapIn" />
<wsdl:output message="tns:DeleteSalesCallsSoapOut" />
</wsdl:operation>
- <wsdl:operation name="GetSalesCallCount">
<wsdl:input message="tns:GetSalesCallCountSoapIn" />
<wsdl:output message="tns:GetSalesCallCountSoapOut" />
</wsdl:operation>
</wsdl:portType>
+ <wsdl:binding name="AgentReportingSoap" type="tns:AgentReportingSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetNonReviewedSAPRCount">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetNonReviewedSAPRCount"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetNonReviewedSAPRs">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetNonReviewedSAPRs"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetSalesAgentReportSalesCalls">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetSalesAgentReportSalesCalls"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="DeleteWeeklyReports">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/DeleteWeeklyReports"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="DeleteSalesCalls">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/DeleteSalesCalls"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetSalesCallCount">
<soap:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetSalesCallCount"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
+ <wsdl:binding name="AgentReportingSoap12" type="tns:AgentReportingSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetNonReviewedSAPRCount">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetNonReviewedSAPRCount"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetNonReviewedSAPRs">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetNonReviewedSAPRs"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetSalesAgentReportSalesCalls">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetSalesAgentReportSalesCalls"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="DeleteWeeklyReports">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/DeleteWeeklyReports"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="DeleteSalesCalls">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/DeleteSalesCalls"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="GetSalesCallCount">
<soap12:operation
soapAction="BASD.Solutions.Quadrant.Webservices/GetSalesCallCount"
style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="AgentReporting">
- <wsdl:port name="AgentReportingSoap" binding="tns:AgentReportingSoap">
<soap:address
location="http://localhost/quadrant/dev/webservices/agentreporting.asmx" />
</wsdl:port>
- <wsdl:port name="AgentReportingSoap12" binding="tns:AgentReportingSoap12">
<soap12:address
location="http://localhost/quadrant/dev/webservices/agentreporting.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>


Apr 14 '06 #1
0 2287

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: maxim mat | last post by:
Hi I need to build client for web service. But when I'm using Visual Studio .NET to add Web Reference, I get error: "Custom tool error: Unable to import WebService/Schema. Unable to import...
2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
0
by: kent.anderson | last post by:
I am getting the following error when attempting to generate C# proxy code with the wsdl.exe tool: Error: Unable to import binding 'XtractSoapBinding' from namespace 'http://xtrac...
1
by: kent.anderson | last post by:
I am getting the following error when attempting to generate C# proxy code with the wsdl.exe tool: Error: Unable to import binding '...' from namespace '...'. - Unable to import operation '...'....
0
by: brian.mills | last post by:
I'm having trouble with a web service I've been using since I've change computers. The project was in source safe, and i've pulled it out, but I can now not change beetween static and dynamic on a...
0
by: John Jenkins | last post by:
Hi, any help on this would be greatly apprciated. I have been given a wsdl file from a customer generated by Oracle 10g Web Services tools. When I use wsdl.exe to attempt to produce proxy classes I...
0
by: berkcansiz | last post by:
Hello All, I am trying to use a web service hosted at ajax 1.3. Ehen I try to add this web reference into my project(.NET) I got an error saying; Error 9 Custom tool error: Unable to import...
0
by: Nicolas Caron | last post by:
I can't import this wsdl file in wsdl.exe. Does anybody know why? <?xml version="1.0" encoding="utf-8" ?> - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"...
2
by: richs99 | last post by:
Hi people, I'm a noob so go easy on me ;o) I've been asked to do some work utilizing the following web service: https://www-verification.qantas.com.au/hotels/services/DistributorPort?wsdl ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
1
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.