Re: AppleScript SOAP implementation
Re: AppleScript SOAP implementation
- Subject: Re: AppleScript SOAP implementation
- From: Simon Topliss <email@hidden>
- Date: Tue, 8 Feb 2005 10:33:18 +0000
This is exactly the same problem we had. We too are running MS.NET created RPC-SOAP web services on a MS SQL Server database.
The default setting for MS.NET is document-literal. You need to use the SoapRpcMethod attribute (from the System.Web.Services.Protocols namespace) before your webmethod like this: <WebMethod(),SoapRpcMethod()>
your webmethod here.
Simon
On 8 Feb 2005, at 9:46 am, Gunno Ivansson wrote:
Thanks has and Simon, for your answers.
Has, I have been looking at Perl, but compared to AS it looks to complicated
and will take more effort to learn than I am willing to offer.
I checked your Python-link and the tutorial says there are two types of SOAP
web services, document-styled and RPC-styled. The tutorial concentrates om
RPC-style SOAP.
All working AS examples I have seen have all called RPC-styled web services
from xmethods.net and other places.
To me it seems that AS SOAP doesn't support document-styled services. Our
web publishing system (EPI Server) is built with MS.NET on top of a MS SQL
Server database. I know almost nothing about web services, but I am pretty
sure it uses the document style.
I still would like to have it confirmed from someone who knows (Chris?):
does AppleScript work with document styled web services? If not will it do
in future releases?
Thanks
Gunno
what about writing that part in Perl, Python, Ruby or another OS X-friendly
scripting language and calling it from AS via 'do shell script'? e.g.
Here's some nice info on using SOAP in Python:
http://diveintopython.org/soap_web_services/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden