Doug...

Based on your snippet... the object being passed into the webservice
has to be validated. That's what XML Schema does, apparently. So it's
GOT to be looking for find_business.name.xmlText ="ABC Co." or my name
ain't Fred.

(Covered myself there, eh? hehe)

But, if it's in XML, then it oughta follow the rules. So, passing it
either the string is what I would expect it requires... thus:

<find_business generic=""yes"" maxRows=""10"">
        <name lang=""English"">ABC Co.</name>
        <name lang=""English"">Fred Co.</name>
        <name lang=""English"">Eddie Co.</name>
        <name lang=""English"">Rabbit Co.</name>
        <name lang=""English"">Lichtenstein Co.</name>
</find_business>

I doubled up the quotes because CF will require you to wrap the
document in quotes to assign it to a variable... so you'll have to
have your internal double quotes escaped or CF will error out.

I used this to create an XML document object that xmlParse() would read:
<cfset xmlStuff = "<?xml version=""1.0"" encoding=""UTF-8""?>
<find_business generic=""yes"" maxRows=""10"">
        <name lang=""English"">ABC Co.</name>
        <name lang=""English"">Fred Co.</name>
        <name lang=""English"">Eddie Co.</name>
        <name lang=""English"">Rabbit Co.</name>
        <name lang=""English"">Lichtenstein Co.</name>
</find_business>">

I suspect that if you pass that into your web service it'll work.

Just a thought, give it a try and let me know.

Laterz,
J

PS - the document dump can be viewed here:
http://w2ksrv1.neo.servequake.com/tmp/


On Thu, 10 Feb 2005 15:52:08 -0500, Doug James <[EMAIL PROTECTED]> wrote:
> Jared and Matt,
> 
> Thank you very much for your help.
> 
> Jared, the link to livedocs has been poured over but without success.
> 
> Matt, The xml in question is below. The problem is <find_business> is a 
> complete type and then
> <name> is complex as well. I have successfully passed <find_business> and 
> received output but
> without <name> I cannot actually search for an organization.
> 
> Thanks!
> 
> Doug
> 
> 


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.blogspot.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194145
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