• 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
Cocoa datatype SOAP encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa datatype SOAP encoding


  • Subject: Cocoa datatype SOAP encoding
  • From: "Tom Chen" <email@hidden>
  • Date: Tue, 25 Nov 2008 13:13:42 -0800

I am trying to create a SOAP request in Cocoa. One of the parameters
of the request is an array of <Field>'s. What Cocoa datatype maps to
this SOAP parameter? The server is expecting something in the format
of:

<something>
   <Field>
      <x1>
      <x2>
   </Field>
   <Field>
      <x1>
      <x2>
   </Field> // Any number of <Field>'s after this, etc.
</something>

The problem with an NSArray is that when it is encoded, it results in
the tag being named <item_0>, <item_1>, etc. instead of <Field>. The
problem with using an NSDictionary is that there can only be one key
named Field. Does anyone know what Cocoa datatype is needed?

Thanks,
--Thomas
 _______________________________________________
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

  • Follow-Ups:
    • Re: Cocoa datatype SOAP encoding
      • From: Jens Alfke <email@hidden>
    • Re: Cocoa datatype SOAP encoding
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Getting mbuf length
  • Next by Date: Re: Cocoa datatype SOAP encoding
  • Previous by thread: Re: SCPreferencesCreateWithAuthorization
  • Next by thread: Re: Cocoa datatype SOAP encoding
  • Index(es):
    • Date
    • Thread