# Adding external WMS via cesiums default proxy

**URL:** <https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956>\
**Category:** CesiumJS\
**Created:** [December 26, 2016, 12:47pm UTC](https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956 "2016-12-26T12:47:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farook\_M](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/farook_m/32/3196_2.png) [@Farook\_M](https://community.cesium.com/u/Farook_M)\
**Post date:** [December 26, 2016, 12:47pm UTC](https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956/1 "2016-12-26T12:47:33Z")

</div>

I have an external WMS url to add it in cesium application. I am using tomcat server to host the cesium application. Below is my code  
new Cesium.WebMapServiceImageryProvider({

url : ‘[http://sgu.se/geoserver/yyyyyy/wms](http://sgu.se/geoserver/yyyyyy/wms)’,

layers : ‘zzzzz’,

proxy : new Cesium.DefaultProxy(’/proxy/’),

parameters : {

transparent : ‘true’,

format : ‘image/png’

}

})

``

Do i need to do anyother additional configuration?

---

<div class="post-metadata">

**Author:** ![Scott\_Reynolds](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scott_reynolds/32/2014_2.png) [@Scott\_Reynolds](https://community.cesium.com/u/Scott_Reynolds)\
**Post date:** [December 27, 2016, 5:39pm UTC](https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956/2 "2016-12-27T17:39:18Z")

</div>

Nothing else required. Are you having a problem?

---

<div class="post-metadata">

**Author:** ![Farook\_M](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/farook_m/32/3196_2.png) [@Farook\_M](https://community.cesium.com/u/Farook_M)\
**Post date:** [December 28, 2016, 3:46am UTC](https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956/3 "2016-12-28T03:46:52Z")

</div>

Yes My WMS is not getting added to the map.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [December 28, 2016, 3:58pm UTC](https://community.cesium.com/t/adding-external-wms-via-cesiums-default-proxy/4956/4 "2016-12-28T15:58:52Z")

</div>

Are there any error messages in the console?

-Hannah
