Revision 41702
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/main/java/org/gvsig/remoteclient/ogc/request/OGCRequest.java | ||
---|---|---|
81 | 81 |
} |
82 | 82 |
|
83 | 83 |
//if exists an online resource for the GET operation |
84 |
String onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), WFSOperation.PROTOCOL_GET);
|
|
84 |
String onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), OGCClientOperation.PROTOCOL_GET);
|
|
85 | 85 |
if (onlineResource != null){ |
86 | 86 |
String symbol = getSymbol(onlineResource); |
87 | 87 |
onlineResource = onlineResource + symbol; |
88 | 88 |
return sendHttpGetRequest(onlineResource, cancel); |
89 | 89 |
} |
90 | 90 |
//if exists an online resource for the POST operation |
91 |
onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), WFSOperation.PROTOCOL_POST);
|
|
91 |
onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), OGCClientOperation.PROTOCOL_POST);
|
|
92 | 92 |
if (onlineResource != null){ |
93 | 93 |
return sendHttpPostRequest(onlineResource); |
94 | 94 |
} |
... | ... | |
114 | 114 |
* @throws MalformedURLException |
115 | 115 |
*/ |
116 | 116 |
public URL getURL() throws MalformedURLException{ |
117 |
String onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), WFSOperation.PROTOCOL_GET);
|
|
117 |
String onlineResource = protocolHandler.getServiceInformation().getOnlineResource(getOperationName(), OGCClientOperation.PROTOCOL_GET);
|
|
118 | 118 |
if (onlineResource != null){ |
119 | 119 |
String symbol = getSymbol(onlineResource); |
120 | 120 |
onlineResource = onlineResource + symbol; |
Also available in: Unified diff