POST
|
Hi, We are writing an application that receives real-time data on a TCP socket in Base64 transfer encoding for MIME (RFC 2045). The TCP socket connector included with GeoEvent Processor appears to process text only. Does that mean I'll need to write my own input connector for Base64 encoding? Thanks Mark
... View more
10-02-2013
06:29 AM
|
0
|
2
|
2182
|
POST
|
This is a bug, which according to its status will be fixed in SP1. http://support.esri.com/en/bugs/nimbus/TklNMDgwODM2 Until SP1 is released you can perform this workaround: 1. Stop the ArcGIS Server service 2. Copy 'javaw.exe.config' from : C:\Program Files\ArcGIS\server\framework\runtime\jre\bin\ 3. Paste into: C:\Program Files\ArcGIS\server\bin 4. Rename 'javaw.exe.config' to 'ArcSOC.exe.config' 5. Start ArcGIS Server service.
... View more
08-23-2012
08:09 AM
|
0
|
0
|
392
|
POST
|
Dasa, Thank you! This appears to have solved it. I must have been using an older version of the proxy code. Mark
... View more
03-18-2011
02:37 AM
|
0
|
0
|
186
|
POST
|
Hi I have a feature service being accessed via a proxy page so that it can be secured, and accessed using a dynamically generated token. (However, this problem appears to happen regardless of whether the service is secured - it's a proxy page issue). I am using the attachment inspector, out of the box in the Flex API. the problem is that new attachments do not hit the rest endpoint correctly. Instead of a standard response, I receive a string of HTML which represents the "Add Features" rest endpoint:
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>Add Attachment (Feature ID: 420)</title>
<link href='https://community.esri.com/ArcGIS/rest/ESRI.ArcGIS.Rest.css' rel='stylesheet' type='text/css'>
</head>
<body>
<table width="100%" id="userTable">
<tr>
<td id="titlecell">ArcGIS Services Directory</td>
<td align="right">
Logged in as: webapp | <a href="https://community.esri.com/ArcGIS/rest/logout">Logout</a>
| <a href="https://46.137.26.209/ArcGIS/tokens/gettoken.html" target="_blank">Get Token</a>
</td>
</tr>
</table>
<table id="navTable" width="100%">
<tbody>
<tr valign="top">
<td id="breadcrumbs">
<a href="https://community.esri.com/ArcGIS/rest/services">Home</a> > <a href="https://community.esri.com/ArcGIS/rest/services/PointsEdit/FeatureServer">PointsEdit (FeatureServer)</a> > <a href="https://community.esri.com/ArcGIS/rest/services/PointsEdit/FeatureServer/0">sde.DBO.WWTW_Points</a> > <a href="https://community.esri.com/ArcGIS/rest/services/PointsEdit/FeatureServer/0/420">420</a> </td>
<td align="right" id="help">
<a href="http://46.51.162.119/ArcGIS/SDK/REST/servicesdirectory.html" target="_blank">Help</a> | <a href="?f=help" target="_blank">API Reference</a></td>
</tr>
</tbody>
</table>
<div class='restHeader'>
<h2>Add Attachment (Feature ID: 420)</h2>
</div>
<div class='restBody'>
<i>
Note: This operation is only supported via POST
</i>
<br/>
<br/>
<br/>
<form enctype='multipart/form-data' method='post' action='/arcgis/rest/services/PointsEdit/FeatureServer/0/420/addAttachment?token=IJusyJW5AYDMhkRGrCcqkOiv3GHwceQA0sRy_rwprgQ.'>
<table class='formTable'>
<tr valign='top'>
<td>
Attachment
</td>
<td>
<input type='file' name='attachment' />
</td>
</tr>
<tr>
<td>
Format:</td>
<td>
<select name="f">
<option value='html'selected = "true">HTML</option>
<option value='pjson'>JSON</option>
</select>
</td>
</tr>
<tr><td colspan='2' align='left'><input type='submit' value='Add Attachment' /></td></tr>
</table>
</form>
</div>
</body>
</html>
So the POST which pushes an attachment to the endpoint is causing the service to respond with its HTML page prompt - as if the attachment data is not being delivered correctly. If I remove the proxy page and route the request directly, everything works correctly. I have stepped through the proxy page, and confirmed that the POST data does get transferred to the request to ArcGIS Server; it does seem to be pushing the bytestream across to the new request. I noticed though that the content type on the new request (inside the proxy) is defined as "application/x-www-form-urlencoded". However, the original content type posted from the Flex application is "multipart/form-data". I wonder if this is the problem - as it's binary data we're trying to push up as an attachment. I have briefly tried changing this to multipart/form-data in the proxy, but this causes the connection to close prematurely and the service request fails. I havent figured out why. Is there any further guidance here? Is there a known issue where attachments cannot be added via a proxy page connection?
... View more
03-17-2011
10:30 AM
|
0
|
3
|
2470
|
POST
|
Hi, Playing with the sample http://help.arcgis.com/en/webapps/flexviewer/live/index.html The zoom slider bar disappears after using the Print widget. Subsequently, some widgets throw errors when opened. Steps to reproduce: 1) Load http://help.arcgis.com/en/webapps/flexviewer/live/index.html 2) Open Print widget, click Print. Notice the zoom slider disappears from view (although appears on the print) 3) Load each of the remaining widgets in turn 4) Observe script errors (sporadic; and only the first time a given widget is opened)
... View more
07-01-2010
02:37 AM
|
0
|
1
|
398
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|