Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following diagram illustrates how the Obexsrvr.dll and extensions supplied by Windows Mobile are implemented.

The OBEX transport layer receives a packet from the client. The packet is checked for correctness, bounds overflow, and so on. If the format is incorrect, it is rejected and the appropriate response is returned to the requester.

If the packet is an OBEX CONNECT packet, a new connection is allocated and a connection identifier is generated.

If the packet is a non-CONNECT packet and a connection is not established, a default temporary connection is allocated and a connection identifier is generated.

If the packet is a continuation of a GETor Putmethod, the connection identifier from the initiating command is used.

The connection identifier is a service alias. The TARGET field in a CONNECT packet defines what service to use, based on the connection identifier. If a default connection was generated, the TARGET field in an individual package defines what service to use.

The appropriate service extension, defined by the connection target, is loaded.

Note:
Service extensions may be loaded at startup by using protocol and registry entries.

The packet is passed to a service extension's entry point. The service processes the request. Before the call returns, a response packet is sent to the OBEX server. If the server does not receive this packet, an error is assumed and a generic SERVICE UNAVAILABLE error is returned.

The server reformats the package to the OBEX network format then forwards the packet to the requesting transport layer.

The transport layer sends the packet back to the client.

See Also

Concepts

Server Support

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.