Re: Cocoa: How do I send/receive XML within a HTTP connect?
Re: Cocoa: How do I send/receive XML within a HTTP connect?
- Subject: Re: Cocoa: How do I send/receive XML within a HTTP connect?
- From: Jens Alfke <email@hidden>
- Date: Fri, 16 May 2008 12:20:38 -0700
On 16 May '08, at 11:11 AM, email@hidden wrote:
Via the NSMutableURLRequest class, I can alter the HTTP Body, etc.
However, I need to send a SOAP/XML envelope & receive a XML response.
NSURLRequest etc. have nothing to do with the type of content you
send. They don't care whether it's XML, HTML, MP3, JPEG, whatever. You
just hand them raw data to send in the body.
I don't see where in the NSNetworking docs that I can send a SOAP/
XML to the server.
That's too bad. If only the documentation came with some kind of
"search" feature so you didn't have to ask hundreds of people for help
on every little detail. Then you'd be able to type "SOAP" into the
search field, maybe adjust the settings to "Full Text" and "Contains",
and find that documentation wherever it was! But since Xcode sucks and
has no search feature, and since Apple won't let Google index their
online docs, there's no way around it. Someone else will have to take
over answering, though, because I'm getting tired of it.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden