Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/SOAP/Interoperability    [ Add a report in this area ]  
Report #:  38977   Status: Reported
Unable to send the Route Binary object back to MapPoint.NET
Project:  Delphi Build #:  9.0.1935.22056
Version:    9.0 Submitted By:   Graham Harris
Report Type:  Basic functionality failure Date Reported:  1/19/2007 1:24:24 AM
Severity:    Serious / Highly visible problem Last Updated: 1/19/2007 1:58:20 AM
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Using the MapPoint.NET web service allows the user to send back binary data that represents the route, i.e. once you have retreived the route you are able to send the route object back to the MapPoint.NET web service as an array of bytes. This works perfectly well in C# but not in Delphi Win32.

When I call the GetMap method of the RenderService I consitently get the following error:

The action must be retried -
URL:http://renderv3.mappoint.net/Render-30/RenderService.asmx -
SOAPAction:http://s.mappoint.net/mappoint-30/GetMap.
Steps to Reproduce:
I have attached a sample application (Delphi 2005). - NOTE you will need to request an account for MapPoint.NET this can be done by filling out the following web page:

https://mappoint-css.partners.extranet.microsoft.com/MwsSignup/Eval2.aspx
Workarounds
None
Attachment
MapPoint.NET.zip
Comments

Christian Haselberger at 1/28/2007 1:10:34 PM -
Have a look on the error report # 38928
in
http://qc.codegear.com/wc/qcmain.aspx?d=38928 .

There I describe my findings and a workaround for this (or a similar) problem (in C++).

Christian Haselberger

Graham Harris at 1/31/2007 6:52:44 AM -
This is actually how Delphi Win32 SOAP encodes the binary data, as this works in C#. The full details can be found in http://tinyurl.com/2jnycn

Server Response from: ETNACODE01