By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,203 Members | 1,638 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,203 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.