Mehmet Emin Yalçın (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0e2b4a48-299d-4931-a7a1-bfb9c36c8b0c
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10935?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
) GEOS-10935 (
https://osgeo-org.atlassian.net/browse/GEOS-10935?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
) WPS Failed to retrieve value for input features Could not locate
{catalog}layer in catalog (
https://osgeo-org.atlassian.net/browse/GEOS-10935?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.21.4, 2.22.0, 2.22.2 Assignee: Unassigned
Components: WPS Created: 13/Apr/23 9:48 AM Priority: High Reporter: Mehmet Emin
Yalçın (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0e2b4a48-299d-4931-a7a1-bfb9c36c8b0c
)
Wps requests related to wfs layer give this message when there is more than one
catalog in Geoserver. I think its because of requests that sended by wps to wfs
service. I don't know maybe its exists but there sould be an attribute for wfs
url for the request
for example default wfs url http://172.15.50.130:30201/geoserver /wps but when
there is more than one catalog wfs doesn't return result by this url. If there
is more than one catalog you should specify catalog in url like this
http://172.15.50.130:30201/geoserver /iller/wfs
for example in my case
url : http://172.15.50.130:30201/geoserver/wps
post :
<?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0"
service="WPS" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" (
http://www.w3.org/2001/XMLSchema-instance%22 ) xmlns="
http://www.opengis.net/wps/1.0.0" ( http://www.opengis.net/wps/1.0.0%22 )
xmlns:wfs=" http://www.opengis.net/wfs" ( http://www.opengis.net/wfs%22 )
xmlns:wps=" http://www.opengis.net/wps/1.0.0" (
http://www.opengis.net/wps/1.0.0%22 ) xmlns:ows="
http://www.opengis.net/ows/1.1" ( http://www.opengis.net/ows/1.1%22 )
xmlns:gml=" http://www.opengis.net/gml" ( http://www.opengis.net/gml%22 )
xmlns:ogc=" http://www.opengis.net/ogc" ( http://www.opengis.net/ogc%22 )
xmlns:wcs=" http://www.opengis.net/wcs/1.1.1" (
http://www.opengis.net/wcs/1.1.1%22 ) xmlns:xlink="
http://www.w3.org/1999/xlink" ( http://www.w3.org/1999/xlink%22 )
xsi:schemaLocation=" http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" (
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd%22 ) >
[ows:Identifier|ows:Identifier] gs:Unique</ows:Identifier>
[wps:DataInputs|wps:DataInputs]
[wps:Input|wps:Input]
[ows:Identifier|ows:Identifier] features</ows:Identifier>
<wps:Reference mimeType="text/xml" xlink:href=" http://geoserver/wfs" (
http://geoserver/wfs%22 ) method="POST">
[wps:Body|wps:Body]
<wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"
xmlns:iller="iller">
<wfs:Query typeName="iller:iller"/>
</wfs:GetFeature>
</wps:Body>
</wps:Reference>
</wps:Input>
[wps:Input|wps:Input]
[ows:Identifier|ows:Identifier] attribute</ows:Identifier>
[wps:Data|wps:Data]
[wps:LiteralData|wps:LiteralData] bolge_adi</wps:LiteralData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
[wps:ResponseForm|wps:ResponseForm]
<wps:RawDataOutput mimeType="application/json">
[ows:Identifier|ows:Identifier] result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
result :
<?xml version="1.0" encoding="UTF-8"?>
<wps:ExecuteResponse
xmlns:xs=" http://www.w3.org/2001/XMLSchema" (
http://www.w3.org/2001/XMLSchema%22 )
xmlns:ows=" http://www.opengis.net/ows/1.1" ( http://www.opengis.net/ows/1.1%22
)
xmlns:wps=" http://www.opengis.net/wps/1.0.0" (
http://www.opengis.net/wps/1.0.0%22 )
xmlns:xlink=" http://www.w3.org/1999/xlink" ( http://www.w3.org/1999/xlink%22 )
xml:lang="en" service="WPS" serviceInstance="
http://172.15.50.130:30201/geoserver/ows?" (
http://172.15.50.130:30201/geoserver/ows?%22 ) version="1.0.0">
<wps:Process wps:processVersion="1.0.0">
[ows:Identifier|ows:Identifier] gs:Unique</ows:Identifier>
[ows:Title|ows:Title] Unique</ows:Title>
[ows:Abstract|ows:Abstract] Returns the unique values of a given attribute in a
feature collection.</ows:Abstract>
</wps:Process>
<wps:Status creationTime="2023-04-13T07:20:01.154Z">
[wps:ProcessFailed|wps:ProcessFailed]
<ows:ExceptionReport version="1.1.0">
<ows:Exception exceptionCode="NoApplicableCode">
[ows:ExceptionText|ows:ExceptionText] Failed to retrieve value for input
features
Could not locate
{iller}
iller in catalog.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
</wps:ProcessFailed>
</wps:Status>
</wps:ExecuteResponse>
(
https://osgeo-org.atlassian.net/browse/GEOS-10935#add-comment?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10935#add-comment?atlOrigin=eyJpIjoiNmIyNjlkMTM4NmQ5NDlmOGE0MmQxNzU0NTcwZmZlMjciLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221-
sha1:5609d8c )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel