• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
.NET Web Services using Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.NET Web Services using Cocoa


  • Subject: .NET Web Services using Cocoa
  • From: Jerrod Fowkes <email@hidden>
  • Date: Thu, 13 Apr 2006 06:45:29 -0700 (PDT)

Hello,

Fist off I am a proud new member to the Cocoa developement community. However I have a couple of questions. In my recent adventure I have been able to successfully learn objective-c and a small portion of the Cocoa API and make a really neat threading application. I am currently working on being able to connect to a .NET Web Service written in C#. Well, I have been able to do that and figure out how to pass parameters into the service and return results as well. With great use of on-line documentation and forums, I have been able to pull this stuff off fairly quick. However I need to get more into the nitty gritty of things. I would like to know:

a) Is there a function call or utility on Mac OS X to get me the result SOAP-XML request going to my .NET Web Service? Vice versa? I am using the standard
result = (NSDictionary*)WSMethodInvocationInvoke(soapCall); to make my calls.
I know there is tcpdump...but is there something that is a little more usable?

b) I am attemting to parse a .NET DataSet. Are there any good articles on how to do this or is there a set of objects that I can use in cocoa to be able to pull this off. If not, what is my best alternative?

My initial post was in the Cocoa Development forum and I received this message from Ed, which is why I am here..
Glancing at the Web Services Core docs (as I imagine you did), I  
didn't see any obvious way to do this. To get this level of control,
you might have to drop to a lower level (CFHTTP). If you have access
to it on the .NET end, you could try doing something hackish like
sending the request back as part of the response.

I would recommend reposting your question to the macnetworkprog list
(http://lists.apple.com/mailman/listinfo/macnetworkprog)--there's
more likely to be someone knowledgeable (like Jeremy Wyld of Apple)
monitoring things.
--Ed

Note: This may help, Currently I am trying to do the DataSet object
in Cocoa. I was wondering if there would be a good alternative rather
than a dataset...maybe returning just some sort of array from the Web
Servce.

In short...basically I need to be able to return results from a .NET

Web Service and iterate through a collection of objects, most likely
strings.

I did use tcpdump to verify that I am receiving the correct response. The data
is there, all the soap header and envelop information...I just need to be able to
access it using my application. That is where I am getting hung up.

Any help would be greatly appreciated. Thank you for your time. -Jerrod Fowkes


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: SCNetworkInterfaceRefreshConfiguration
  • Next by Date: Socket stream not providing data
  • Previous by thread: SCNetworkInterfaceRefreshConfiguration
  • Next by thread: Socket stream not providing data
  • Index(es):
    • Date
    • Thread