WS Works Locally but not on Web Server



Hello,

I have a project that contains a WebService that works great when connecting
to it on my Localhost. Once we post the files to the test web server, all of
the pages that do not touch the webservice work fine. However, the ones that
do touch it get the following error:

The request failed with HTTP status 404: Not Found

Here is the full error:

[WebException: The request failed with HTTP status 404: Not Found.]

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) +1303
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +218

BrickRed.RealEstateManagement.BackboneWS.RealEstatePointeBackbone.UTCToUserTime(Int32 iTimeZoneID, DateTime dtUTCTime)

BrickRed.RealEstateManagement.web.activity.ActivityDashboard.dgActivityList_ItemDataBound(Object sender, DataGridItemEventArgs e)

Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemDataBound(DataGridItemEventArgs
e) +82
Dart.PowerWEB.LiveControls.LiveDataGrid.a(Int32 A_0, Int32 A_1,
ListItemType A_2, Boolean A_3, Object A_4, DataGridColumn[] A_5,
TableRowCollection A_6, PagedDataSource A_7) +146
Dart.PowerWEB.LiveControls.LiveDataGrid.a(Boolean A_0) +1485
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33

BrickRed.RealEstateManagement.web.activity.ActivityDashboard.Page_Load(Object
sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750

I have read some other info on other websites but have not found a fix to
this. Why is this an issue? How can I fix it? I assume it is something
rather simple that I simply do not know of at this point.

I have the wsdl file below (with stuff in the middle cut out to keep it at
3000 characters)...

I REALLY need a fix ASAP. PLEASE HELP.

TIA,
Kevin

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions 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:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns="http://www.RealEstatePointe.com/WebServices/REPBackbone/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
targetNamespace="http://www.RealEstatePointe.com/WebServices/REPBackbone/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
<wsdl:types>
<s:schema elementFormDefault="qualified"
targetNamespace="http://www.RealEstatePointe.com/WebServices/REPBackbone/";>
<s:import namespace="http://www.w3.org/2001/XMLSchema"; />
<s:element name="GetSQLStatementsToRemember">
<s:complexType />
</s:element>
<s:element name="GetSQLStatementsToRememberResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="GetSQLStatementsToRememberResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UserTimeToUTC">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iTimeZoneID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="dtUserTime"
type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UserTimeToUTCResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="UserTimeToUTCResult" type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UTCToUserTime">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iTimeZoneID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="dtUTCTime"
type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UTCToUserTimeResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="UTCToUserTimeResult" type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetActivitySubjects">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iRealEstateID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iOfficeID"
type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetActivitySubjectsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetActivitySubjectsResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddNewActivitySubject">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iRealEstateID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iOfficeID"
type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="sSubject"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddNewActivitySubjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="AddNewActivitySubjectResult" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DisableActivitySubject">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="iRealEstateID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iOfficeID"
type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="iSubjectID"
type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DisableActivitySubjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="DisableActivitySubjectResult" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="UserTimeToUTCSoapIn">
<wsdl:part name="parameters" element="tns:UserTimeToUTC" />
</wsdl:message>
<wsdl:message name="UserTimeToUTCSoapOut">
<wsdl:part name="parameters" element="tns:UserTimeToUTCResponse" />
</wsdl:message>
<wsdl:message name="UTCToUserTimeSoapIn">
<wsdl:part name="parameters" element="tns:UTCToUserTime" />
</wsdl:message>
<wsdl:message name="UTCToUserTimeSoapOut">
<wsdl:part name="parameters" element="tns:UTCToUserTimeResponse" />
</wsdl:message>
<wsdl:operation name="UserTimeToUTC">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Returns a
DateTime of an adjusted DateTime from the Current Users timezone to the
UTC.</documentation>
<wsdl:input message="tns:UserTimeToUTCSoapIn" />
<wsdl:output message="tns:UserTimeToUTCSoapOut" />
</wsdl:operation>
<wsdl:operation name="UTCToUserTime">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Returns a
DateTime of an adjusted DateTime from UTC to the Current Users
timezone.</documentation>
<wsdl:input message="tns:UTCToUserTimeSoapIn" />
<wsdl:output message="tns:UTCToUserTimeSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetActivitySubjects">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Returns a
DataSet that contains all of the Active Activity Subjects for a given
office.</documentation>
<wsdl:input message="tns:GetActivitySubjectsSoapIn" />
<wsdl:output message="tns:GetActivitySubjectsSoapOut" />
</wsdl:operation>
<wsdl:operation name="AddNewActivitySubject">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Returns a
boolean on the addition of an Activity Subject to an office</documentation>
<wsdl:input message="tns:AddNewActivitySubjectSoapIn" />
<wsdl:output message="tns:AddNewActivitySubjectSoapOut" />
</wsdl:operation>
<wsdl:operation name="DisableActivitySubject">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Returns a
boolean on the inactivation of a given Activity Subject</documentation>
<wsdl:input message="tns:DisableActivitySubjectSoapIn" />
<wsdl:output message="tns:DisableActivitySubjectSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="RealEstatePointeBackboneSoap"
type="tns:RealEstatePointeBackboneSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document" />
<wsdl:operation name="GetSQLStatementsToRemember">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetSQLStatementsToRemember"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SetSQLStatementsToRemember">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/SetSQLStatementsToRemember"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddSQLStatement">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/AddSQLStatement"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastSQLStatement">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetLastSQLStatement with no arguments" style="document" />
<wsdl:input
name="GetLastSQLStatement_x0020_with_x0020_no_x0020_arguments">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="GetLastSQLStatement_x0020_with_x0020_no_x0020_arguments">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastSQLStatement">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetLastSQLStatement with a position specified" style="document" />
<wsdl:input
name="GetLastSQLStatement_x0020_with_x0020_a_x0020_position_x0020_specified">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="GetLastSQLStatement_x0020_with_x0020_a_x0020_position_x0020_specified">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastSQLStatement">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetLastSQLStatement boolean for All" style="document" />
<wsdl:input
name="GetLastSQLStatement_x0020_boolean_x0020_for_x0020_All">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="GetLastSQLStatement_x0020_boolean_x0020_for_x0020_All">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastErrorString">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetLastErrorString"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLastErrorMessage">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetLastErrorMessage"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ClearLastError">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/ClearLastError"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RunMSSQLStatement">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/RunMSSQLStatement"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetActivityResults">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetActivityResults"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllActivityTypes">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/A list of
all possible activity types based on a RealEstateID" style="document" />
<wsdl:input
name="A_x0020_list_x0020_of_x0020_all_x0020_possible_x0020_activity_x0020_types_x0020_based_x0020_on_x0020_a_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="A_x0020_list_x0020_of_x0020_all_x0020_possible_x0020_activity_x0020_types_x0020_based_x0020_on_x0020_a_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllActivityTypes">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/A list of
all possible activity types no matter what RealEstateID" style="document" />
<wsdl:input
name="A_x0020_list_x0020_of_x0020_all_x0020_possible_x0020_activity_x0020_types_x0020_no_x0020_matter_x0020_what_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="A_x0020_list_x0020_of_x0020_all_x0020_possible_x0020_activity_x0020_types_x0020_no_x0020_matter_x0020_what_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllContactTypes">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetAllContactTypes"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllTimeZones">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetAllTimeZones"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTimeZoneOffsetByOfficeID">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetTimeZoneOffsetByOfficeID"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetServerTimeZoneID">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetServerTimeZoneID"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTimeZoneOffsetByID">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetTimeZoneOffsetByID"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTimeZoneIDFromContactID">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetTimeZoneIDFromContactID"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTimeZoneIDFromOfficeID">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetTimeZoneIDFromOfficeID"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTimeZoneOffsetFromServer">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetTimeZoneOffsetFromServer"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAdjustedTime">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetAdjustedTime"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAllLeadSources">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetAllLeadSources"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UserTimeToUTC">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/UserTimeToUTC"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UTCToUserTime">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/UTCToUserTime"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetActivitySubjects">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/GetActivitySubjects"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddNewActivitySubject">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/AddNewActivitySubject"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DisableActivitySubject">
<soap:operation
soapAction="http://www.RealEstatePointe.com/WebServices/REPBackbone/DisableActivitySubject"; style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="RealEstatePointeBackbone">
<documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>This XML Web
Service contains methods to deal with Real Estate Pointe</documentation>
<wsdl:port name="RealEstatePointeBackboneSoap"
binding="tns:RealEstatePointeBackboneSoap">
<soap:address
location="http://www.showingpointe.com/test/webservice/realestatepointebackbone.asmx"; />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
.



Relevant Pages

  • Re: WS Works Locally but not on Web Server
    ... Make sure that the server where the webservice is located can connect to the ... > DateTime of an adjusted DateTime from the Current Users timezone to the ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: How do i write Set based queries and avoid a cursor?
    ... it involves a product or service they are libel for? ... considered an "uninteresting attribute" by management or the lawyers. ... improve the quality of the documentation in just a few minutes: ... Imagine a DB app that calls a webservice to check address against postal ...
    (comp.databases.ms-sqlserver)
  • Re: Consuming BizTalk webservice
    ... Thank you very much, Saravana. ... Class documentation and a few tries later, ... To "call the webservice" from a client application, ... Then exposed it as a web service. ...
    (microsoft.public.biztalk.general)
  • Re: DateTime format of date
    ... Do you /need/ to use DateTime for this? ... No, I don't need to use DateTime, and POSIX slipped in in error, I was ... Glenn's code uses the "strftime" subroutine provided by the POSIX module. ... The documentation for DateTime documents the strftime that it provides. ...
    (comp.lang.perl.misc)
  • Re: DateTime format of date
    ... strftime = STRing Formatting of TIME? ... and why is the documentation for it in DateTime when you don't need ... the DateTime module for it to run? ... succeed you'll acquire better understanding what Perl does. ...
    (comp.lang.perl.misc)