POST
|
Hi, Now that the SSL cert issue is fixed. I am facing a new one. The response of the SummaryReportsTask is returning the url as http and not https.
{
"results":
[
{
"paramName":"Demographic and Income Report.PDF",
"dataType":"GPDataFile",
"value":
{
"url":"http://domain.name/arcgisoutput/_ags_T4ABCE3C7542A58BEC092ED14D1309.pdf"
}
}
],
"messages":
[
]
}
Since i have disabled http and enabled "Require ssl" in the IIS the http url is failing with a 403 - forbidden (which is correct and expected). As a workaround I am currently doing a string replace to change the protocol to https. Is there any configuration changes required on the sever so that the url is returned with the correct protocol.
... View more
05-05-2011
08:42 PM
|
0
|
1
|
3605
|
POST
|
SOLVED. The issue was in the way i had installed the ssl certificate. I worked with the esri support to resolve the issue. Since BA Server is an extension of the ArcGIS Server follow these instructions while installing an SSL cert. http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Setting_up_SSL/0093000000pv000000/
... View more
05-05-2011
08:34 PM
|
0
|
0
|
219
|
POST
|
Hi, The rest api has the ability to pass report headers as a key value pair. The flex api has BAReportHeader that accepts only the subtitle. How do you pass other values for locationname, address etc.
var reportHeader:BAReportHeader = new BAReportHeader(subtitle);
new ReportOptions("PDF", _reportTemplateName, reportHeader);
My custom report supports the following Headers : [ locationname �?? address �?? latitude �?? reportstyle �?? binarylogo �?? ]
... View more
05-05-2011
08:32 PM
|
0
|
1
|
1275
|
POST
|
Hi, I have installed the SSL cert and enabled https only access on the IIS 7.5 server. My rest services are working fine but then my report service is failing. In the logs I see that the reportservice url is still pointing to http://localhost/ArcGIS/BAServer/Services/HTMLextReportWebService/Service.asmx. This is expected to happen as i have not done any changes to BAServer after enabling https. Even after i changed the report service url to https://localhost/ArcGIS/BAServer/Services/HTMLextReportWebService/Service.asmx manually in BAServerConfig.xml i don't see any changes. After changing to https and restart the iis server, the logs have the following error
<Msg time='2011-05-03T11:47:59' type='DEBUG' code='0' target='[CReportingWSProxy::SetWebServiceProperties] from [.\ReportingWSProxy.cpp(722)]' machine='CDCRS729' process='5868' thread='5212'>Web-service property URL is: .https://localhost/ArcGIS/BAServer/Services/HTMLextReportWebService/Service.asmx</Msg>
<Msg time='2011-05-03T11:47:59' type='DEBUG' code='0' target='[CReportingWSProxy::SetWebServiceProperties] from [.\ReportingWSProxy.cpp(740)]' machine='CDCRS729' process='5868' thread='5212'>Exit WebServiceUtilities::SetWebServiceProperties method.</Msg>
<Msg time='2011-05-03T11:47:59' type='DEBUG' code='0' target='[CReportingWSProxy::Init] from [.\ReportingWSProxy.cpp(514)]' machine='CDCRS729' process='5868' thread='5212'>Execute GetVersion method to check web-service version.</Msg>
<Msg time='2011-05-03T11:47:59' type='DEBUG' code='0' target='[CReportingWSProxy::GetVersion] from [.\ReportingWSProxy.cpp(98)]' machine='CDCRS729' process='5868' thread='5212'>Enter CReportingWSProxy::GetVersion method.</Msg>
<Msg time='2011-05-03T11:47:59' type='ERROR' code='0' target='[CReportingWSProxy::GetVersion] from [.\ReportingWSProxy.cpp(105)]' machine='CDCRS729' process='5868' thread='5212'>Can't get version string from response message.</Msg>
<Msg time='2011-05-03T11:47:59' type='ERROR' code='0' target='[CReportingWSProxy::Init] from [.\ReportingWSProxy.cpp(517)]' machine='CDCRS729' process='5868' thread='5212'>Failed to check Web Service version.</Msg>
<Msg time='2011-05-03T11:47:59' type='ERROR' code='101040' target='[CASBReferencesHolder::GetReportingProxy] from [.\ASBReferencesHolder.cpp(227)]' machine='CDCRS729' process='5868' thread='5212'>Failed to init reporting service proxy. Probable cause - the service is not currently available or wrong reporting web service URL is specified.</Msg>
<DebugInfo>[HRESULT hr = E_FAIL]</DebugInfo>
I tried doing a Post Install but then i get a failure message when configuring the url for reporting service. What steps do i need to perform after the ssl cert is installed on the BA Server 10? Can someone point me to any documentation? Any help is greatly appreciated.
... View more
05-03-2011
08:29 AM
|
0
|
1
|
1417
|
POST
|
Using this crossdomain.xml fixes this issue. I am using this only for development and not for production environment so i am good.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="false"/>
</cross-domain-policy>
... View more
04-28-2011
03:23 PM
|
0
|
0
|
259
|
POST
|
I am sorry i guess this is got nothing to do with BA Server but the crossdomain.xml. Still searching what the solution is.
... View more
04-28-2011
02:48 PM
|
0
|
0
|
259
|
POST
|
Hi, My app is deployed in the local tomcat server and connects to a BA Server on remote box. It worked fine when the protocol was http. After installing the SSL cert in the IIS7 server, the app fails with an error message when accessing from the flex api. Accessing the rest services directly from the browser works fine. I also have the crossdomain.xml file accessible by https://app.domain.com/crossdomain.xml SecurityError: Error #2048: Security sandbox violation:
Http Request
----------------
4/28/2011 17:04:11.312 [INFO] mx.messaging.Producer '165115DB-C3C8-FFDB-703A-9DED16300E95' producer set destination to 'DefaultHTTP'.
4/28/2011 17:04:11.328 [INFO] mx.messaging.Producer '417EA358-2D7A-40D4-AEEC-9DED1640138E' producer set destination to 'DefaultHTTP'.
4/28/2011 17:04:11.359 [INFO] mx.messaging.Producer '165115DB-C3C8-FFDB-703A-9DED16300E95' producer connected.
4/28/2011 17:04:11.359 [INFO] mx.messaging.Producer '165115DB-C3C8-FFDB-703A-9DED16300E95' producer sending message '13628587-96FE-471B-581B-9DED165FDFE5'
4/28/2011 17:04:11.390 [DEBUG] mx.messaging.Channel 'direct_http_channel' channel sending message:
(mx.messaging.messages::HTTPRequestMessage)#0
body = (Object)#1
clientId = (null)
contentType = "application/x-www-form-urlencoded"
destination = "DefaultHTTP"
headers = (Object)#2
httpHeaders = (Object)#3
messageId = "13628587-96FE-471B-581B-9DED165FDFE5"
method = "GET"
recordHeaders = false
timestamp = 0
timeToLive = 0
url = "https://app.domain.com/ArcGIS/baserver/REST/services/DefaultMap/BAServer/GetReportTemplates/execute?compatibility=10%2E0&f=JSON"
How come the destination is going as DefaultHTTP and not https? After installing the cert in IIS 7 on which BA Server is installed do i have to make any specific changes on the BA Server end to get this working?
... View more
04-28-2011
01:05 PM
|
0
|
2
|
3336
|
POST
|
Hi I am passing the following parameters to create the Standard Geographies for the WholeUSA. http://localhost/ArcGIS/baserver/REST/services/DefaultMap/BAServer/CreateStdGeographies/execute?compatibility=10%2E0&OutputType=GetFeatureClass&featureList=%5B{%22levelID%22%3A%22US%2EWholeUSA%22%2C%22featureID%22%3A%5B%22US%22%5D}%5D&IsFullErrorMessage=true&f=HTML I guess there is something wrong with the featureID i am passing. [{"levelID":"US.WholeUSA","featureID":["US"]}] My code works fine for everything but the WholeUSA.
... View more
04-21-2011
04:58 PM
|
0
|
2
|
1236
|
POST
|
Hi Mehak, I am going with your original idea of "specific nomenclature for the repository item name to determine the type of trade area or add any metadata as part of the feature's attributes." <itemname>~<tradeareatype>~<position>~<date> Bear,DE~SIMPLE_RINGS~10~04.20.2011 I am using the position to sort the sites in the descending order. It is working great. Date is just for display purposes.
... View more
04-20-2011
09:31 AM
|
0
|
0
|
295
|
POST
|
Similar to Set Project Properties Endpoint, if the FolderItem had it and if we could retrieve it. That would be awesome.
... View more
04-14-2011
10:57 AM
|
0
|
0
|
303
|
POST
|
Hi, How to get the response of the Get List of Project Items in the Chronological order?
... View more
04-14-2011
10:28 AM
|
0
|
3
|
1356
|
POST
|
Hi, We have created a custom report template which allows including the map image of the StudyArea. What Flex api do we use to accomplish this? If the Flex api does not have the ability to this, is there a parameter we can pass in the REST API so it is automatically inserted by the Server. Our current report generation using the BA Server Flex API 2.0.1 is not showing the map image even though the Custom Report Template supports it?
... View more
04-14-2011
06:41 AM
|
0
|
0
|
2381
|
POST
|
Mehak, I can definitely add metadata as attributes to the featureClass. The reason i am asking this is, i would like to provide a Sites functionality similar to the BAO. You will see Sites Bar under the Reports tab. It shows very clearly the type of the Trade Area, address etc. For me to do something like that i will have to open each an every Site using the OpenFeatureLayer and then find the type of the trade area. This is time consuming and unnecessary. I understand that it is also possible for the user to upload different types of features/trade areas into a Folder type TradeArea not just one single type after all this is a Map Layer that is created in the repository. Still allowing the developer to append metadata/tagging to the FolderItem makes a lot of sense and saves a lot of time and compute power. Also, you know very well, that the whole web is getting tagged since whenever to make sense of what the content is instead of probing/figuring it out. So why not here. I hope you will consider this as a feature enhancement request in the near feature.
... View more
04-14-2011
06:01 AM
|
0
|
0
|
303
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|