Hello,

This was very helpful.
However, I also need to parse the data and include it into my application.

So, I have to put it into an XML object, then parse it.

I'm using Tango 2000, since this is what my client has on their server.

Any help by anyone would be appreciated, since I really don't want to use Cold Fusion for another project!

Rick

My code is:
<@ASSIGN NAME="SoapService" value="http://www.eventinventory.com/webservices/GetEventList"; scope=domain>


<@ASSIGN NAME="SOAPDUMP" value="<?xml version='1.0' encoding='utf-8'?><SOAP-ENV:Envelope xmlns='' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:http='http://schemas.xmlsoap.org/wsdl/http/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:s='http://www.w3.org/2001/XMLSchema' xmlns:s0='http://www.eventinventory.com/webservices/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tm='http://microsoft.com/wsdl/mime/textMatching/' xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><SOAP-ENV:Body>

<GetEventList xmlns='http://www.eventinventory.com/webservices/'>

<APPCLIENT_ID>1000</APPCLIENT_ID>

<EVENT_ID></EVENT_ID>

<STARTDATE></STARTDATE>

<INCDAYS></INCDAYS>

</ GetEventList >

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>" scope=domain>

<@URL LOCATION='@@domain$SoapService' USERAGENT='Tango <@VERSION>

<@PLATFORM><@CRLF>Content-Type: text/xml; charset="UTF-8"<@CRLF>SOAPAction:

"http://www.eventinventory.com/webservices/GetEventList";' POSTARGS="<?xml version='1.0' encoding='utf-8'?><@CRLF><@VAR domain$Soapdump ENCODING='NONE'>">



Rick,
It is as easy as this.

<@ASSIGN request$WebService "http://www.witango.com/AddService.wws";>

<@ASSIGN request$SoapPayload '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tns="http://127.0.0.1/webservice/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >
<SOAP-ENV:Body>
<Add_In_Request>
<Value1>10</Value1>
<Value2>20</Value2>
</Add_In_Request>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>'>



<@URL LOCATION='@@request$WebService' USERAGENT='Witango <@VERSION> <@PLATFORM><@CRLF>Content-Type: text/xml<@CRLF>SOAPAction: "http://www.witango.com/AddService.wws";' POSTARGS='<?xml version="1.0" encoding="ISO-8859-1" ?><@CRLF><@VAR request$SoapPayload ENCODING="NONE">'>


This is will call a tcf that is exposed as a web service on the witango web site.

Calling a SOAP service on any platform from Witango Server 5.5 is just as easy. The SOAPAction is also exposed via @HTTPATTRIBUTE.

All you need to do with the result is put it into a DOM variable and grab the components you need using their element names with XPATH expressions.


Witango Support

On 17/12/2004, at 2:39 AM, Rick Sanders wrote:


Thanks witango man,

From what I know, it is possible, but difficult. Unfortunately, I may have to use Cold Fusion (yet again) for this project. SOAP functionality is easy and there are many code examples & even pre-built clients available for Cold Fusion.

Rick Sanders


as far as I know SOAP functionality is available in
version 5.5 (using @SOAP I think)

I haven't yet used it so I can't comment any
further...



--- Rick Sanders <[EMAIL PROTECTED]> wrote:

Hi List,

I'm wondering if WiTango can do SOAP integration. I
have a pretty extensive project that uses SOAP.

If you can do SOAP, then is it difficult to do.

Thanks,

Rick Sanders
Vice President of I.T.
Webenergy-Icantec
Kitchener - Waterloo:(519) 741-2117
Montreal: (514) 808-0788
www.webenergy-sw.com
www.icantec.ca


______________________________________________________________________ __
TO UNSUBSCRIBE: Go to
http://www.witango.com/developer/maillist.taf


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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

Reply via email to