Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > SoapException invalid SOAPAction

Reply
Thread Tools

SoapException invalid SOAPAction

 
 
Markus Broy
Guest
Posts: n/a
 
      08-15-2003
Hi,

I am trying to call a webmethod on a web server from an onther server. Doing
this I get the following exception (German):

System.Web.Services.Protocols.SoapException: Die Anforderung kann ohne
gültigen action-Parameter nicht behandelt werden. Geben Sie eine gültige
SOAPAction an.
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClient
Message message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)

Translated (not exactly the english message but the meaning): The request
cannot be executed without a valid action parameter.

If I call the same webmethod from another program installed on the web
server everything works fine.

Any ideas?

Thank you in advance.

Markus Broy


 
Reply With Quote
 
 
 
 
sacrelegious
Guest
Posts: n/a
 
      09-01-2003
You're missing the SOAPAction in the http header. The SOAPAction tells
the server which method in the service to call..

try this...
[objName].setRequestHeader "SOAPAction", "[the actual value]"



"Markus Broy" <> wrote in message news:<>...
> Hi,
>
> I am trying to call a webmethod on a web server from an onther server. Doing
> this I get the following exception (German):
>
> System.Web.Services.Protocols.SoapException: Die Anforderung kann ohne
> gültigen action-Parameter nicht behandelt werden. Geben Sie eine gültige
> SOAPAction an.
> at
> System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClient
> Message message, WebResponse response, Stream responseStream, Boolean
> asyncCall)
> at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
> methodName, Object[] parameters)
>
> Translated (not exactly the english message but the meaning): The request
> cannot be executed without a valid action parameter.
>
> If I call the same webmethod from another program installed on the web
> server everything works fine.
>
> Any ideas?
>
> Thank you in advance.
>
> Markus Broy

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server did not recognize the value of HTTP Header SOAPAction =?Utf-8?B?TWlndWVsIElzaWRvcm8=?= ASP .Net 2 05-25-2007 10:41 PM
SOAPAction Header Deprecated - how to Distinguish SOAP from HTTP request? Abstract Java 1 10-19-2005 12:06 AM
pocketSoap - SoapAction not recognized for .NET web service. jason@cyberpine.com ASP .Net Web Services 0 11-17-2003 01:10 AM
Unhandled exception: Server did not recognize the value of HTTP Header SOAPAction Hazzard ASP .Net Web Services 3 09-13-2003 01:51 PM
Server did not recognize the value of HTTP Header SOAPAction Juan Rodriguez ASP .Net Web Services 0 08-28-2003 02:44 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57