Skip navigation.
 
mlRe: Cocoa: How do I send/receive XML within a HTTP connect?
FROM : Jens Alfke
DATE : Fri May 16 21:20:38 2008

On 16 May '08, at 11:11 AM, <email_removed> 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

Related mailsAuthorDate
mlCocoa: How do I send/receive XML within a HTTP connect? fclee May 16, 19:59
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? fclee May 16, 20:11
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? Jens Alfke May 16, 20:18
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? fclee May 16, 20:20
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? stephen joseph but… May 16, 20:29
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? fclee May 16, 20:53
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? stephen joseph but… May 16, 21:13
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? Jens Alfke May 16, 21:20
mlRe: Cocoa: How do I send/receive XML within a HTTP connect? Jens Alfke May 17, 22:50