AnsweredAssumed Answered

Hello, i have a task to receive messages in XML in geoevent

Question asked by alenann on Dec 16, 2015
Latest reply on Mar 30, 2016 by rsunderman-esristaff

The goal is to receive messages in XML. I configured connector Receive XML on a REST Endpoint. But through the monitor GEP can see that the message does not come. I sent the same message using the Firefox Poster - message came. We looked at the traffic using Wireshark. Notifications different headings. In both cases, GEP responds 200 OK. Please tell me - what could be wrong. What immediately catches the eye - it is one message HTTP / 1.0 and other HTTP / 1.1

 

 

Request that comes from an external system and enters the GEP

 

 

POST / geoevent / rest / receiver / e5fca6b5-ecf3-4853-81af-1815d4620f91 HTTP / 1.0

Host: 91.242.171.9: 6180

User-Agent: SOAP Sender v1.2

Content-Length: 408

Content-Type: text / xml

Connection: Close

Pragma: no-cache

 

 

 

 

<? xml version = "1.0" encoding = "windows-1251"?>

<soapenv: Envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope" xmlns: ws = "http://schemas.xmlsoap.org/soap/ws">

<soapenv: Header />

<soapenv: Body>

<ws: PutCoord>

<ObjectID> 214168 </ ObjectID>

<Coord time = "2015-12-08T13: 24: 20Z" lon = "66.6379" lat = "66.5293" alt = "0" speed = "0" dir = "276" valid = "1" />

</ ws: PutCoord>

</ soapenv: Body>

</ soapenv: Envelope>

 

 

HTTP / 1.1 200 OK

Content-Length: 0

Date: Tue, 08 Dec 2015 13:24:23 GMT

Server: ArcGIS GeoEvent Extension for Server 10.3.0

 

 

 

 

Inquiry held in GEP, made by Poster

 

 

POST / geoevent / rest / receiver / e5fca6b5-ecf3-4853-81af-1815d4620f91 HTTP / 1.1

Host: 91.242.171.9:6180

User-Agent: Mozilla / 5.0 (Windows NT 6.3; WOW64; rv: 42.0) Gecko / 20100101 Firefox / 42.0

Accept: text / html, application / xhtml xml, application / xml; q = 0.9, * / *; q = 0.8

Accept-Language: ru-RU, ru; q = 0.8, en-US; q = 0.5, en; q = 0.3

Accept-Encoding: gzip, deflate

Content-Type: text / xml; charset = UTF-8

Content-Length: 398

Connection: keep-alive

Pragma: no-cache

Cache-Control: no-cache

 

 

<? xml version = "1.0" encoding = "windows-1251"?>

<soapenv: Envelope xmlns: soapenv = "http://schemas.xmlsoap.org/soap/envelope" xmlns: ws = "http://schemas.xmlsoap.org/soap/ws">

<soapenv: Header />

<soapenv: Body>

<ws: PutCoord>

<ObjectID> 442 419 </ ObjectID>

<Coord time = "2015-12-08T13: 05: 29Z" lon = "66.6279" lat = "66.5296" alt = "0" speed = "29" dir = "275" valid = "1" />

</ ws: PutCoord>

</ soapenv: Body>

</ soapenv: Envelope> HTTP / 1.1 200 OK

Content-Length: 0

Date: Tue, 08 Dec 2015 13:21:48 GMT

Server: ArcGIS GeoEvent Extension for Server 10.3.0

Outcomes