[Pywps-devel] pywps - soap
Jachym Cepicky
jachym.cepicky at gmail.com
Mon Jun 14 08:26:36 CEST 2010
It should be
<ows:Identifier>TestProcess</ows:Identifier>, not Identification
however, I got little bit different error message (working on linux) ..
try it and let us see, what happend ..
jachym
Arnaud De Groof píše v Pá 11. 06. 2010 v 16:36 +0200:
> Hi
>
>
>
> I updated my PyWPS version with the trunk (rev. 952) but I encountered
> another error.
>
> I tested the following GetCapabilities request:
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <soapenv:Envelope
>
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>
> xmlns:tns="urn:wwwsa-WpsAustal-service-sse"
> xmlns:wps="http://www.opengis.net/wps/1.0.0"
>
> xmlns:ows="http://www.opengis.net/ows/1.1"
>
> xmlns:xlink="http://www.w3.org/1999/xlink"
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
>
> <soapenv:Body>
>
> <wps:DescribeProcess service="WPS" version="1.0.0"
>
>
> xsi:schemaLocation="http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess.xsd">
>
> <ows:Identification>TestProcess</ows:Identification>
>
> </wps:DescribeProcess>
>
> </soapenv:Body>
>
> </soapenv:Envelope>
>
>
>
> The error:
>
>
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] Premature end
> of script headers: wps.py
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] Traceback
> (most recent call last):\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] File
> "C:/Apache/Apache2.2/cgi-bin/pywps-trunk/wps.py", line 89, in
> <module>\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] if
> wps.parseRequest(inputQuery):\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] File "C:\
> \Apache\\Apache2.2\\cgi-bin\\pywps-trunk\\pywps\\__init__.py", line
> 211, in parseRequest\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31]
> self.inputs = self.parser.parse(queryStringObject)\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] File "C:\
> \Apache\\Apache2.2\\cgi-bin\\pywps-trunk\\pywps\\Parser\\Post.py",
> line 108, in parse\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] firstChild
> = self.isSoapFirstChild(self.document)\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] File "C:\
> \Apache\\Apache2.2\\cgi-bin\\pywps-trunk\\pywps\\Parser\\Post.py",
> line 231, in isSoapFirstChild\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] soapCls =
> Soap.SOAP(firstChild)\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31] File "C:\
> \Apache\\Apache2.2\\cgi-bin\\pywps-trunk\\pywps\\Soap.py", line 72, in
> __init__\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31]
> self.nsIndex = soap_env_NS.index(document.namespaceURI)\r
>
> [Fri Jun 11 16:22:45 2010] [error] [client 172.17.5.31]
> AttributeError: 'tuple' object has no attribute 'index'\r
>
>
>
> For the Execute and the DescribeProcess request in SOAP, I encountered
> the same error.
>
>
>
> Arnaud
>
>
>
> -----Original Message-----
> From: Jachym Cepicky [mailto:jachym.cepicky at gmail.com]
> Sent: vendredi 11 juin 2010 8:52
> To: Arnaud De Groof
> Cc: pywps-devel at wald.intevation.org
> Subject: Re: [Pywps-devel] pywps - soap
>
>
>
> hi,
>
>
>
> could you update trunk (rev. 952) at have a little test again?
>
>
>
> thanks
>
>
>
> jachym
>
>
>
> Arnaud De Groof píše v Pá 04. 06. 2010 v 10:18 +0200:
>
> > Hi,
>
> >
>
> >
>
> >
>
> > I have tried the following example without success:
>
> >
>
> >
>
> >
>
> > <?xml version="1.0" encoding="UTF-8"?>
>
> >
>
> > <soapenv:Envelope
>
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
>
> >
>
> > <soapenv:Header />
>
> >
>
> > <soapenv:Body>
>
> >
>
> > <wps:Execute service="WPS" version="1.0.0"
>
> > xmlns:wps="http://www.opengis.net/wps/1.0.0"
>
> > xmlns:ows="http://www.opengis.net/ows/1.1"
>
> > xmlns:xlink="http://www.w3.org/1999/xlink"
>
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> >
> xsi:schemaLocation="http://www.opengis.net/wps/1.0.0/wpsExecute_request.xsd">
>
> >
>
> > <ows:Identifier>TestProcess</ows:Identifier>
>
> >
>
> > <wps:DataInputs>
>
> >
>
> > <wps:Input>
>
> >
>
> > <ows:Identifier>input1</ows:Identifier>
>
> >
>
> > <wps:Data>
>
> >
>
> > <wps:LiteralData>55</wps:LiteralData>
>
> >
>
> > </wps:Data>
>
> >
>
> > </wps:Input>
>
> >
>
> > <wps:Input>
>
> >
>
> > <ows:Identifier>input2</ows:Identifier>
>
> >
>
> > <wps:Data>
>
> >
>
> > <wps:LiteralData>20</wps:LiteralData>
>
> >
>
> > </wps:Data>
>
> >
>
> > </wps:Input>
>
> >
>
> > </wps:DataInputs>
>
> >
>
> > <wps:ResponseForm>
>
> >
>
> > <wps:ResponseDocument wps:lineage="false"
>
> > storeExecuteResponse="true" status="undefined">
>
> >
>
> > <wps:Output wps:asReference="false">
>
> >
>
> > <ows:Identifier>output1</ows:Identifier>
>
> >
>
> > </wps:Output>
>
> >
>
> > </wps:ResponseDocument>
>
> >
>
> > </wps:ResponseForm>
>
> >
>
> > </wps:Execute>
>
> >
>
> > </soapenv:Body>
>
> >
>
> > </soapenv:Envelope>
>
> >
>
> >
>
> >
>
> > Here the response message:
>
> >
>
> > <ExceptionReport version="1.0.0" xmlns="http://www.opengis.net/ows"
>
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
> >
>
> > <Exception exceptionCode="MissingParameterValue"
>
> > locator="version"/>
>
> >
>
> > </ExceptionReport>
>
> >
>
> >
>
> >
>
> > Have you an idea?
>
> >
>
> >
>
> >
>
> > Thanks,
>
> >
>
> >
>
> >
>
> > Arnaud
>
> >
>
> >
>
> >
>
> > -----Original Message-----
>
> > From: Jachym Cepicky [mailto:jachym.cepicky at gmail.com]
>
> > Sent: vendredi 4 juin 2010 7:32
>
> > To: Arnaud De Groof
>
> > Cc: pywps-devel at wald.intevation.org
>
> > Subject: Re: [Pywps-devel] pywps - soap
>
> >
>
> >
>
> >
>
> > Hi,
>
> >
>
> > there is limited support for SOAP in PyWPS. No authorization for
>
> > example
>
> >
>
> > is possible. There would be option to use ZSI library for example,
> but
>
> > I
>
> >
>
> > have no time yet to have a look at it.
>
> >
>
> >
>
> >
>
> > Hmm, there seem to be no example of using it, but it should be
>
> >
>
> > sufficient, if you put standard Execute request into SOAP envelope
> and
>
> >
>
> > send it via HTTP POST to PyWPS.
>
> >
>
> >
>
> >
>
> > jachym
>
> >
>
> >
>
> >
>
> > Arnaud De Groof píše v Út 01. 06. 2010 v 15:59 +0200:
>
> >
>
> > > Hi,
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Is it possible to use pyWPS with SOAP? Have you an example for a
>
> >
>
> > > Execute request encoded in SOAP?
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Thanks,
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > Arnaud
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
> ______________________________________________________________________
>
> >
>
> > >
>
> >
>
> > > E-MAIL DISCLAIMER
>
> >
>
> > >
>
> >
>
> > > The present message may contain confidential and/or legally
>
> > privileged
>
> >
>
> > > information. If you are not the intended addressee and in case of
> a
>
> >
>
> > > transmission error, please notify the sender immediately and
> destroy
>
> >
>
> > > this E-mail. Disclosure, reproduction or distribution of this
>
> > document
>
> >
>
> > > and its possible attachments is strictly forbidden.
>
> >
>
> > >
>
> >
>
> > > SPACEBEL denies all liability for incomplete, improper,
> inaccurate,
>
> >
>
> > > intercepted, (partly) destroyed, lost and/or belated transmission
> of
>
> >
>
> > > the current information given that unencrypted electronic
>
> > transmission
>
> >
>
> > > cannot currently be guaranteed to be secure or error free.
>
> >
>
> > > Upon request or in conformity with formal, contractual agreements,
>
> > an
>
> >
>
> > > originally signed hard copy will be sent to you to confirm the
>
> >
>
> > > information contained in this E-mail.
>
> >
>
> > >
>
> >
>
> > > SPACEBEL denies all liability where E-mail is used for private
> use.
>
> >
>
> > >
>
> >
>
> > > SPACEBEL cannot be held responsible for possible viruses that
> might
>
> >
>
> > > corrupt this message and/or your computer system.
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > >
>
> >
> ______________________________________________________________________
>
> >
>
> > >
>
> >
>
> > > _______________________________________________
>
> >
>
> > > Pywps-devel mailing list
>
> >
>
> > > Pywps-devel at wald.intevation.org
>
> >
>
> > > http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > Jachym Cepicky
>
> >
>
> > e-mail: jachym.cepicky gmail com
>
> >
>
> > URL: http://les-ejk.cz
>
> >
>
> > PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp
>
> >
>
> >
>
> >
>
> >
> ______________________________________________________________________
>
> >
>
> > E-MAIL DISCLAIMER
>
> >
>
> > The present message may contain confidential and/or legally
> privileged
>
> > information. If you are not the intended addressee and in case of a
>
> > transmission error, please notify the sender immediately and destroy
>
> > this E-mail. Disclosure, reproduction or distribution of this
> document
>
> > and its possible attachments is strictly forbidden.
>
> >
>
> > SPACEBEL denies all liability for incomplete, improper, inaccurate,
>
> > intercepted, (partly) destroyed, lost and/or belated transmission of
>
> > the current information given that unencrypted electronic
> transmission
>
> > cannot currently be guaranteed to be secure or error free.
>
> > Upon request or in conformity with formal, contractual agreements,
> an
>
> > originally signed hard copy will be sent to you to confirm the
>
> > information contained in this E-mail.
>
> >
>
> > SPACEBEL denies all liability where E-mail is used for private use.
>
> >
>
> > SPACEBEL cannot be held responsible for possible viruses that might
>
> > corrupt this message and/or your computer system.
>
> >
>
> >
>
> >
> ______________________________________________________________________
>
> >
>
> > _______________________________________________
>
> > Pywps-devel mailing list
>
> > Pywps-devel at wald.intevation.org
>
> > http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
>
>
> --
>
> Jachym Cepicky
>
> e-mail: jachym.cepicky gmail com
>
> URL: http://les-ejk.cz
>
> PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp
>
>
>
> ______________________________________________________________________
>
> E-MAIL DISCLAIMER
>
> The present message may contain confidential and/or legally privileged
> information. If you are not the intended addressee and in case of a
> transmission error, please notify the sender immediately and destroy
> this E-mail. Disclosure, reproduction or distribution of this document
> and its possible attachments is strictly forbidden.
>
> SPACEBEL denies all liability for incomplete, improper, inaccurate,
> intercepted, (partly) destroyed, lost and/or belated transmission of
> the current information given that unencrypted electronic transmission
> cannot currently be guaranteed to be secure or error free.
> Upon request or in conformity with formal, contractual agreements, an
> originally signed hard copy will be sent to you to confirm the
> information contained in this E-mail.
>
> SPACEBEL denies all liability where E-mail is used for private use.
>
> SPACEBEL cannot be held responsible for possible viruses that might
> corrupt this message and/or your computer system.
>
>
> ______________________________________________________________________
>
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20100614/cc335431/attachment.pgp
More information about the Pywps-devel
mailing list