I've been having a lot of problems getting X509 decryption to work but that's
another story. I've commented out all the code so it's now just a call with
no encryption, no signature and no username token.
On the server I get the following error when request is processed by WSE 2.
Server did not recognize the value of HTTP Header SOAPAction:
http://myServer/mySite/myWebService/myWebMethodName
I think the problem could be down to the WebMethod declaration. It seems a
lot different to the example X509Signing sample.
MINE:
<WebMethod(Description:="Retrieve the details of the registered user
identified by their id_user.")> _
Public Function getDetails(ByVal userID As Long) As Data.DataSet
EXAMPLE:
<WebMethod(), SoapDocumentMethod(ResponseElementName:="StockQuotes")> _
Public Function StockQuoteRequest( _
<XmlArray(IsNullable:=True), XmlArrayItem("Symbol", IsNullable:=False)> _
ByVal symbols() As String) As <XmlElement("StockQuote")> StockQuote()
Am I doing anything wrong? Where can I find a guide on WebMethod declarations?
Thanks.
D.Mitchell - 16 Sep 2004 11:23 GMT
FIXED IT !!!
Putting the ResponseElementName in the WebMethod fixed it. Now back to my
X509 signature verification problem. :<(
<WebMethod(Description:="Retrieve the details of the registered user
identified by their id_user."), SoapDocumentMethod
(ResponseElementName:="registeredUserDetails")> _
Public Function getDetails(ByVal id_user As Long) As Data.DataSet
> I've been having a lot of problems getting X509 decryption to work but that's
> another story. I've commented out all the code so it's now just a call with
[quoted text clipped - 22 lines]
>
> Thanks.