On 15/10/2014 13:20, Deniz .. wrote:
> Hello again Alan,
> The former was my Apache server error log. This is the PYWPS server
> error log:
> Thank you..
> Deniz
>
> error log:
>
> Traceback (most recent call last):
>    File "C:/pywps\wps.py", line 87, in <module>
>      if wps.parseRequest(inputQuery):
>    File "C:/pywps\pywps\__init__.py", line 213, in parseRequest
>      self.inputs = self.parser.parse(queryStringObject)
>    File "C:/pywps\pywps\Parser\Post.py", line 108, in parse
>      firstChild = self.isSoapFirstChild(self.document)
>    File "C:/pywps\pywps\Parser\Post.py", line 232, in isSoapFirstChild
>      soapCls = Soap.SOAP(firstChild)
>    File "C:/pywps\pywps\Soap.py", line 284, in __init__
>      raise pywps.NoApplicableCode(e.message)
> NoApplicableCode: <?xml version="1.0" encoding="utf-8"?>
> <ExceptionReport version="1.0.0" xmlns="http://www.opengis.net/ows/1.1";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.opengis.net/ows/1.1
> http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd";>
>      <Exception exceptionCode="NoApplicableCode">
>          <ExceptionText>
>              u'XML declaration allowed only at the start of the
> document, line 1, column 118'
>          </ExceptionText>
>      </Exception>
> </ExceptionReport>

I think this is what Jorge will need. It looks to me as if somehow the 
XML inside the SOAP message sent by Taverna is being unescaped in 
Soap.py. That confuses it as it has a full XML document inside another 
full XML document (the SOAP message itself).

I could suggest a hack of removing the first line from the XML document, 
but do not try that until you have asked Jorge.

Alan


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to