470,849 Members | 681 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Need to be able to post without soap headers to a web service

Hi,

I have a implemented a web service interface that has a webmethod accepting
xml, but I need to also have post option available to my webservice. I
understand if a client Posts a SOAP reqyest, it will work with my webservice.
The problem is my client cannot send soap method, they will be sending normal
httpstream to me. I want the Web service to redirect all the non-soap
messages to my aspx page that handles normal posts. Can anyone please help me
how can I accomplish that?? or is it even possible. I initially thought may
be I can have an aspx page that redirects the SOAP requests to web service
and handles the other posts normally, but then I want my clients to see the
WSDL on the same root, but I don't know how can I make that possible?? Any
help is appreciated greatly.
Thank you,
Apr 7 '06 #1
1 1454
Short of writing your own web service application, this is probably not
possible.

Here's a suggestion: expose a well documented web service method and name
it something like "DataPostUrl" and have it return a string which is the url
of where they should POST data. You could even then use a GUID to ensure
that they call the web service method first and then call the post method
second. This would let you know in advance that data was coming.

The process flow would look something like this:

client calls DataPostUrl
DataPostUrl returns http://www.myurl.com/posturl.aspx?guid=abc-123-15ma
client calls url given and posts data.

Just a thought.

Robert May
"Heena Patel" <Heena Pa***@discussions.microsoft.com> wrote in message
news:87**********************************@microsof t.com...
Hi,

I have a implemented a web service interface that has a webmethod
accepting
xml, but I need to also have post option available to my webservice. I
understand if a client Posts a SOAP reqyest, it will work with my
webservice.
The problem is my client cannot send soap method, they will be sending
normal
httpstream to me. I want the Web service to redirect all the non-soap
messages to my aspx page that handles normal posts. Can anyone please help
me
how can I accomplish that?? or is it even possible. I initially thought
may
be I can have an aspx page that redirects the SOAP requests to web service
and handles the other posts normally, but then I want my clients to see
the
WSDL on the same root, but I don't know how can I make that possible?? Any
help is appreciated greatly.
Thank you,

Apr 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Leonid | last post: by
1 post views Thread by jens Jensen | last post: by
1 post views Thread by Peter van der veen | last post: by
2 posts views Thread by Enda Manni | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.