I have been using some soap calls with applescript but have ran into a problem with one. Here is the applescript for the call:
set cNum to 1233216
tell application "http://artprep2.premieragendas.com:8080/PremierDataWS/PremierDataWS"
set theproperty to call soap {method name:"getBasicDocketInfo", method namespace uri:"urn:PremierDataWS/types", parameters:{long_1:cNum as integer}, SOAPAction:""}
end tell
The result I get with applescript is “7x9” which is the last item of an array sent back. There should be previous values as well. Here is the xml result:
Server: Sun-Java-System/Application-Server
Connection: close
Date: Wed, 27 Jul 2005 18:39:56 GMT
X-Powered-By: Servlet/2.4
Content-Type: text/xml;charset=utf-8
Soapaction: “”
<env:Envelope xmlns:env=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:enc=“http://schemas.xmlsoap.org/soap/encoding/” xmlns:ns0=“urn:PremierDataWS/types”>env:Bodyns0:getBasicDocketInfoResponse100 Command Successfully Received, Order Found1233216501327Kennedy-Kenrick Catholic High SchoolVP-77x9</ns0:getBasicDocketInfoResponse></env:Body></env:Envelope>
Is there a way to get all of the returned array? Or is that a limitation of applescript?