473,698 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 14906
Hi MTB

Try this URL:

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

And modify your web.config like this:

<configuratio n>
<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="HttpPostL ocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documenta tion"/>
</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:

<configuratio n>
<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="HttpPostL ocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documenta tion"/>
</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" ?>
<configuratio n>

<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:

<configuratio n>
<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="HttpPostL ocalhost"/>
<!-- Documentation enables the documentation/test pages -->
<add name="Documenta tion"/>
</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>SO AP-ENV:Server</faultcode>
<faultstring>[ISS.0088.9112] An Exception was thrown in the
server</faultstring>
<faultactor>htt p://schemas.xmlsoap .org/soap/actor/next/</faultactor>
- <detail xmlns:webM="htt p://www.webMethods. com/2001/10/soap/encoding">
- <webM:exception >
<webM:className >java.lang.Null PointerExceptio n</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
473
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 form the Intranetserver .... I get following Error:
0
11243
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 what I've found so far. When I use .NET 1.0/1.1, and try to call the primary webservice method NDFDgen, the call will succeed if the productType is set to "glance", but fail if set to "time- series".
0
277
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: http://www.nhare.com/EstateWS.asmx click DangNhap) ok! But now, i start my application code:
1
19972
by: Antonello Calabrò | 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, all is ok. The WebService run correctly.. but if I try to call the Webservice from a SmartDeviceApplication the program crash and the debug message is:
0
2411
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 this method again , it have problem with error message following: Unable to read data from the transport connection. at System.Net.ConnectStream.BeginRead(Byte buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at...
0
2536
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 this method again , it have problem with error message following: Unable to read data from the transport connection. at System.Net.ConnectStream.BeginRead(Byte buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at...
0
2493
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 enabled webservice receives the following error (noted at the very bottom of this post). My objective here is to create and secure a service application (webservice) using an x509 test cert that requests a client certificate; and to create a...
3
11759
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 the Windows Forms app from the desktop I am able to use the Web service with no problems. On the other hand, when I run the PocketPC app and use the Web Service itthrows the following Exception -
0
1370
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 an executable that will consume the webservice and write the output to a log file. I do not have access to the webservice. However, they told me that I can create a proxy class using the WSDL they provided me. When they actually run the...
0
9023
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7721
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.