473,394 Members | 1,746 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,394 software developers and data experts.

Test .asmx file with web browser in remote site

Wehen locally access it, the browser can show me the test form for the
Webmethod.
But when I access it from remote machine, I get: The test form is only
available for requests from the local machine
------------------------
readTextFromFile
Open, read the file, and return it as a string

Test
The test form is only available for requests from the local machine.
SOAP
The following is a sample SOAP request and response. The placeholders shown
need to be replaced with actual values.

POST /MyFileWebService/FileServices.asmx HTTP/1.1
Host: 10.249.119.17
Content-Type: text/xml; charset=utf-8
Content-Length: length
--------------------------------
Is this normal message? or something is wrong in my code?

Thanks

David
Nov 19 '05 #1
1 2623
Message is correct. If you want to test the web service from a remote machine
you need to consume the web service. You will get test form only in the local
machine where the web service is hosted.
--
Vijayakrishna
Software Architect
"david" wrote:
Wehen locally access it, the browser can show me the test form for the
Webmethod.
But when I access it from remote machine, I get: The test form is only
available for requests from the local machine
------------------------
readTextFromFile
Open, read the file, and return it as a string

Test
The test form is only available for requests from the local machine.
SOAP
The following is a sample SOAP request and response. The placeholders shown
need to be replaced with actual values.

POST /MyFileWebService/FileServices.asmx HTTP/1.1
Host: 10.249.119.17
Content-Type: text/xml; charset=utf-8
Content-Length: length
--------------------------------
Is this normal message? or something is wrong in my code?

Thanks

David

Nov 19 '05 #2

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

Similar topics

1
by: nabilo | last post by:
I want to know if it's possible to call, within my cgi page, using javascript, a remote url and get the result without changing my actual page. To say more, I have a page result appaired to the...
1
by: PeterW | last post by:
On my machine I developed a WebService on localhost and if I browse the asmx file I get the usual page that defines the webmethods exposed by the webservice and the opportunity to get the wsdl file...
4
by: kiln | last post by:
I have a simple simple ws that runs fine locally. I'd like to put it up on a public asp.net website as a test. All of the examples seem to stop describing the creation of a bare bones ws with a...
7
by: seberino | last post by:
How make a Python script 1. login 2. type password & 3. download file all from a **remote web site**? I'm not comfortable with *MY* software handling the password part.
2
by: Steve B. | last post by:
Hi, We have build an ASP.Net 2.0 framework for our corporate sites. This framework add some asmx files that are used by all application. The asmx files only contains the directive <%@...
3
by: JDS | last post by:
So, I'd like to create the following scenario: 1) Use cURL library within PHP (cURL + "Cookie Jar", et.al) to create a virtual browser session that "logs in" to a remote site. (For example: ...
0
by: mlfblom | last post by:
Hi, I am running visual studio 2005 on a Vista Ultimate client. I have created a remote site on a Windows 2003 R2 server. This site has about 100 aspx, many App_Code files and several references...
1
by: Rosco | last post by:
Looking at the .asmx file I should see: AddCompanyAccruals Adds one or more Company Accrual Codes to one or more existing Companies in PayEntry Test The test form is only available for...
2
by: Tony WONG | last post by:
there is an asp page at IIS server for creating folder at remote site via virtual folder it is tested at Windows 2003 server. the asp is ok if http://localhost/test.asp however it is not...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.