Costas,

Unfortunately the web service corresponding with this WSDL can not be
ported to ColdFusion MX.  CFMX web services implementation has some
limitations (read: CFMX, not Axis) which prevent this particular service
to be ported.

You will run into problems in the ArrayOfaccount and ArrayOfcomputer
types.  CFMX supports Arrays and will return an array from a web
service, but it will always be an array of anything.  There is no way in
CFMX to tell it what type of content is in the array and therefore the
WSDL will never be fully descriptive.

Understanding that you will never get a fully descriptive WSDL it is
possible to create the service and make it work with non-CFMX consumers
by using an array of CFC's.  It would be possible to then manually
create a WSDL which fully describes the service, but that is more work
and complication than most people can handle (virtually all web service
toolkits create WSDLs, so people don't get much practice in creating
them).

I have made two suggestions to MM on how to fix this long term, but they
are very long term (native support for CFC collections and accept/return
XML to CFC functions and include a mechanism to provide a schema).

Short term, I would suggest sticking with either .NET or Java.  If
you're mostly a CF shop or have CF clientele, then I would suggest the
Java route--more portable and better long term for CF people to learn
Java over .NET.

Good luck!

Sam

----------------------------------------
Samuel R. Neff
Senior Software Engineer
B-Line Express
Advanced ColdFusion 5.0 Certified
Team Macromedia Volunteer for ColdFusion
----------------------------------------


Date: Mon, 12 Aug 2002 16:05:58 -0700
From: Costas Piliotis <[EMAIL PROTECTED]>
Subject: CFMX Web Services and Objects
Message-ID: <22A8D10172BFD41195B700D0B765C3F002D5D161@VCSVANNTEX0>

Hi All... 

I have a web service that I currently connect to in ASP.Net that I'm
looking at porting back to cfmx so that I don't need to integrate the
two platforms.

Can anyone please tell me if it's possible to pass objects around in
CFMX when calling web services?

It's a nasty complicated web service written in GLUE btw...  The wsdl
file is located at:

https://console.remoteservices.com/site/services/urn:remoteservices.wsdl

I have to for example pass the ComputerRequest Object to the
RemoteServices.Start Method...

Any thoughts on whether I should leave it in .Net because it's such a
natural fit or if I should port it to CFMX?  Or should I natively write
it in Java for CFMX?

Thanks in advance for your guys help...


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to