Retrieving a Buffered Image from the Server
The getBufferedBitmapImage operation returns the bitmap image that was rendered in a previous renderImageMap request.
The following listing shows the general structure of the operation in the WSDL file of the Map24 MGI Service:
... <message name="getBufferedBitmapImageRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="GetBufferedBitmapImageRequest" type="tns:GetBufferedBitmapImageRequest" /> </message> <message name="getBufferedBitmapImageResponse" > <part name="GetBufferedMapImageResponse" type="tns:RenderBitmapImageResponse" /> </message> <portType name="Map24MGIPortType" > <operation name="getBufferedBitmapImage" > <input message="tns:getBufferedBitmapImageRequest" /> <output message="tns:getBufferedBitmapImageResponse" /> </operation> ... </portType> ...
Request
For identifying the buffered image on the server you must pass the ImageKey that was returned in the RenderImageMapResponse element.

For HTTP GET requests the operation is called getMapImageMap (action=getMapImageMap).
In the request you must pass an image key ( imgkey parameter). The image key is returned in the response of a renderMapImage request that created an image map.
Response
The response to this request is a RenderBitmapImageResponse element that contains the image data.
Example Requests
An example SOAP request is provided here.
An example HTTP GET request is provided here.
|