after reading http://xserver.ptvgroup.com/forum/viewt ... f=15&t=121 I just tried to display TruckAttributes with OpenLayers via WMS (by the way, switching different styles classic, gravelpit, sandbox, silkysand as background maps and switching on/off labels as overlay layers works fine).
But when switching on the TruckAttributes layer there is nothing to see as if everything were transparent in this layer.
So I took a look into the logs and in the WMS.log I found there
Code: Select all
2017-04-04 15:53:58,481;ERROR;com.ptvag.wms.layer.http.HttpComponentsBasedClient;http-bio-50010-exec-18;WMS ERROR: 500, Internal Server Error
2017-04-04 15:53:58,482;ERROR;com.ptvag.wms.layer.http.HttpComponentsBasedClient;http-bio-50010-exec-18;Unable to render map, RoadEditorLayer is not licensed. Please contact your vendor for a proper license.
Code: Select all
xmap.maps=*
xmap.base=true
xmap.layers.poi=true
xmap.layers.trafficInfo=true
xmap.layers.RoadEditor=true
xmap.layers.rasterLayer=true
Code: Select all
2017-04-04 16:41:07,222;WARN;com.ptvag.xserver.module.xmap.m0001;743efc15-d94a-477c-a1ae-eaeacce2f554;WMS;1;;Requested profile truckattributes.xml which does not exist, using default.xml instead.
2017-04-04 16:41:07,363;WARN;com.ptvag.xserver.module.xmap.m0001;743efc15-d94a-477c-a1ae-eaeacce2f554;WMS;1;;1-6380: Error 243 (Unable to render map, RoadEditorLayer is not licensed. Please contact your vendor for a proper license.) in map request, 149ms
2017-04-04 16:41:07,487;INFO;RequestTimes;id;client host;user;port;clusterId;service;success;log1;log2;log3;profile;pool instance;deserialization;input trafo;module queueing;module time;output trafo;serialization;total inner;total outer;transaction;use-cases;ref-coord 1;ref-coord 2;dynamic provider;dimensions;additionalInfo;errorType;errorCode;errorMsg
2017-04-04 16:41:07,488;INFO;RequestTimes;743efc15-d94a-477c-a1ae-eaeacce2f554;127.0.0.1;unknown-http;50010;unknown-cluster;XMap.renderMapBoundingBox;false;WMS;1;;truckattributes;m0001;155;0;3;272;0;102;960;1218;NO-TXN;;;;;;;com.ptvag.xserver.xmap.XMapException;243;Unable to render map, RoadEditorLayer is not licensed. Please contact your vendor for a proper license.
2017-04-04 16:41:07,489;INFO;RequestLogging;request-content: #743efc15-d94a-477c-a1ae-eaeacce2f554-m0001-000000001: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><renderMapBoundingBox xmlns="http://types.xmap.xserver.ptvag.com"><BoundingBox_1><leftTop xmlns="http://common.xserver.ptvag.com"><point x="1451613.0033227727" y="6726673.820213401" /></leftTop><rightBottom xmlns="http://common.xserver.ptvag.com"><point x="1691433.054954119" y="6567251.894773024" /></rightBottom></BoundingBox_1><MapParams_2 showScale="false" useMiles="false"/><ImageInfo_3 format="GIF" height="1044" width="1570"/><ArrayOfLayer_4><Layer xsi:type="StaticLayer" name="background" visible="false" category="-1" detailLevel="0" objectInfos="NONE" xmlns="http://xmap.xserver.ptvag.com" /><Layer xsi:type="StaticLayer" name="town" visible="false" category="-1" detailLevel="0" objectInfos="NONE" xmlns="http://xmap.xserver.ptvag.com" /><Layer xsi:type="StaticLayer" name="background" visible="false" category="-1" detailLevel="0" objectInfos="NONE" xmlns="http://xmap.xserver.ptvag.com" /><Layer xsi:type="StaticLayer" name="street" visible="true" category="-1" detailLevel="0" objectInfos="NONE" xmlns="http://xmap.xserver.ptvag.com" /><Layer xsi:type="RoadEditorLayer" name="truckattributes" visible="true" objectInfos="NONE" xmlns="http://xmap.xserver.ptvag.com" /></ArrayOfLayer_4><boolean_5>true</boolean_5><CallerContext_6 log1="WMS" log2="1"><wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com"><CallerContextProperty key="Profile" value="truckattributes"/><CallerContextProperty key="CoordFormat" value="PTV_MERCATOR"/></wrappedProperties></CallerContext_6></renderMapBoundingBox></soap:Body></soap:Envelope>
Code: Select all
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<renderMapBoundingBox xmlns="http://types.xmap.xserver.ptvag.com">
<BoundingBox_1>
<leftTop xmlns="http://common.xserver.ptvag.com">
<point y="6726673.820213401" x="1451613.0033227727" />
</leftTop>
<rightBottom xmlns="http://common.xserver.ptvag.com">
<point y="6567251.894773024" x="1691433.054954119" />
</rightBottom>
</BoundingBox_1>
<MapParams_2 useMiles="false" showScale="false" />
<ImageInfo_3 width="1570" height="1044" format="GIF" />
<ArrayOfLayer_4>
<Layer xmlns="http://xmap.xserver.ptvag.com" name="background" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StaticLayer" objectInfos="NONE" detailLevel="0" category="-1" visible="false" />
<Layer xmlns="http://xmap.xserver.ptvag.com" name="town" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StaticLayer" objectInfos="NONE" detailLevel="0" category="-1" visible="false" />
<Layer xmlns="http://xmap.xserver.ptvag.com" name="background" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StaticLayer" objectInfos="NONE" detailLevel="0" category="-1" visible="false" />
<Layer xmlns="http://xmap.xserver.ptvag.com" name="street" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="StaticLayer" objectInfos="NONE" detailLevel="0" category="-1" visible="true" />
<Layer xmlns="http://xmap.xserver.ptvag.com" name="truckattributes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RoadEditorLayer" objectInfos="NONE" visible="true" />
</ArrayOfLayer_4>
<boolean_5>true</boolean_5>
<CallerContext_6 log2="1" log1="WMS">
<wrappedProperties xmlns="http://baseservices.service.jabba.ptvag.com">
<CallerContextProperty value="truckattributes" key="Profile" />
<CallerContextProperty value="PTV_MERCATOR" key="CoordFormat" />
</wrappedProperties>
</CallerContext_6>
</renderMapBoundingBox>
</soap:Body>
</soap:Envelope>
Code: Select all
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:243</faultcode>
<faultstring>Unable to render map, RoadEditorLayer is not licensed. Please contact your vendor for a proper license.</faultstring>
<detail>
<ns2:XMapException xmlns:ns2="http://xmap.xserver.ptvag.com">
<ns6:stackElement xmlns:ns6="http://exception.core.jabba.ptvag.com" message="Unable to render map, RoadEditorLayer is not licensed. Please contact your vendor for a proper license." errorKey="243" className="com.ptvag.xserver.xmap.XMapException">
<ns6:cause xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
<ns6:wrappedContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
</ns6:stackElement>
</ns2:XMapException>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Best regards, Birk