Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 473533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:11:46+00:00 2026-05-13T00:11:46+00:00

I need to make a call to a web service written in .NET. The

  • 0

I need to make a call to a web service written in .NET. The application making the call is written in ColdFusion. One of the parameters the web service expects is a DataSet object. I can’t instantiate a .NET DataSet object in ColdFusion, how can I pass the web service something it will accept? I have no problem writing the SOAP request in raw XML, I just don’t know what the XML for a DataSet object would look like.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:11:47+00:00Added an answer on May 13, 2026 at 12:11 am

    All objects that .NET expects are serialized by Axis and are available to you. Unfortunately ColdFusion does not make it easy to get to.

    To get to the stubs you must:

    1. Access the WSDL in any way with coldfusion.
    2. Look in the CF app directory for the stubs. They are in a “subs”
      directory, organized by WSDL.like:
      c:\ColdFusion8\stubs\WS\WS-21028249\com\foo\bar\
    3. Copy everything from “com” on down into a new directory that exists in
      the CF class path. or you can make one like:
      c:\ColdFusion8\MyStubs\com\foo\bar\
    4. If you created a new directory add it to the class path. and restart CF services.
    5. Use them like any other java object with or CreateObject()
      MyObj = CreateObject(“java”,”com.foo.bar.MyObject”);

    Your dataset object should be in there somewhere in whatever java format Axis decided it should be. Most likely you’re going to need to do almost all of this in cfscript


    EDIT FOR QUESTIONS

    THe SOAP object will define the object structure and Axis will create methods for manipulating it. Take a look at the Java object that axis creates. Remember that you can use CFDUMP to look at the methods and properties.

    Now I HAVE seen .NET objects that Axis gets confused by, like the dreaded non-generic collection that turns into a “ArrayOfAnyType”. It’s important for .NET developers to use Generics in their services so that Axis can define the arrays properly….if they don’t then it sucks and you may not be able to work with it in soap.

    but have no fear obi-won…there is another way. You can always interact with .NET web services in a XML/RPC kind of style. It’s not automatic, its a lot of hand parsing of XML, it sucks, but sometimes it’s the only way to do it. You should be able to get some help from .NET by hitting up the .asmx file without the “?wsdl” on the end. If you do that .NET will generate a bunch of documentation and examples of what the calls and the XML look like. In that case, you can just create the XML and pass it over the wire as specified by using cfhttp. Good Luck!

    P.S. I should note also that as far as I know there is no way to mix hand rolled XML with the ColdFusion/Apache Axis objects, there is also no way to model your own object for use with CF/Axis…you must use the stubs or nothing

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to make a change to an ASP.NET web service written a couple
I need to call a web service written in .NET from Java. The web
I need to make some simple web service call from android. I know the
I have an 3rd party SOAP web service. I need to make a call
In my asp.net application I have web service ~/service.asmx and generic handler ~/handler.ashx .
I need to make multiple NSURLConnections to a JSON Web Service. I would like
I need to make a series of calls to a web service to get
In OnResume() , I make web service call in thread here i used progress
I have created simple .NET Web Service (ASMX) that I call from my .NET
I have a method that I call to make web service requests using GET.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.