473,395 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) +1303
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +218

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

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

Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33

BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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_x002 0_arguments">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="GetLastSQLStatement_x0020_with_x0020_no_x002 0_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_possib le_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_possib le_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_possib le_x0020_activity_x0020_types_x0020_no_x0020_matte r_x0020_what_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="A_x0020_list_x0020_of_x0020_all_x0020_possib le_x0020_activity_x0020_types_x0020_no_x0020_matte r_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>
Nov 23 '05 #1
5 2219
We've had this same problem on several occassions.

Here are several of the resolutions.

Make sure that the server where the webservice is located can connect to the
where the client is located.
This is not as simple as it sounds. We figured out that the webservice could
not return back to the client server because of some problem with out Cisco
switch (they never solved the problem) we had to add an entry into the host
file on the servers for the client servers and the webservice servers

Make sure that when you publish the client you have changed the URL for the
webservice from 'localhost' (when you were running it localing it had a URL
of localhost) to whatever the server URL is (I have been burned on this one
so many times it is embarassing) .

Then there was another issue with the switch but I cannot remember what it
was...sorry.

HTH,

lee

"Grigs" <Gr***@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
+1303
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +218

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

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

Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33

BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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_x002 0_arguments">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="GetLastSQLStatement_x0020_with_x0020_no_x002 0_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_possib le_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_possib le_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_possib le_x0020_activity_x0020_types_x0020_no_x0020_matte r_x0020_what_x0020_RealEstateID">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output
name="A_x0020_list_x0020_of_x0020_all_x0020_possib le_x0020_activity_x0020_types_x0020_no_x0020_matte r_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>

Nov 23 '05 #2
Frank,

The Client/Interface is in a folder on the server and the web service is in
a sub folder of that client folder. I have to assume that means the answer
to this question is YES. They can connect. If there is some way I could
test this, then please let me know.

Can you expand a bit on your Host file solution. What did you do, what file
was changed? How can I do it?

I know what you mean about the reconnection from localhost to live server.
I have done this. Been burned over the years on this as well. Now it's
ingrained in me.

I have written many applications where the web service and client are on an
InHouse server. They have always worked as long as the WebService was its
own virtual directory. however, this application is on a server that is not
Inhouse. Both Interface and WebService are in the same folder, well, the WS
is one step deeper in its own folder. (could this be a problem, should it be
outside of the interface?)

