Registration of a new Gateway Application [message #1396563] |
Tue, 08 July 2014 13:37 |
Hao XU Messages: 18 Registered: June 2014 |
Junior Member |
|
|
Hello everyone,
I am trying to register my Gateway Application to OM2M GSCL. But I haven't successed, here is the trace:
juil. 02, 2014 12:09:53 PM org.eclipse.om2m.comm.http.RestHttpServlet service
Infos: HttpRequest [method=POST, URI=/gscl/applications, representation=<?xml ve
rsion="1.0" encoding="UTF-8"?><ns1:application xmlns:ns1="http://uri.etsi.org/m2
m" appId="DA1" xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
<ns1:searchStrings>
<ns1:searchString>FRIGO_TEMPERATURE_DEV_APP </ns1:searchString>
</ns1:searchStrings>
</ns1:application>, Authorization=null, queryString=null]
juil. 02, 2014 12:09:53 PM org.eclipse.om2m.core.router.Router doRequest
Infos: RequestIndication [method=CREATE, base=null, targetID=/gscl/applications,
representation=<?xml version="1.0" encoding="UTF-8"?><ns1:application xmlns:ns1
="http://uri.etsi.org/m2m" appId="DA1" xmlns:xmime="http://www.w3.org/2005/05/xm
lmime">
<ns1:searchStrings>
<ns1:searchString>FRIGO_TEMPERATURE_DEV_APP </ns1:searchString>
</ns1:searchStrings>
</ns1:application>, requestingEntity=null, protocol=http]
juil. 02, 2014 12:09:53 PM org.eclipse.om2m.comm.http.RestHttpServlet service
Infos: HttpResponse [statusCode=402]
I have also compare this trace to that of the Sample simulated IPU, there are two differences:
1, targetID=/gscl/applications compared to targetID=gscl/applications
é, requestingEntity=null, protocol=http compared to requestingEntity=admin/admin, protocol=null
Could someone help me?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03244 seconds