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>