Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Problem executing process

Hi John;

Going through old GeoTools messages and found Brian Rook working on WPS. I saw your email to udig-devel with respect to wps / process work - you may wish to also say hi on the GeoTools list.

Jody

On 22/12/2009, at 3:51 AM, BrianRook wrote:

> 
> We're using a WPS implementation.  In that implementation we've created a
> service called 'echo' which takes a string in and returns that same string. 
> This is a demo service that was created in order to prove out the WPS
> implementation.  Now we want to confirm that the xml returned by the
> execution of the service that we created and the xml that describes that
> service (from GetCapabilities and DescribeProcess) works with uDIG.  That
> would show that the response documents are correctly formatted.  
> 
> I've setup uDIG to point to this WPS implementation and it can locate the
> services so I think the GetCapabilities and DescribeProcess operations are
> working.  However, I can't actually execute the service.  
> 
> I'd like to find out why.  I'm trying to determine its a problem with the
> DescribeProcess response or with the Execute response.
> 
> 
> 
> Andrea Antonello wrote:
>> 
>> Hi Brian,
>> can you describe a bit more what you are doing from the begin please?
>> 
>> Andrea
>> 
>> 
>> On Wed, Dec 16, 2009 at 8:00 PM, BrianRook <brook@xxxxxxxxxx> wrote:
>>> 
>>> I'm trying to run a process and I've got a real simple one that returns
>>> the
>>> input value (echo)  Here is the process description from uDig:
>>> 
>>> <xml-fragment statusSupported="false" storeSupported="false"
>>> wps:processVersion="1" xmlns:ows="http://www.opengis.net/ows/1.1";
>>> xmlns:wps="http://www.opengis.net/wps/1.0.0";
>>> xmlns:xlink="http://www.w3.org/1999/xlink";
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>>  <ows:Identifier>com.ittvis.wps.Echo</ows:Identifier>
>>>  <ows:Title>Echo</ows:Title>
>>>  <ows:Abstract>Returns the input</ows:Abstract>
>>>  <!--<ows:Metadata xlink:title="spatial" />-->
>>>  <DataInputs>
>>>    <Input maxOccurs="1" minOccurs="1">
>>>      <ows:Identifier>INPUT_STRING</ows:Identifier>
>>>      <ows:Title>Input String</ows:Title>
>>>      <ows:Abstract>String to input</ows:Abstract>
>>>      <LiteralData>
>>>        <ows:DataType ows:reference="xs:string"/>
>>>      </LiteralData>
>>>    </Input>
>>>  </DataInputs>
>>>  <ProcessOutputs>
>>>    <Output>
>>>      <ows:Identifier>OUTPUT_STRING</ows:Identifier>
>>>      <ows:Title>Output String</ows:Title>
>>>      <ows:Abstract>String to return</ows:Abstract>
>>>      <LiteralData>
>>>        <ows:DataType ows:reference="xs:string"/>
>>>      </LiteralData>
>>>    </Output>
>>>  </ProcessOutputs>
>>> </xml-fragment>
>>> 
>>> However, on the next screen in uDig when I put in the input string and
>>> hit
>>> next, I get this error:
>>> "Unable to recognize service, choose another".  When I click on that
>>> message
>>> I get an error box that says java.lang.String cannot be cast to
>>> net.refractions.udig.catalog.IResolve.
>>> 
>>> Could you help me understand what this error means?
>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Problem-executing-process-tp4177327p4177327.html
>>> Sent from the udig-users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> udig-users mailing list
>>> udig-users@xxxxxxxxxxxxxxxxxxxxx
>>> http://lists.refractions.net/mailman/listinfo/udig-users
>>> 
>> _______________________________________________
>> udig-users mailing list
>> udig-users@xxxxxxxxxxxxxxxxxxxxx
>> http://lists.refractions.net/mailman/listinfo/udig-users
>> 
>> 
> 
> -- 
> View this message in context: http://n2.nabble.com/Problem-executing-process-tp4177327p4199343.html
> Sent from the udig-users mailing list archive at Nabble.com.
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users



Back to the top