Stephen, Sticking with Cold Fusion there's a cool way demonstrated on http://www.webreference.com/programming/coldfusion/1/5.html of how cold Fusion can be programmed to look at complex data types in any wsdl and basically hardcode CF to be able to consume or pass info to any wsdl as complex data when required.
<Excerpt> Complex types as input parameters In the previous section, we discussed how to handle complex datatypes returned by a web service. Using similar techniques, we can also pass complex datatypes as input parameters to a web service. For example, if the web service you are trying to consume expects an input parameter called serviceSummary that's defined as a complex type (and just happens to look like a ColdFusion structure), you can create a ColdFusion structure containing the key/value pairs that serviceSummary is made up of: <cfset serviceSummary = structNew( )> <cfset serviceSummary.id = "uuid:9BEDDB80-60DE-36F7-3957-9DBC8C235B67"> <cfset serviceSummary.name = "Currency Exchange Rate"> <cfset serviceSummary.publisherID = "xmethods.net"> When invoking our fictitious web service, we would pass the complex type like this: <cfinvoke webservice="http://www.example.com/myBogusService.wsdl" method="setService" returnvariable="sService"> <cfinvokeargument name="serviceSummary" value="#serviceSummary#"/> </cfinvoke> You can just as easily create even more complex data structures to pass. It's usually just a matter of studying the web services WSDL file and using combinations of ColdFusion structures, arrays, and other datatypes to model the complex type expected by the web service. </Excerpt> So, perhaps in your wsdl it could be the way the wsdl expects the data to be passed as complex data in which case you could build a structure as above for username/password and se if it works that way? Enjoy, Colm Colm Brazel MA CB Publications www.cbweb.net <http://www.cbweb.net> Macromedia-Dublin UserGroup Manager http://www.mmug-dublin.com [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Web Site Design & Development, Cold Fusion, general publishing including E-Books. The information contained in this e-mail transmission is confidential and may be privileged. It is intended only for the addressee(s) stated above. If you are not an addressee, any use, dissemination, distribution, publication,or copying of the information contained in this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately notify CB Publications by telephone at 353-1-4941625 or e-mail [EMAIL PROTECTED] and delete the e-mail from your system. -----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 01 December 2003 15:44 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Webservices.... ~sigh~ All sounds like a great plan. Trouble of is that the wind only has to think about blowing in a different direction and things could change, so I don't want to get too involved in multi-platform solutions or learning Java, let alone Java and web services at the same time... :o( Colm, great link, but unfortunately it only works on xmethod registered web services. I have grabbed a copy of SOAPScope to see what its like... $99 will be a bargain if it gives more useful info back than DWMX. Regards Stephen Paul Johnston wrote: >>>Ah if only it were that simple..... Unfortunately, its >>>someone elses >>>.NET web service and to date they haven't excelled in actually >>>generating anything that works the way its documented. >> >>Why not pull the results in using .NET then? Seems a simpler >>(although not >>cleaner) solution to the problem...? Maybe create a >>pass-thru webservice (or something) that allows you to use CF >>and ignore the NULL variable... > > > To add to that, why not use Java to consume the webservice and create a > pass-thru class of some sort. Would be easier to integrate into CF than a > .NET *thing* > > Paul > > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
