> I'm using a webservice to send a fax and I'm getting an error when
> calling one of the
> functions:
> Could not perform web service invocation "SendfaxEx_2" because
> java.lang.IllegalArgumentException: argument type mismatch

[snip]

> I think that the webservice is written in Asp.Net.
>
> This is the test code I'm using:
>
> <!--- Create the webservice object --->
> <cfset faxWebService =
> CreateObject("webservice","https://ws.interfax.net/dfs.asmx?WSDL")>
> <cfset faxID = faxWebService.SendfaxEx_2("aaa", "aaa", "123123", "",
> toBase64(""),
> "", "", "0000-00-00", 0,  "", "", "", "subject", "[EMAIL PROTECTED]",
> "A4", "Portrait", true, false )>

If I remember correctly I don't think .NET webservices understand CF
booleans.  Try using 1 or 0 instead.

Have you tried using the http post method as an alternate?

Stephen
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to