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

Unable to call webservice using HTTP GET...

MTB
I created a webservice, but I can't call the webservice using HTTP GET. SOAP
and POST work fine, but not GET. Am I missing something in the configuration?
Nov 12 '05 #1
4 14889
Hi MTB

Try this URL:

http://support.microsoft.com/default...b;en-us;819267

And modify your web.config like this:

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>

or your machine.config like this:

<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documentation"/>
</protocols>

HTH

Nigel

"MTB" wrote:
I created a webservice, but I can't call the webservice using HTTP GET. SOAP
and POST work fine, but not GET. Am I missing something in the configuration?

Nov 12 '05 #2
MTB
Thanks, that worked.

"Nigel Armstrong" wrote:
Hi MTB

Try this URL:

http://support.microsoft.com/default...b;en-us;819267

And modify your web.config like this:

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>

or your machine.config like this:

<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documentation"/>
</protocols>

HTH

Nigel

"MTB" wrote:
I created a webservice, but I can't call the webservice using HTTP GET. SOAP
and POST work fine, but not GET. Am I missing something in the configuration?

Nov 12 '05 #3
Wow, I thought this might fix my problem also...
But when I try to register a new web-service using the add web-service
reference tool it still fails... I am being told it is because I am using a
get instead of a post...

I put the required changes listed above in my web.confgi file... no luck ..
any ideas?

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<system.web>

<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
<!-- DYNAMIC DEBUG COMPILATION
..
..
..
..etc...

"MTB" wrote:
Thanks, that worked.

"Nigel Armstrong" wrote:
Hi MTB

Try this URL:

http://support.microsoft.com/default...b;en-us;819267

And modify your web.config like this:

<configuration>
<system.web>
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
</system.web>
</configuration>

or your machine.config like this:

<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="HttpPostLocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documentation"/>
</protocols>

HTH

Nigel

"MTB" wrote:
I created a webservice, but I can't call the webservice using HTTP GET. SOAP
and POST work fine, but not GET. Am I missing something in the configuration?

Nov 12 '05 #4
Here is the error the add web-reference tool gives..

<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>[ISS.0088.9112] An Exception was thrown in the
server</faultstring>
<faultactor>http://schemas.xmlsoap.org/soap/actor/next/</faultactor>
- <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
- <webM:exception>
<webM:className>java.lang.NullPointerException</webM:className>
<webM:message xml:lang="" />
</webM:exception>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

"
Nov 12 '05 #5

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

Similar topics

2
by: Michael R. | last post by:
Hello, Ich have some Problems with the call of a WebService! Situation: WebService is on the Internetserver The Webapplikcaion ist on the Intanetserver .... when I call the Webservice...
0
by: Aryeh Holzer | last post by:
Hi, I've been trying to use the weather webservice available from the National Weather Service (NWS), at http://www.nws.noaa.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML. wsdl without success. Here's...
0
by: huy le via DotNetMonster.com | last post by:
I have an application form and a webservice. I test my project on LAN --> OK (good!) AND NOW I upload webservice to my domain and i call a method from webservice (ex:...
1
by: Antonello Calabṛ | last post by:
Hi all, I created a webservice that execute a sql query on demand. If I try to execute the query from the WebForm, all is ok. If I try to execute the query from a normal Windows Application,...
0
by: quocvuong2005 | last post by:
Hi all ! I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call...
0
by: quocvuong2005 | last post by:
Hi all ! I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call...
0
by: Chris Fink | last post by:
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE...
3
by: David++ | last post by:
Hi folks, I have built a VS2005 project which includes a C# Web Service, C# Windows Forms app (which uses the Web Service), and a C# PocketPC app (which also uses the web service). When I run...
0
by: =?Utf-8?B?dGVzaHRyYWRlQGdtYWlsLmNvbQ==?= | last post by:
Hi All, I am still new to Webservices in .NET Basically, This is what I am trying to accomplish. My Client has given me the soft copy of the WSDL file and XSD Files and has asked me to create...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.