Jacob, thanks for the suggestion. I did try it using the following code:
<CFSCRIPT>
xmlUA = XmlNew();
xmlUA = XmlElemNew(xmlUA,"","AdditionalInfo");
xmlUA.XmlText = 
"<JobId>1</JobId><JobseekerId>1</JobseekerId><CompanyId>16</CompanyId>";
stOrderRequest.UserArea = StructNew();
stOrderRequest.UserArea.value = xmlUA;
// stOrderRequest.UserArea = xmlUA; (I've done both here)
</CFSCRIPT>

The error I get is:

Web service operation "RequestOrder" with parameters {... ,[EMAIL PROTECTED], 
...} could not be found.

I'm guessing there is something with .NET not recognizing the CF XmlNode. I 
wonder if using a Java XML object definition would be better? Thanks,

Phil

> Have you tried using the XmlElemNew function?  The docs say this:
> "Creates an XML document object element."  Typically I use this for
> creating an object that I intend to save to an XML file, but it might
> work for a webservice as well.
> 
> > -----Original Message-----
> > From: Phillip Duba [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, April 12, 2006 9:41 AM
> > 
> > I am trying to invoke a partners web service. It is an ASP 
> > .NET web service that requires a number of paramters, one 
> > being an "object". I've gotten the minimum requirements done 
> > using the Structs/Array makeup for a complex SOAP Object. 
> > Where I am having problems is in an optional item which is an 
> > XML Element type. I've tried using XMLParse on the data I 
> > need and getting the first (and only) child node and passing 
> > it in, but to no avail. I've done some other things with the 
> > XML functions or even representint the XML element as a 
> > structure, but again, nothing seems to work. Has anybody run 
> > into this problem before and found a solution? Any help would 
> > be appreciated. Thanks,
> 
> This transmission may contain information that is privileged, 
> confidential and/or exempt from disclosure under applicable law. If 
> you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution, or use of the information contained 
> herein (including any reliance thereon) is STRICTLY PROHIBITED. If you 
> received this transmission in error, please immediately contact the 
> sender and destroy the material in its entirety, whether in electronic 
> or hard copy format. Thank you. A1.
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237581
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to