Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 8th, 2003, 07:58 AM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Querystring output - possibly machine.config prob.

Hello

I have a written a bog-standard web service that runs fine on my local box and on the test server.
However... when i come to view the System.Web.Services.WebService.Context.Request.Raw Url property on the test server, it is set to blank.

So, i navigated to the asmx page on the server, picked the service I wanted (Translate) entered all the values (put in all "1"'s) and the clicked invoked. But the address bar in the web-browser that is created does not have the querystring appended to the address.

Somehow or other, the WebService on the server is not showing the querystring.

I think it must be something to with the machine.config file that allows these settings to be shown - but I can't find any details regarding this problem on the net.

any help greatly appreciated.
thanks
Stu - England. (Bristol City FC)

 
Old August 8th, 2003, 08:43 AM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When looking at the .asmx?op=Translate page, the Test part says "To test the operation using the HTTP POST protocol, click the 'Invoke' button"
Whereas on my local box it says: "To test the operation using the HTTP GET protocol, click the 'Invoke' button", so the server is automaically doing a POST and the local box doing a GET.

This must be the problem - but how does it arise??

thanks
Stu






Similar Threads
Thread Thread Starter Forum Replies Last Post
Config error--machine.config sunithavasudevan ASP.NET 1.0 and 1.1 Professional 2 October 10th, 2006 07:14 AM
Include & Output (possibly) Help MargateFan XSLT 2 June 14th, 2006 05:28 AM
machine.config Mike McClanahan BOOK: ASP.NET Website Programming Problem-Design-Solution 9 September 8th, 2004 07:18 AM
machine.config [email protected] BOOK: ASP.NET Website Programming Problem-Design-Solution 7 August 24th, 2004 07:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.