|
POST
|
Lloyd - If you navigate to Site > GeoEvent > Connectors and search for "XML" ... you are not seeing the following two inbound connectors? These should be out-of-the-box at the 10.3.0 release. What do you see when browsing to the URL https://localhost:6143/geoevent/manager/version.txt (You should see the product version 10.3.0.4322) Are you able to locate the XML adapter's JAR file (xml-adapter-10.3.0.jar) down beneath the framework? C:\Program Files\ArcGIS\Server\GeoEvent\system\com\esri\ges\framework\adapter\xml-adapter\10.3.0 - RJ
... View more
09-15-2015
11:44 AM
|
0
|
0
|
438
|
|
POST
|
Hello Darryl - I don't have any references for you of someone who has developed a custom adapter for handling a response from a request made on a SOAP service. GeoEvent is fundamentally RESTful, meaning that we interact with services using REST requests. You might take a look at the thread Is it possible to send a SOAP request with GeoEvent? For background, here's what I know about the differences between REST and SOAP. In a REST query you might have some JSON (JavaScript Object Notation) in the body of the request, but often you do not. This is because everything you need to communicate to the service being queried is contained in the request’s URL as parameters. In this way a REST call is sort of like invoking a function with parameters you pass in the function call. SOAP is fundamentally different. It is XML based – as opposed to REST which more “object-oriented”, using JSON “objects” to pass information. When making a SOAP request you always have some sort of XML body which contains the authentication and request parameters. You get back an XML response which you then have to parse. SOAP fell out of favor primarily because XML parsing is considered expensive. A JSON response from a REST service request would, of course, have some sort of header. But the response is primarily a single object or a list of objects expressed as JSON. This object (or list of objects) returned from your request is something GeoEvent would consider an event (or a list of events). XML can also be used to represent an event or a list of events – and we introduced the XML adapter in the 10.3 product release to handle that sort of message content. So a SOAP / XML response might be something the XML adapter out-of-the-box could parse, but since the XML is not “object-oriented” (like what we usually see with JSON) there is going to be quite a lot of work needed to delve into the XML response you receive and pull out the event data you are looking for. The amount of work required would probably make using an out-of-the-box GeoEvent Service filters and processors impractical. You would probably need to develop a custom processor if you wanted to process a SOAP response to extract event data within a GeoEvent Service. Alternatively you could develop a custom adapter to parse the SOAP / XML response and construct a set of GeoEvents your adapter would then pass into your GeoEvent Service for some basic filtering and/or processing. Which brings us back to your original question, has anyone done this? So … the recommendation is to avoid services which use SOAP. In addition to a custom processor or custom adapter you will probably also have to develop a custom transport to handle service polling, since you will need to construct the XML body the SOAP service expects to authenticate and communicate your request. This is definitely not something you can just configure GeoEvent to do. More than likely it is going to be a development project in which you use the GeoEvent SDK to develop custom components and extend the product to support SOAP – not in general – but for a specific service which you want to poll for data. Hope this information helps - RJ
... View more
09-10-2015
05:24 PM
|
2
|
2
|
1939
|
|
POST
|
Hello Adriana - Are you using a GeoEvent output -- either the Add a Feature output or the Update a Feature output -- to make edits to your feature service? If so, you can review the Debugging the Add a Feature / Update a Feature Output Connectors blog to see how to configure GeoEvent to log debug messages which should tell you something about the JSON being sent in the requests to Server and the responses returned from Server. If you are not using GeoEvent and the application you are developing is making its own requests on a feature service's .../FeatureServer/0/addFeatures or .../FeatureServer/0/updateFeatures REST endpoint, you might want to ask your question on the Web AppBuilder for ArcGIS forum. Someone there can provide you advice on developing your web application. Hope this information helps - RJ
... View more
09-10-2015
05:02 PM
|
0
|
2
|
1642
|