Web Service won't run
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Web Service won't run

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Jim
Guest





Posted: Thu Dec 30, 2004 9:24 am    Post subject: Web Service won't run Reply with quote

Hi all

I have created my first web service (yes it's the hello world example) but
it won't run in Visual studio:

No http handler was found for request type 'GET'

I am running : windows 2003 server, visual studio.net 2003, Sharepoint
Portal server 2003

ch Jim
Back to top
Marco
Guest





Posted: Thu Dec 30, 2004 9:24 am    Post subject: RE: Web Service won't run Reply with quote

Here are a few points that you can look at:
- Make sure the webservices is created in another website then the
Sahrepoint one.
- Make sure that your Windows2003 server allows HttPGet.

Marco

"Jim" wrote:

Quote:
Hi all

I have created my first web service (yes it's the hello world example) but
it won't run in Visual studio:

No http handler was found for request type 'GET'

I am running : windows 2003 server, visual studio.net 2003, Sharepoint
Portal server 2003

ch Jim


Back to top
Jim
Guest





Posted: Thu Dec 30, 2004 9:24 am    Post subject: Re: Web Service won't run Reply with quote

thanks Marco

I assume you mean with windows 20003 server allowing HTTP get this:

I checked the machine.config and it reads for webservices.
<add verb="*" path="*.asmx"
type="System.Web.Services.Protocols.WebServiceHandlerFactory,
System.Web.Services, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>



I have the same setting on my windows xp + vs.net 2003 machine and it works
there!



ch Jim


"Marco" <Marco@discussions.microsoft.com> wrote in message
news:3F83AD5C-471D-466F-9702-82D99A57AAE7@microsoft.com...
Quote:
Here are a few points that you can look at:
- Make sure the webservices is created in another website then the
Sahrepoint one.
- Make sure that your Windows2003 server allows HttPGet.

Marco

"Jim" wrote:

Hi all

I have created my first web service (yes it's the hello world example)
but
it won't run in Visual studio:

No http handler was found for request type 'GET'

I am running : windows 2003 server, visual studio.net 2003, Sharepoint
Portal server 2003

ch Jim


Back to top
Marco
Guest





Posted: Fri Dec 31, 2004 2:05 am    Post subject: Re: Web Service won't run Reply with quote

I meant the following line:

<add name="HttpGet"/>

You can try adding the following block to your web.config:
<webServices>
<protocols>
<add name="HttpPost"/>
</protocols>
</webServices>

Before you do this you can try to run the webservice from your browser and
see if that works.

Finally you can also try the webservices news group as, if I understand you
correct, you did not get to the part of running the webservice within the
Sharepoint context.

Hope that this helps you on the way.

Marco

"Jim" wrote:

Quote:
thanks Marco

I assume you mean with windows 20003 server allowing HTTP get this:

I checked the machine.config and it reads for webservices.
add verb="*" path="*.asmx"
type="System.Web.Services.Protocols.WebServiceHandlerFactory,
System.Web.Services, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false"/



I have the same setting on my windows xp + vs.net 2003 machine and it works
there!



ch Jim


"Marco" <Marco@discussions.microsoft.com> wrote in message
news:3F83AD5C-471D-466F-9702-82D99A57AAE7@microsoft.com...
Here are a few points that you can look at:
- Make sure the webservices is created in another website then the
Sahrepoint one.
- Make sure that your Windows2003 server allows HttPGet.

Marco

"Jim" wrote:

Hi all

I have created my first web service (yes it's the hello world example)
but
it won't run in Visual studio:

No http handler was found for request type 'GET'

I am running : windows 2003 server, visual studio.net 2003, Sharepoint
Portal server 2003

ch Jim





Back to top
Jim
Guest





Posted: Fri Dec 31, 2004 6:37 am    Post subject: Re: Web Service won't run Reply with quote

i got it working thanks to all

ch JIm
"Marco" <Marco@discussions.microsoft.com> wrote in message
news:27700E83-5217-4E75-8BEE-E80DFC03362B@microsoft.com...
Quote:
I meant the following line:

add name="HttpGet"/

You can try adding the following block to your web.config:
webServices
protocols
add name="HttpPost"/
/protocols
/webServices

Before you do this you can try to run the webservice from your browser and
see if that works.

Finally you can also try the webservices news group as, if I understand
you
correct, you did not get to the part of running the webservice within the
Sharepoint context.

Hope that this helps you on the way.

Marco

"Jim" wrote:

thanks Marco

I assume you mean with windows 20003 server allowing HTTP get this:

I checked the machine.config and it reads for webservices.
add verb="*" path="*.asmx"
type="System.Web.Services.Protocols.WebServiceHandlerFactory,
System.Web.Services, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false"/



I have the same setting on my windows xp + vs.net 2003 machine and it
works
there!



ch Jim


"Marco" <Marco@discussions.microsoft.com> wrote in message
news:3F83AD5C-471D-466F-9702-82D99A57AAE7@microsoft.com...
Here are a few points that you can look at:
- Make sure the webservices is created in another website then the
Sahrepoint one.
- Make sure that your Windows2003 server allows HttPGet.

Marco

"Jim" wrote:

Hi all

I have created my first web service (yes it's the hello world example)
but
it won't run in Visual studio:

No http handler was found for request type 'GET'

I am running : windows 2003 server, visual studio.net 2003, Sharepoint
Portal server 2003

ch Jim





Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB