• 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
Re: Cocoa: How do I send/receive XML within a HTTP connect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: email@hidden
  • Date: Fri, 16 May 2008 11:53:46 -0700 (PDT)

Ahhh!
Okay...  I'm trying to envision how this would work.  I'm essentially working with a 'black box' (the Server).
The server is waiting for SOAP/XML data & shall respond accordingly.

So you're saying that I should do something like this:
..
NSData *soapData = <SOAP/XML> in NSData format.
..
[NSMutableURLRequest setHTTPBody:soapData];
..

Is this the correct paradigm?

Ric.

On 05/16/2008 11:29 stephen joseph butler wrote ..
> On Fri, May 16, 2008 at 1:11 PM,  <email@hidden> wrote:
> > I should add...
> >
> > Does the NSMutableURLRequest actually send the XML data to the server?
> >
> > Via the NSMutableURLRequest class, I can alter the HTTP Body, etc.
> > However, I need to send a SOAP/XML envelope & receive a XML response.
> >
> > I don't see where in the NSNetworking docs that I can send a SOAP/XML to the
> server.
> >
> > I'm puzzled.
>
> The SOAP envelope is part of the HTTP body. The URL framework has
> nothing to do with it.
> _______________________________________________
>
> 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
_______________________________________________

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

  • Follow-Ups:
    • Re: Cocoa: How do I send/receive XML within a HTTP connect?
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Re: Set view in bottom right corner of NSTableView
  • Next by Date: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • Previous by thread: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • Next by thread: Re: Cocoa: How do I send/receive XML within a HTTP connect?
  • Index(es):
    • Date
    • Thread