I have written some code to try to do this. However I get an error as follows:
Server did not recognise the value of HTTP header SOAP Action: name-of-method.
What am I doing wrong.
Cheers
Paul
> Is it possible to use a SoapClient derived class to send a message to a Web
> Service (eg a .asmx file)? It it is, does anyone have any code they could
[quoted text clipped - 3 lines]
>
> Paul
EggHead - 25 May 2005 21:51 GMT
Did you download the soaptool kits from M$?
Egghead
>I have written some code to try to do this. However I get an error as
>follows:
[quoted text clipped - 17 lines]
>>
>> Paul
PaulF - 26 May 2005 10:50 GMT
I have not downloaded the SOAP toolkit as I am using WSE 2 SP 3. Thats just
made me wonder whether I have posted this to the wrong forum. Apologies if I
have.
The code I have used is based on the SoapClient / SoapService article found
at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/a99387
a1-ef11-46c7-89b8-8bd8ccabb633.asp
I have created a client derived from SoapClient then set the URI to the asmx
file, created a SoapEnvelope then called the client's method. In the
return base.SendRequestResponse("message", envelope);
call I get the message below.
Cheers
Paul
> Did you download the soaptool kits from M$?
>
[quoted text clipped - 21 lines]
> >>
> >> Paul