Hide TOC

Web Services Core Foundation Types

WSClientContext

An optional context that can contain data you want passed to your callback.

struct WSClientContext {
      CFIndex             version;
      void *              info;
      WSClientContextRetainCallBackProcPtr  retain;
      WSClientContextReleaseCallBackProcPtr  release;
      WSClientContextCopyDescriptionCallBackProcPtr  copyDescription;
};
typedef struct WSClientContext          WSClientContext;

Fields
version

Set to zero.

info

A pointer to your information to be passed to your callback.

retain

Callback made on the info pointer. This field may be NULL.

release

Callback made on the info pointer. This field may be NULL.

copyDescription

Callback made on the info pointer. This field may be NULL.

Discussion

Several calls in the Web Services Core framework take a callback with an optional context pointer. The context is copied and the info pointer retained. When the callback is made, the info pointer is passed to the callback.

Availability
Declared In
WSTypes.h

WSMethodInvocationRef

An opaque reference to a web services method invocation.

typedef struct OpaqueWSMethodInvocationRef*  WSMethodInvocationRef;

Discussion

The WSMethodInvocationRef is the fundamental object of web services. Create it using WSMethodInvocationCreate. Use it to set parameters, callbacks, and settings for a method invocation, and to invoke a method and obtain a response.

Availability
Declared In
WSMethodInvocation.h

WSProtocolHandlerRef

An opaque reference to a web services protocol handler.

typedef struct OpaqueWSProtocolHandlerRef*  WSProtocolHandlerRef;

Discussion

The WSProtocolHandlerRef represents an instance of a protocol handler. Create it using WSProtocolHandlerCreate.

Availability
Declared In
WSProtocolHandler.h

Hide TOC


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-01-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.