• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Attributes on this node error on soap call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attributes on this node error on soap call


  • Subject: Attributes on this node error on soap call
  • From: Johan Jacobson <email@hidden>
  • Date: Sun, 06 Oct 2002 01:41:17 +0200

Hi!

I found this SOAP service that would lookup who owns a phone number in
Sweden. But I keep getting this error "Attributes are not supported on this
node type"

I4m lost :)

//JOJA

This is the URL for the WSDL description

http://www.xmethods.com/ve2/ViewListing.po;jsessionid=AtfkXTU_ZcBxFusBWBasFr
U3(QhxieSRM)?serviceid=81093


And this is my code

set the method_parameters to {area:31 as string, |number|:7033600 as string}
property SOAP_Endpoint_URL :
"http://www.marotz.se/scripts/SearchPerson.exe/soap/ISearchSwedishPerson";
property SOAP_app : "soap"
property method_name : "XMLSearchPhone"
property method_namespace_URI :
"urn:SearchSwedishPersonIntf-ISearchSwedishPerson"
property SOAP_action : ""


copy my SOAP_call(SOAP_Endpoint_URL, method_name, method_namespace_URI,
method_parameters, SOAP_action) to {call_indicator, call_result}
if the call_indicator is false then
beep
display dialog "An error occurred." & return & return & call_result
end if

on SOAP_call(SOAP_Endpoint_URL, method_name, method_namespace_URI,
method_parameters, SOAP_action)
try
using terms from application "http://www.apple.com/placebo";
tell application SOAP_Endpoint_URL
set this_result to call soap ,
{method name:method_name ,
, method namespace uri:method_namespace_URI ,
, parameters:method_parameters ,
, SOAPAction:SOAP_action}
end tell
end using terms from
return {true, this_result}
on error error_message number error_number
if the error_number is -916 then ,
set the error_message to "The script was unable to establish a
connection to the Internet."
return {false, error_message}
end try
end SOAP_call
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: bytes to megabytes (From: Ian King <email@hidden>)

  • Prev by Date: "Store Script" Command
  • Next by Date: Re: 'System Events.app' won't get processes in Classic under 10.2
  • Previous by thread: Re: bytes to megabytes
  • Next by thread: Re: bytes to megabytes
  • Index(es):
    • Date
    • Thread