Ejemplo n.º 1
0
 @Test
 public void testUserSuppliedDefaultNamespace() throws Exception {
   testGetFifteenAll(
       "wfs?request=GetFeature&typename=Fifteen&version=1.1.0&service=wfs&"
           + "namespace=xmlns("
           + URLEncoder.encode(SystemTestData.FIFTEEN.getNamespaceURI(), "UTF-8")
           + ")");
 }
Ejemplo n.º 2
0
 @Test
 public void testUserSuppliedNamespacePrefix() throws Exception {
   testGetFifteenAll(
       "wfs?request=GetFeature&typename=myPrefix:Fifteen&version=1.1.0&service=wfs&"
           + "namespace=xmlns(myPrefix%3D" // the '=' sign shall be encoded, hence '%3D'
           + URLEncoder.encode(SystemTestData.FIFTEEN.getNamespaceURI(), "UTF-8")
           + ")");
 }