This is killing me here. I love webservices but have a short amount of time
to figure this issue out and if I can't without outside help, I will have to
rewrite the code to not use a WS. :-(

TIA,
Kevin

--
"Lee Franke" wrote:
We've had this same problem on several occassions.

Here are several of the resolutions.

Make sure that the server where the webservice is located can connect to the
where the client is located.
This is not as simple as it sounds. We figured out that the webservice could
not return back to the client server because of some problem with out Cisco
switch (they never solved the problem) we had to add an entry into the host
file on the servers for the client servers and the webservice servers

Make sure that when you publish the client you have changed the URL for the
webservice from 'localhost' (when you were running it localing it had a URL
of localhost) to whatever the server URL is (I have been burned on this one
so many times it is embarassing) .

Then there was another issue with the switch but I cannot remember what it
was...sorry.

HTH,

lee

"Grigs" <Gr***@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
+1303
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +218

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

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

Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33

BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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_x002 0_arguments">
<soap:body use="literal" />

Nov 23 '05 #3
In your client have you set the Web reference to be dynamic and then put the
URL to the Web service in the web.config or app.config file? If the Web
reference is static and set to localhost, it will look for the WS on the
local machine.

Hope this helps.

Eagle

"Grigs" wrote:
Frank,

The Client/Interface is in a folder on the server and the web service is in
a sub folder of that client folder. I have to assume that means the answer
to this question is YES. They can connect. If there is some way I could
test this, then please let me know.

Can you expand a bit on your Host file solution. What did you do, what file
was changed? How can I do it?

I know what you mean about the reconnection from localhost to live server.
I have done this. Been burned over the years on this as well. Now it's
ingrained in me.

I have written many applications where the web service and client are on an
InHouse server. They have always worked as long as the WebService was its
own virtual directory. however, this application is on a server that is not
Inhouse. Both Interface and WebService are in the same folder, well, the WS
is one step deeper in its own folder. (could this be a problem, should it be
outside of the interface?)

This is killing me here. I love webservices but have a short amount of time
to figure this issue out and if I can't without outside help, I will have to
rewrite the code to not use a WS. :-(

TIA,
Kevin

--
"Lee Franke" wrote:
We've had this same problem on several occassions.

Here are several of the resolutions.

Make sure that the server where the webservice is located can connect to the
where the client is located.
This is not as simple as it sounds. We figured out that the webservice could
not return back to the client server because of some problem with out Cisco
switch (they never solved the problem) we had to add an entry into the host
file on the servers for the client servers and the webservice servers

Make sure that when you publish the client you have changed the URL for the
webservice from 'localhost' (when you were running it localing it had a URL
of localhost) to whatever the server URL is (I have been burned on this one
so many times it is embarassing) .

Then there was another issue with the switch but I cannot remember what it
was...sorry.

HTH,

lee

"Grigs" <Gr***@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
+1303
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +218

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

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

Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
System.Web.UI.WebControls.BaseDataList.DataBind() +23
Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33

BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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" />

Nov 23 '05 #4
I figured it out. But I would like to thank Lee and Eagle for their
suggestions.

What wound up being the fix for me was putting the Web Service it is own
Root folder in IIS 6. I know I have had deeper strucutre before, but that
was on IIS 5. Perhaps IIS 6 requires it to be at the top level. To me, this
does make sense. The web Service is in essence its own stand-alone
application and could be connected to by other program. With that said, why
would you want to have it in a sub folder below a particular project.

HTH others who come across this same issue.

Kevin

"Ea******@HighFlyingBirds.com" wrote:
In your client have you set the Web reference to be dynamic and then put the
URL to the Web service in the web.config or app.config file? If the Web
reference is static and set to localhost, it will look for the WS on the
local machine.

Hope this helps.

Eagle

"Grigs" wrote:
Frank,

The Client/Interface is in a folder on the server and the web service is in
a sub folder of that client folder. I have to assume that means the answer
to this question is YES. They can connect. If there is some way I could
test this, then please let me know.

Can you expand a bit on your Host file solution. What did you do, what file
was changed? How can I do it?

I know what you mean about the reconnection from localhost to live server.
I have done this. Been burned over the years on this as well. Now it's
ingrained in me.

I have written many applications where the web service and client are on an
InHouse server. They have always worked as long as the WebService was its
own virtual directory. however, this application is on a server that is not
Inhouse. Both Interface and WebService are in the same folder, well, the WS
is one step deeper in its own folder. (could this be a problem, should it be
outside of the interface?)

This is killing me here. I love webservices but have a short amount of time
to figure this issue out and if I can't without outside help, I will have to
rewrite the code to not use a WS. :-(

TIA,
Kevin

--
"Lee Franke" wrote:
We've had this same problem on several occassions.

Here are several of the resolutions.

Make sure that the server where the webservice is located can connect to the
where the client is located.
This is not as simple as it sounds. We figured out that the webservice could
not return back to the client server because of some problem with out Cisco
switch (they never solved the problem) we had to add an entry into the host
file on the servers for the client servers and the webservice servers

Make sure that when you publish the client you have changed the URL for the
webservice from 'localhost' (when you were running it localing it had a URL
of localhost) to whatever the server URL is (I have been burned on this one
so many times it is embarassing) .

Then there was another issue with the switch but I cannot remember what it
was...sorry.

HTH,

lee

"Grigs" <Gr***@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
> 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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
> +1303
> System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
> methodName, Object[] parameters) +218
>
> BrickRed.RealEstateManagement.BackboneWS.RealEstat ePointeBackbone.UTCToUserTime(Int32
> iTimeZoneID, DateTime dtUTCTime)
>
> BrickRed.RealEstateManagement.web.activity.Activit yDashboard.dgActivityList_ItemDataBound(Object
> sender, DataGridItemEventArgs e)
>
> Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
> System.Web.UI.WebControls.BaseDataList.DataBind() +23
> Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33
>
> BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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">

Nov 23 '05 #5
Concerning subfolders under a project. I have seen cases where you may want
to present a URL to some specific function on a site directly. Say, you have
a site, www.mysite.com, running from webroot and you want to present some
specific content or function, MySpecFcn. You may want to put that in a
subfolder have it reached by the URL, www.mysite.com/MySpecFcn/page.aspx,
where page.aspx is in the subfolder.

I'm sure there can be other discussion on this. I'd love to see it

Enjoy!

EagleRed

"Grigs" wrote:
I figured it out. But I would like to thank Lee and Eagle for their
suggestions.

What wound up being the fix for me was putting the Web Service it is own
Root folder in IIS 6. I know I have had deeper strucutre before, but that
was on IIS 5. Perhaps IIS 6 requires it to be at the top level. To me, this
does make sense. The web Service is in essence its own stand-alone
application and could be connected to by other program. With that said, why
would you want to have it in a sub folder below a particular project.

HTH others who come across this same issue.

Kevin

"Ea******@HighFlyingBirds.com" wrote:
In your client have you set the Web reference to be dynamic and then put the
URL to the Web service in the web.config or app.config file? If the Web
reference is static and set to localhost, it will look for the WS on the
local machine.

Hope this helps.

Eagle

"Grigs" wrote:
Frank,

The Client/Interface is in a folder on the server and the web service is in
a sub folder of that client folder. I have to assume that means the answer
to this question is YES. They can connect. If there is some way I could
test this, then please let me know.

Can you expand a bit on your Host file solution. What did you do, what file
was changed? How can I do it?

I know what you mean about the reconnection from localhost to live server.
I have done this. Been burned over the years on this as well. Now it's
ingrained in me.

I have written many applications where the web service and client are on an
InHouse server. They have always worked as long as the WebService was its
own virtual directory. however, this application is on a server that is not
Inhouse. Both Interface and WebService are in the same folder, well, the WS
is one step deeper in its own folder. (could this be a problem, should it be
outside of the interface?)

This is killing me here. I love webservices but have a short amount of time
to figure this issue out and if I can't without outside help, I will have to
rewrite the code to not use a WS. :-(

TIA,
Kevin

--
"Lee Franke" wrote:

> We've had this same problem on several occassions.
>
> Here are several of the resolutions.
>
> Make sure that the server where the webservice is located can connect to the
> where the client is located.
> This is not as simple as it sounds. We figured out that the webservice could
> not return back to the client server because of some problem with out Cisco
> switch (they never solved the problem) we had to add an entry into the host
> file on the servers for the client servers and the webservice servers
>
> Make sure that when you publish the client you have changed the URL for the
> webservice from 'localhost' (when you were running it localing it had a URL
> of localhost) to whatever the server URL is (I have been burned on this one
> so many times it is embarassing) .
>
> Then there was another issue with the switch but I cannot remember what it
> was...sorry.
>
> HTH,
>
> lee
>
> "Grigs" <Gr***@discussions.microsoft.com> wrote in message
> news:85**********************************@microsof t.com...
> > 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.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
> > message, WebResponse response, Stream responseStream, Boolean asyncCall)
> > +1303
> > System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
> > methodName, Object[] parameters) +218
> >
> > BrickRed.RealEstateManagement.BackboneWS.RealEstat ePointeBackbone.UTCToUserTime(Int32
> > iTimeZoneID, DateTime dtUTCTime)
> >
> > BrickRed.RealEstateManagement.web.activity.Activit yDashboard.dgActivityList_ItemDataBound(Object
> > sender, DataGridItemEventArgs e)
> >
> > Dart.PowerWEB.LiveControls.LiveDataGrid.OnItemData Bound(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.OnDataBindi ng(EventArgs e) +49
> > System.Web.UI.WebControls.BaseDataList.DataBind() +23
> > Dart.PowerWEB.LiveControls.LiveDataGrid.DataBind() +33
> >
> > BrickRed.RealEstateManagement.web.activity.Activit yDashboard.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>

Nov 23 '05 #6

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

Similar topics

3
by: Aardwolf | last post by:
I've had PHP on my Win2K server running IIs 5 for about 2 weeks now. I have an annoying problem in that I can not run the php scripts/pages locally, instead they open up in the browser as a...
2
by: hera | last post by:
I am new at php and MySQL and have some (ugly, I'm sure) code to populate form select fields with data from a MySQL database, so a user can use those to sort/filter and view the 3,000 records. No...
4
by: ConTactMe | last post by:
I got this code off of javascriptsource.com, and it works like a charm locally. I can't get it to work on the server. I need some coffee. I don't _DRINK_ *coffee*! Can anyone check out the...
33
by: n00m | last post by:
import socket, thread host, port = '192.168.0.3', 1434 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s2.connect((host, 1433))...
2
by: Mr Marsh | last post by:
I have a problem with validation on a form that I've created. When I run the form locally the validation works beautifully, I've got comparison, required field and regular expression validation set...
1
by: Andy | last post by:
We have an ASP.NET application exported from MS Access 2003. I uses a series of queries to generate a page showing todays bookings. It works locally but does not work when we put it on a...
0
by: shotsy247 | last post by:
Hi All, I have created a navigation system using Flash and XML. It works when running on a Web server and on some machines when run locally (i.e. open an HTML page directly not through a Web...
9
by: schmeckel | last post by:
I am trying to use some very basic AJAX functionality (update panel for partial page update) on my website. When I run my webpage in VS 2005, the partial page update works fine. However, when I...
13
by: adam | last post by:
Hey All, I'm relatively new to all this and any help would be appreciated. What I'm aiming to do is create a few requests, to 1. Search for a Student against XML created from the database 2. If...
10
by: rbenditt | last post by:
I've put together a simple script that uses the XMLHttpRequest() function. It works when I run it locally, but when I upload it to my web hosting account, I never get a response back. Here is what I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...

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.