I've tried dumping the service as you suggest but that only tells me the method exists. The problem is with the structures I'm sending as the parameters, I'm probably missing a required element or something, but I can't see what.
I will have a look around for info on ebXML as you suggest and see what that turns up. Really I just need a utility that will analyse the WSDL and tell me the CF structures for the data. I've tried the WSDL2Java utility but what's returned there is nearly as complicated as the WSDL, and it hasn't helped much. Cheers -----Original Message----- From: Andrew Stevens [mailto:[EMAIL PROTECTED] Sent: 25 July 2006 11:23 To: CF-Talk Subject: RE: WSDL Complex Types and Coldfusion I'd try if I wasn't going out :| It looks like you're dealing with ebXML Web Services. www.ebxml.org. I'd Google around to see if anyone else has done it already. Also dump the web service to see the methods, ala; <cfset ws = createobject("webservice"," http://webservices.sabre.com/wsdl_cat/sabreXML1.0.00/usg/SessionCreateRQ.wsd l"> <cfdump var="#ws#"> If you don't see the method you are calling listed in the dump, then you may not be able to call it using cfinvoke. Cheers. -----Original Message----- From: Daniel Dabner [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 July 2006 7:30 PM To: CF-Talk Subject: WSDL Complex Types and Coldfusion Hi, I'm having problems trying to consume a web service in Coldfusion. The WSDL document is quite complicated with several import files so I'm never sure if I'm sending the right structures as the variables in my cfinvoke. I keep getting the "Web service operation ... could not be found" message. Can anyone see what I'm doing wrong? Any help will be much appreciated. (Please excuse my test data, I'm trying to get the structure right before I worry about what values I send!) WSDL: HYPERLINK "http://webservices.sabre.com/wsdl_cat/sabreXML1.0.00/usg/SessionCreateRQ.ws dl"http://webservices.sabre.com/wsdl_cat/sabreXML1.0.00/usg/SessionCreateRQ. wsdl My Code: <cfset stc_Security = StructNew()> <cfset x = StructInsert(stc_Security, "UsernameToken", StructNew())> <cfset x = StructInsert(stc_Security.UsernameToken, "Username", "test")> <cfset x = StructInsert(stc_Security.UsernameToken, "Password", "test")> <cfset x = StructInsert(stc_Security.UsernameToken, "Organization", "test")> <cfset x = StructInsert(stc_Security.UsernameToken, "Domain", "test")> <cfset stc_MessageHeader = StructNew()> <cfset x = StructInsert(stc_MessageHeader, "From", StructNew())> <cfset x = StructInsert(stc_MessageHeader.From, "PartyId", ArrayNew(1))> <cfset stc_MessageHeader.From.PartyId[1] = StructNew()> <cfset x = StructInsert(stc_MessageHeader.From.PartyId[1], "value", "test")> <cfset x = StructInsert(stc_MessageHeader.From.PartyId[1], "type", "test")> <cfset x = StructInsert(stc_MessageHeader, "To", StructNew())> <cfset x = StructInsert(stc_MessageHeader.To, "PartyId", ArrayNew(1))> <cfset stc_MessageHeader.To.PartyId[1] = StructNew()> <cfset x = StructInsert(stc_MessageHeader.To.PartyId[1], "value", "test")> <cfset x = StructInsert(stc_MessageHeader.To.PartyId[1], "type", "test")> <cfset x = StructInsert(stc_MessageHeader, "CPAId", "test")> <cfset x = StructInsert(stc_MessageHeader, "ConversationId", "test")> <cfset x = StructInsert(stc_MessageHeader, "Service", StructNew())> <cfset x = StructInsert(stc_MessageHeader.Service, "type", "test")> <cfset x = StructInsert(stc_MessageHeader.Service, "value", "test")> <cfset x = StructInsert(stc_MessageHeader, "Action", "test")> <cfset x = StructInsert(stc_MessageHeader, "MessageData", StructNew())> <cfset x = StructInsert(stc_MessageHeader.MessageData, "MessageId", "test")> <cfset x = StructInsert(stc_MessageHeader.MessageData, "Timestamp", "test")> <cfset x = StructInsert(stc_MessageHeader, "version", "test")> <cfset stc_Body = StructNew()> <cfset x = StructInsert(stc_Body, "POS", StructNew())> <cfset x = StructInsert(stc_Body.POS, "Source", StructNew())> <cfset x = StructInsert(stc_Body.POS.Source, "PseudoCityCode", "test")> <cfinvoke webservice="HYPERLINK "http://webservices.sabre.com/wsdl_cat/sabreXML1.0.00/usg/SessionCreateRQ.ws dl"http://webservices.sabre.com/wsdl_cat/sabreXML1.0.00/usg/SessionCreateRQ. wsdl" method="SessionCreateRQ" returnvariable="str_Return" timeout="10"> <cfinvokeargument name="header" value="#stc_MessageHeader#"> <cfinvokeargument name="header2" value="#stc_Security#"> <cfinvokeargument name="body" value="#stc_Body#"> </cfinvoke> -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 24/07/2006 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247594 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

