Unfortunately, this is a limitation of the RB SOAP implementation. It
really only supports parameters of basic types (String, Integer,
Double, Date, Boolean, etc).
There are two feature requests that are somewhat relative to this
problem:
http://support.realsoftware.com/feedback/viewreport.php?
reportid=bjlqxfiw
http://support.realsoftware.com/feedback/viewreport.php?
reportid=hfrlqkub
I suppose in the interim you could subclass HTTPSocket and override
the SetPostContent method to add your custom types in the appropriate
place. then use that socket with SOAPMethod via the useSocket method.
It is an ugly solution, but it is probably less work than writing
your own SOAP implementaion.
-jason
On Apr 2, 2006, at 9:16 AM, Björn Eiríksson wrote:
Hello
I am having trouble with filling up a collection parameter when
using REALbasic soap.
Soap method parameters are filled like this in REALbasic:
m_SoapMethod.Parameter("productGuid") = productGuid
But I have no idea how to fill in the <serialNumbers> parameter
bellow which is a collection of other items, there seems to be no
handling for this in the REALbasic Soap implementation, and to make
the matter worse then it does not even allow me to create the XML
my self in a string and assign it to the Soap method object.
Unless if I can do something like this: m_SoapMethod.Parameter
("serialNumbers") = theXMLforthecollection
Though I doubt it. *sigh*
<vendor>string</vendor>
<productGuid>string</productGuid>
<customerName>string</customerName>
<serialNumbers> <<<<<<<<<< Trouble starts here
<anyType /> <anyType />
</serialNumbers>
--
______________________________________________________________________
Björn Eiríksson [EMAIL PROTECTED]
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 52 countries world wide.
______________________________________________________________________
For support: [EMAIL PROTECTED]
To post on the maillist: [EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>