It depends on the soap service you are trying to hit. If it is a relatively
simple one, you can do it fairly easy. But anything beyond that can get very
hair. SOAP was designed to work with a soap client class, that you can easily
call to with code something like:
$soap_client = new Soap.Client('url to wsdl describing service','some
parameters such as soap version');
$soap_result = $soap_client.runsomeMethod('parameter','parameter2','object or
array');
$result = $soap_result.body;
Something like that. This class "Soap.Client" will do all the work, creating
the soap envelope, parsing the response, its a beautiful thing. With witango,
you have to create the SOAP envelope by hand, build the http request by hand,
parse the response by hand, and it is all very precise. Then there is the issue
of witango text encoding issues, that can make the whole thing impossible.
Another way to handle it is to write a java bean or a simple binary that you
can interface with from witango, and this external function does the soap call.
We used to use RealBasic to do this all the time, it has a very nice soap
client, and then you can compile a binary that can comm with witango using
environment variables and stdout.
HTH
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
15520 Coutelenc Rd
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[email protected] - [email protected]
http://bighead.net/ - http://eventpix.com/
On Jun 21, 2010, at 11:02 AM, <[email protected]> <[email protected]>
wrote:
> I am just getting started with SOAP and Witango. I need to connect Witango
> to a third party SOAP Webservice. Can someone send me a functioning example
> or be able to do some consulting to get me up to speed?
>
> Bill
>
> ______________________________________________________________
> Bill Prigge aka [email protected] phone: 310-570-4950 or 310.434.7513
> Director of Information Services
> Execpro Information Services, LLC
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf