Note that there are some explanatory texts on larger screens.

plurals
  1. POReferenced WebService not showing up when I attempt to debug my code
    text
    copied!<p>I am in the process of attempting to consume a WCF webservice in my application, but after adding the service reference and the appropriate using statement, I am unable to compile my code, and I get the following error 11 times with 11 line numbers:</p> <pre><code>Error 7 The type name 'SignOnService' does not exist in the type 'FTXService.FTXService' C:\Users\bdugan\documents\visual studio 2010\Projects\FTXService\FTXService\Service References\SignOnService\Reference.cs 130 20 FTXService </code></pre> <p>I know the service exists since I have used it in PHP in the past, but I can't seem to figure out why it isn't working. Here is Reference.cs:</p> <pre><code>//------------------------------------------------------------------------------ // &lt;auto-generated&gt; // This code was generated by a tool. // Runtime Version:4.0.30319.237 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // &lt;/auto-generated&gt; //------------------------------------------------------------------------------ namespace FTXService.SignOnService { using System.Runtime.Serialization; using System; [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="SimpleItem", Namespace="http://schemas.datacontract.org/2004/07/")] [System.SerializableAttribute()] public partial class SimpleItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private bool AuthenticatedField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string[] ContractIDsField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string MessageStringField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string[] OwnerIDsField; [System.Runtime.Serialization.OptionalFieldAttribute()] private bool PasswordChangedField; [global::System.ComponentModel.BrowsableAttribute(false)] public System.Runtime.Serialization.ExtensionDataObject ExtensionData { get { return this.extensionDataField; } set { this.extensionDataField = value; } } [System.Runtime.Serialization.DataMemberAttribute()] public bool Authenticated { get { return this.AuthenticatedField; } set { if ((this.AuthenticatedField.Equals(value) != true)) { this.AuthenticatedField = value; this.RaisePropertyChanged("Authenticated"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string[] ContractIDs { get { return this.ContractIDsField; } set { if ((object.ReferenceEquals(this.ContractIDsField, value) != true)) { this.ContractIDsField = value; this.RaisePropertyChanged("ContractIDs"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string MessageString { get { return this.MessageStringField; } set { if ((object.ReferenceEquals(this.MessageStringField, value) != true)) { this.MessageStringField = value; this.RaisePropertyChanged("MessageString"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string[] OwnerIDs { get { return this.OwnerIDsField; } set { if ((object.ReferenceEquals(this.OwnerIDsField, value) != true)) { this.OwnerIDsField = value; this.RaisePropertyChanged("OwnerIDs"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public bool PasswordChanged { get { return this.PasswordChangedField; } set { if ((this.PasswordChangedField.Equals(value) != true)) { this.PasswordChangedField = value; this.RaisePropertyChanged("PasswordChanged"); } } } public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected void RaisePropertyChanged(string propertyName) { System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; if ((propertyChanged != null)) { propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="SignOnService.ISignOn")] public interface ISignOn { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISignOn/Authentication_Complex", ReplyAction="http://tempuri.org/ISignOn/Authentication_ComplexResponse")] FTXService.SignOnService.SimpleItem Authentication_Complex(string UserName, string Password); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISignOn/Authentication_Simple", ReplyAction="http://tempuri.org/ISignOn/Authentication_SimpleResponse")] FTXService.SignOnService.SimpleItem Authentication_Simple(string Parameter1, string Parameter2); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISignOn/Authentication_ChangePassword", ReplyAction="http://tempuri.org/ISignOn/Authentication_ChangePasswordResponse")] FTXService.SignOnService.SimpleItem Authentication_ChangePassword(string Parameter1, string Parameter2, string Parameter3); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISignOn/Authentication_Reset", ReplyAction="http://tempuri.org/ISignOn/Authentication_ResetResponse")] FTXService.SignOnService.SimpleItem Authentication_Reset(string Parameter1); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface ISignOnChannel : FTXService.SignOnService.ISignOn, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class SignOnClient : System.ServiceModel.ClientBase&lt;FTXService.SignOnService.ISignOn&gt;, FTXService.SignOnService.ISignOn { public SignOnClient() { } public SignOnClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public SignOnClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SignOnClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SignOnClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public FTXService.SignOnService.SimpleItem Authentication_Complex(string UserName, string Password) { return base.Channel.Authentication_Complex(UserName, Password); } public FTXService.SignOnService.SimpleItem Authentication_Simple(string Parameter1, string Parameter2) { return base.Channel.Authentication_Simple(Parameter1, Parameter2); } public FTXService.SignOnService.SimpleItem Authentication_ChangePassword(string Parameter1, string Parameter2, string Parameter3) { return base.Channel.Authentication_ChangePassword(Parameter1, Parameter2, Parameter3); } public FTXService.SignOnService.SimpleItem Authentication_Reset(string Parameter1) { return base.Channel.Authentication_Reset(Parameter1); } } } </code></pre> <p>Any ideas?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload