GService
Click here for a complete list of operations.
GetOptimizedGoogleObject
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /GService.asmx HTTP/1.1 Host: emp.vidhyadeepuni.ac.in Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetOptimizedGoogleObject" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetOptimizedGoogleObject xmlns="http://tempuri.org/" /> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetOptimizedGoogleObjectResponse xmlns="http://tempuri.org/"> <GetOptimizedGoogleObjectResult> <Directions> <Addresses> <anyType /> <anyType /> </Addresses> <Locale>string</Locale> <ShowDirectionInstructions>boolean</ShowDirectionInstructions> <HideMarkers>boolean</HideMarkers> <PolylineOpacity>double</PolylineOpacity> <PolylineWeight>int</PolylineWeight> <PolylineColor>string</PolylineColor> </Directions> <Points> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> </Points> <Polylines> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points xsi:nil="true" /> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points xsi:nil="true" /> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> </Polylines> <Polygons> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points xsi:nil="true" /> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points xsi:nil="true" /> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> </Polygons> <CenterPoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </CenterPoint> <ZoomLevel>int</ZoomLevel> <ShowZoomControl>boolean</ShowZoomControl> <RecenterMap>boolean</RecenterMap> <AutomaticBoundaryAndZoom>boolean</AutomaticBoundaryAndZoom> <ShowTraffic>boolean</ShowTraffic> <ShowMapTypesControl>boolean</ShowMapTypesControl> <Width>string</Width> <Height>string</Height> <MapType>string</MapType> <APIKey>string</APIKey> <APIVersion>string</APIVersion> </GetOptimizedGoogleObjectResult> </GetOptimizedGoogleObjectResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /GService.asmx HTTP/1.1 Host: emp.vidhyadeepuni.ac.in Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetOptimizedGoogleObject xmlns="http://tempuri.org/" /> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetOptimizedGoogleObjectResponse xmlns="http://tempuri.org/"> <GetOptimizedGoogleObjectResult> <Directions> <Addresses> <anyType /> <anyType /> </Addresses> <Locale>string</Locale> <ShowDirectionInstructions>boolean</ShowDirectionInstructions> <HideMarkers>boolean</HideMarkers> <PolylineOpacity>double</PolylineOpacity> <PolylineWeight>int</PolylineWeight> <PolylineColor>string</PolylineColor> </Directions> <Points> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> </Points> <Polylines> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points xsi:nil="true" /> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points xsi:nil="true" /> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> </Polylines> <Polygons> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points xsi:nil="true" /> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points xsi:nil="true" /> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> </Polygons> <CenterPoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </CenterPoint> <ZoomLevel>int</ZoomLevel> <ShowZoomControl>boolean</ShowZoomControl> <RecenterMap>boolean</RecenterMap> <AutomaticBoundaryAndZoom>boolean</AutomaticBoundaryAndZoom> <ShowTraffic>boolean</ShowTraffic> <ShowMapTypesControl>boolean</ShowMapTypesControl> <Width>string</Width> <Height>string</Height> <MapType>string</MapType> <APIKey>string</APIKey> <APIVersion>string</APIVersion> </GetOptimizedGoogleObjectResult> </GetOptimizedGoogleObjectResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /GService.asmx/GetOptimizedGoogleObject? HTTP/1.1 Host: emp.vidhyadeepuni.ac.in
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GoogleObject xmlns="http://tempuri.org/"> <Directions> <Addresses> <anyType /> <anyType /> </Addresses> <Locale>string</Locale> <ShowDirectionInstructions>boolean</ShowDirectionInstructions> <HideMarkers>boolean</HideMarkers> <PolylineOpacity>double</PolylineOpacity> <PolylineWeight>int</PolylineWeight> <PolylineColor>string</PolylineColor> </Directions> <Points> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> </Points> <Polylines> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> </Polylines> <Polygons> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> </Polygons> <CenterPoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </CenterPoint> <ZoomLevel>int</ZoomLevel> <ShowZoomControl>boolean</ShowZoomControl> <RecenterMap>boolean</RecenterMap> <AutomaticBoundaryAndZoom>boolean</AutomaticBoundaryAndZoom> <ShowTraffic>boolean</ShowTraffic> <ShowMapTypesControl>boolean</ShowMapTypesControl> <Width>string</Width> <Height>string</Height> <MapType>string</MapType> <APIKey>string</APIKey> <APIVersion>string</APIVersion> </GoogleObject>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /GService.asmx/GetOptimizedGoogleObject HTTP/1.1 Host: emp.vidhyadeepuni.ac.in Content-Type: application/x-www-form-urlencoded Content-Length: length
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GoogleObject xmlns="http://tempuri.org/"> <Directions> <Addresses> <anyType /> <anyType /> </Addresses> <Locale>string</Locale> <ShowDirectionInstructions>boolean</ShowDirectionInstructions> <HideMarkers>boolean</HideMarkers> <PolylineOpacity>double</PolylineOpacity> <PolylineWeight>int</PolylineWeight> <PolylineColor>string</PolylineColor> </Directions> <Points> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> <GooglePoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </GooglePoint> </Points> <Polylines> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> <GooglePolyline> <LineStatus>string</LineStatus> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <ColorCode>string</ColorCode> <Width>int</Width> <Geodesic>boolean</Geodesic> </GooglePolyline> </Polylines> <Polygons> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> <GooglePolygon> <Status>string</Status> <ID>string</ID> <Points> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <GooglePoint d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </Points> <StrokeColor>string</StrokeColor> <FillColor>string</FillColor> <StrokeWeight>int</StrokeWeight> <StrokeOpacity>double</StrokeOpacity> <FillOpacity>double</FillOpacity> </GooglePolygon> </Polygons> <CenterPoint> <PointStatus>string</PointStatus> <Address>string</Address> <ID>string</ID> <IconImage>string</IconImage> <IconShadowImage>string</IconShadowImage> <IconImageWidth>int</IconImageWidth> <IconShadowWidth>int</IconShadowWidth> <IconShadowHeight>int</IconShadowHeight> <IconAnchor_posX>int</IconAnchor_posX> <IconAnchor_posY>int</IconAnchor_posY> <InfoWindowAnchor_posX>int</InfoWindowAnchor_posX> <InfoWindowAnchor_posY>int</InfoWindowAnchor_posY> <Draggable>boolean</Draggable> <IconImageHeight>int</IconImageHeight> <Latitude>double</Latitude> <Longitude>double</Longitude> <InfoHTML>string</InfoHTML> <ToolTip>string</ToolTip> </CenterPoint> <ZoomLevel>int</ZoomLevel> <ShowZoomControl>boolean</ShowZoomControl> <RecenterMap>boolean</RecenterMap> <AutomaticBoundaryAndZoom>boolean</AutomaticBoundaryAndZoom> <ShowTraffic>boolean</ShowTraffic> <ShowMapTypesControl>boolean</ShowMapTypesControl> <Width>string</Width> <Height>string</Height> <MapType>string</MapType> <APIKey>string</APIKey> <APIVersion>string</APIVersion> </GoogleObject>