|
POST
|
I currently have a SOAP Server Object Extension that is returning a string. The string is a pair of comma delimited coordinates, but what I really want to get back is an array of integers. What I have is something like this (with business logic removed) private string OffsetCoords(string StrName, int sp_x, int sp_y, string offsetDir, double offset) { return string } What I would like it to do is something like this private int[] OffsetCoords(string StrName, int sp_x, int sp_y, string offsetDir, double offset) { return int[] } Writing the business logic is not a problem, but what I am not clear on is what to return from my method. Does an integer array work in this case or is their a better type to use? Also, I am not clear on how to format the WSDL and the Imessage parameters to accept the data type returned by the method. I have the WSDL configured to return a string with the following code: <xs:element name="OffsetCoordsResponse"> <xs:complexType> <xs:sequence> <xs:element name="NewXY" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> And my code containing the Imessage is below where respMsg implements Imessage. string newCoords = OffsetCoords(StrName, sp_x, sp_y, offsetDir, offset); //fill response respMsg.Name = "OffsetCoordsResponse"; respMsg.NamespaceURI = c_ns_soe; respMsg.Parameters.AddString("NewXY", newCoords); Do I use AddObject to the Imessage.Parameters method and if so can you provide some structure? Thanks, Mele
... View more
10-06-2010
03:49 PM
|
0
|
0
|
705
|
|
POST
|
Will, Map services which show relates within the MXD is new in ArcGIS 10.0 http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/0093/00930000000m000000.htm Mele
... View more
09-23-2010
08:07 AM
|
0
|
0
|
2931
|
|
POST
|
I needed to add the WSDL as a web service using the advanced properties in VS 2008 and not as a Service Reference. It is working now.
... View more
08-09-2010
08:17 AM
|
0
|
0
|
321
|
|
POST
|
We have an ArcGIS server Geometry Service and I would like to add it to a VS 2008 windows application and use the Project capabilities of the Geometry Service to project points from Lat/Long to State Plane. I have been successful at bringing the Geometry Service into the VS 2008 project as a servcie reference via its WSDL, but don't understand how to create an instance of the Geometry Service. The following link shows an example: http://resources.esri.com/help/9.3/arcgisserver/apis/soap/index.htm Geometry_GeometryServer pGS = new Geometry_GeometryServer(); I don't understand how the new Geometry_GeometryServer is created as it does not show in intellisense and errors when I tried to build the project. Please help with some code samples including and references and using statements needed. Thanks, Mele
... View more
08-08-2010
10:34 AM
|
0
|
1
|
658
|
|
IDEA
|
-->
Aligning annotation such as street names along a border is difficult while editing. It currently has to be done visually and not with snapping available with other editing functions. Allowing annotation to snap to other features would increase productivity while editing annotation.
... View more
08-07-2010
10:10 AM
|
8
|
2
|
873
|
|
POST
|
Thanks for updating this. I had contacted support and I will forward the BUG number you gave to me.
... View more
08-06-2010
02:59 PM
|
0
|
0
|
2931
|
|
POST
|
I used the new Query Layer in ArcGIS 10 to create a 'table' from a feature class and then performed the relate on the newly created Query Layer and now can Query Related records in the ArcGIS Map Service. Is it a good practice to create a Query Layer agains the Feature Class or should I use a Multi-Version view or another method?
... View more
08-06-2010
08:29 AM
|
0
|
0
|
2931
|
|
POST
|
Thanks for the response and the information. I am still not able to get our relate to work. Does the related table need to be a stand alone table or can you relate two feature classes in your MXD? I noticed your example shows a feautre class related to a stand alone table. Thanks, Mele
... View more
08-06-2010
07:07 AM
|
0
|
0
|
2931
|
|
POST
|
I have set up a relate in a map service and would like to access that relate via REST. When I click on the 'Query Related Records' link in the map service and I am asked for the Object Ids, and the Relationship Id as shown in the attached image. Where do I find the Relationship Id and Object Id?
... View more
08-05-2010
09:40 AM
|
0
|
9
|
7684
|
|
IDEA
|
Work with Microsoft to allow ArcGIS Map Services to be used in SQL Server Reporting Services. SQL Server Reporting Services supports integrating maps, but it is very limited. Using our enterpise map services in SSRS would be beneficial and assist many in our organization.
... View more
07-26-2010
10:21 AM
|
42
|
13
|
4559
|
|
POST
|
One of DBAs was able to find a solution. The "SQL Server Agent User" user was given the 'db_owner' role membership and it seems to have resolved our issue with the Stored Procedure.
... View more
07-21-2010
03:40 PM
|
0
|
0
|
301
|
|
POST
|
I am very interested in this possibility for producing quality maps from our Silverlight/WPF mapping sites. Has anyone implemented Arcpy.Mapping for this purpose? If so, are there code samples that you can share? Thanks, Mele
... View more
07-21-2010
03:35 PM
|
0
|
0
|
553
|
|
POST
|
We have a stored procedure which updates a field in four featureclasses. The stored procedure is as follows: --UPDATE SYMBOLOGY FIELD EXEC sde.set_current_version 'ums_app.MapGuide' EXEC sde.edit_version 'ums_app.MapGuide', 1 Begin Try Begin Transaction; --wtr_hdyrant table UPDATE ums.wtr_hydrant_mvw SET symbology = owner + '/' + pm_state WHERE owner + '/' + pm_state <> symbology -- Commit Transaction; --wtr_valve table -- Begin Transaction; EXEC sde.set_current_version 'ums_app.MapGuide' UPDATE ums.wtr_valve_mvw SET symbology = owner + '/' + pm_state WHERE owner + '/' + pm_state <> symbology -- Commit Transaction; --wtr_main table -- Begin Transaction; EXEC sde.set_current_version 'ums_app.MapGuide' UPDATE ums.wtr_main_mvw SET symbology = owner + '/' + main_type WHERE owner + '/' + main_type <> symbology -- Commit Transaction; --swr_main table -- Begin Transaction; EXEC sde.set_current_version 'ums_app.MapGuide' UPDATE ums.swr_main_mvw SET symbology = owner + '/' + main_type WHERE owner + '/' + main_type <> symbology ------------------------------------ Commit Transaction; When I try to run the stored procedure as a SQL Server Agent Job, it does not update the field in the feature classes. If I run it 'manually' as a stored procedure it does work. I am dbo. Has anyone set up a SQL Server Agent Job to run a Stored Procedure? If so, do we need to 'run as' a particular user? I had the owner set to my name, sde, and the data owner name. Are there any other caveats to using this method? Thanks for any suggestions, Mele
... View more
07-13-2010
07:17 AM
|
0
|
1
|
909
|
|
POST
|
Thanks to both of you for responding. James thanks for the reply and the code referring to how to get the metadata as an XML propertyset. I just started to work with the code and was able to return the XML propertyset. I will now work on getting the information out of the propertyset that I am looking for. I hadn't checked the forums for a few weeks and did not know how to automatically subscribe to my threads. I do now. Always hard to get used to new things. Mele
... View more
06-23-2010
06:46 PM
|
0
|
0
|
898
|
|
POST
|
I created the following to append features public static void AppendFeatures(string inFC, string outFC) { ESRI.ArcGIS.Geoprocessor.Geoprocessor GP = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); Append AppendFeatures = new Append(); AppendFeatures.schema_type = "NO_TEST"; AppendFeatures.inputs = inFC; AppendFeatures.target = outFC; RunTool(GP, AppendFeatures, null); } RunTool is calling a method with code that Chad Cooper wrote and is available at http://www.esri.com/news/arcuser/0410/gpandnet.html The code above works great on everything but Annotation, any suggestions on how to append to Annotation? Threre is AppendAnnotationFeatureClasses Tool, but it creates a new feature class from inputs rather than appending to an existing feature class. Thanks, Mele
... View more
06-22-2010
07:23 AM
|
0
|
0
|
551
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM | |
| 1 | 05-12-2025 03:17 PM | |
| 1 | 08-15-2025 03:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|