Re: Need to write an HTTP server , can i use a webservice with "NOSOAP"?



To your other questions:

How then can i authenticate with username and password?

For this type of approach without SOAP? If you are using SSL, one option for
username / pw is to just use credentials in the XML - i.e.

<SomeMessage cn="who" pw="whatever">
<!-- blah -->
</SomeMessage>

Would it be better no to use webservice.

Not if it doesn't meet the requirement ;-p
I have happily used this approach for inter-business communications without
any hitches; sometimes it was our design, sometimes theirs, so it isn't just
me...
But yes, web-services do give you many other options, in particular for
security and schema definition. Also handy if you don't have direct
line-of-sight between client and server, but this isn't very common.

... to write a an http server ...

Can you not just use IIS? If you do actually need to write the server, then
you can do a lot with the HttpListener class... but I wouldn't unless I
really had to ;-p (the main time I have used this is for client-side things
similar to how google desktop search works...)





.