none
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On May 21, 2008, at 2:41 PM, Dan Stein wrote:
I guess the WSDL generator is really no help right?
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 215-799-0192 ( Call 1st)
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com
"When you are born, you cry and those who love you rejoice. And
if you
live your life as you should, when you die, you rejoice and those who
love you cry."
From: Rick Sanders <[EMAIL PROTECTED]>
Reply-To: "[email protected]" <[email protected]>
Date: Wed, 21 May 2008 16:39:38 -0300
To: <[email protected]>
Subject: RE: Witango-Talk: Invoking a Web Service
Would it be something like this:
<@ASSIGN request$WebService
"http://webservices.eventinventory.com/ticketsearch?WSDL">
<@ASSIGN request$SOAPAction
"http://webservices.eventinventory.com/ticketsearch?WSDL">
<@ASSIGN request$SoapPayload 'SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<@ASSIGN request$myResult <@DOM value="<@URL LOCATION='@@request
$WebService'
WAITFORRESULT='true' USERAGENT='Witango <@VERSION>
<@PLATFORM><@CRLF>Content-Type:text/xml<@CRLF>SOAPAction: @@request
$SOAPAction'
POSTARGS='1.0<@DQ> encoding=<@DQ>UTF-8<@DQ>?><@CRLF><@VAR request
$SoapPayload>'>">>
Then I parse the @@request$myresult array?
Thanks,
<image.jpg>
Rick Sanders
Webenergy
Canada: 902-431-7279
USA: 919-799-9076
Canada: www.webenergy.ca <www.webenergy.ca>
USA: www.webenergyusa.com <www.webenergyusa.com>
From: Robert Garcia [mailto:[EMAIL PROTECTED]
Sent: May-21-08 2:26 PM
To: [email protected]
Subject: Re: Witango-Talk: Invoking a Web Service
You are using something like a SOAP class, that reads the WSDL and
does all the work for you. You have to do it entirely manually in
witango. You have to build the soap envelope, and use @URL, and
there is a hack to specify text/xml in http header.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On May 21, 2008, at 10:22 AM, Rick Sanders wrote:
Hey guys,
I’ve been programming in Cold fusion way too long now, lol... I need
to invoke a web service from WiTango and then update the database.
In CF the code is something like this:
<cfinvoke webservice="http://webservices.eventinventory.com/ticketsearch?WSDL
" method="ListEvents_Active" returnvariable="XMLResult">
<cfinvokeargument name="APPCLIENT_ID" value="1475"/>
</cfinvoke>
<CFSET myXMLDoc = XMLParse(XMLResult._any[1])>
<CFSET toloop = ArrayLen(myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren)>
<CFLOOP from="1" to="#toloop#" index="Loop">
<cfquery name="Events" datasource="SportsWorld">
INSERT INTO ActiveEvents (EventID,EventName,EventType) VALUES
('<cfoutput>#myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren[Loop].XMLAttributes.EID#</cfoutput>','<cfoutput>#myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren[Loop].XMLAttributes.E_Name#</cfoutput>','<cfoutput>#myXMLDoc.XMLRoot.XMLChildren[2].XMLChildren[Loop].XMLAttributes.E_Type#</cfoutput>')
</cfquery>
</CFLOOP>
How would I invoke a Web Service in WiTango, and parse it to an
array using the above example?
Thanks!
<image002.jpg>
Rick Sanders
Webenergy
Canada: 902-431-7279
USA: 919-799-9076
Canada: www.webenergy.ca
USA: www.webenergyusa.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf