473,503 Members | 756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

need to enable http post and read for my webservice


Hello,

How can i have my web service to interact through HttpPost and HttpGet?
I dont need soap (mostly just xml over http).

I read this can be achieved through web.config but , where to put the code?

How to read/write using this method.

Many thanks
JJ
Mar 16 '06 #1
4 1325
Something like this

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

--
Regards

John Timney
Microsoft MVP

"jens Jensen" <je**@jensen.dk> wrote in message
news:eO**************@TK2MSFTNGP09.phx.gbl...

Hello,

How can i have my web service to interact through HttpPost and HttpGet?
I dont need soap (mostly just xml over http).

I read this can be achieved through web.config but , where to put the
code?

How to read/write using this method.

Many thanks
JJ

Mar 16 '06 #2
How do i provide the code needed when people call http get and http post?

Mar 16 '06 #3
Those settings allow your web application to accept incoming webservice
method requests based on get and post protocols. Your asmx file exposes the
methods that clients can call.

--
Regards

John Timney
Microsoft MVP

"jens Jensen" <je**@jensen.dk> wrote in message
news:ej**************@TK2MSFTNGP09.phx.gbl...
How do i provide the code needed when people call http get and http post?

Mar 16 '06 #4
That makes sense.
Many thanks
Mar 16 '06 #5

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

Similar topics

1
1393
by: Mensand DotNet | last post by:
Hi, I've written a webservice. The testingpage is real cool but it doesn;t allow me to test it on a different machine. It says something like only on local machine. How can i set it to also...
1
1341
by: Jinashe | last post by:
what do i need to enable accessing of webservices from a clients PC i'm hosting some webservices from my server in VB.NET. i've got some client windows applications done in VB.NET. what have i...
15
4564
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
16
2505
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
0
1203
by: Stu | last post by:
I x-posted this in the enhancements group as well, looking for some help: Need help with a CAS issue with WSE3. Enable an asp.net2 webapp to use WSE3. Create a new webservice in the app via...
7
2817
by: nass | last post by:
hi all, i am running slackware linux and need to use some function that will will enable me to write and read from a shared mem segment.. i am using open() , to open a file, and then use mmap to...
2
5265
by: Stefan Kuhr | last post by:
Hello everyone, I hope this is not an FAQ and that somebody can answer this: As part of our webservice installation we run aspnet_regiis.exe -ir -enable on computers where the web...
7
15510
by: John Dow | last post by:
I am trying to receive/send xml files with predefined schema from/to another server using http post, and a success message back to the sender Would someone give me a start point where I can start...
11
2854
by: casucci | last post by:
I do a return as XMLDataDocument in my webservice but it returns not with the namespaces etc in them. Anyone have and example where I can have the webservice return it as a XML. C# preferred....
0
7087
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
7334
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
7462
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...
1
5014
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...
0
4675
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...
0
3168
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...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
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...

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.