You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Donoghue, Mark" <Ma...@PearsonEd.com> on 2003/05/23 15:19:10 UTC

RE: "SOAP-ENV:Envelope" must be followed by either ...

Is there a line break after
'xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"'?  Looks like
the parser is not reading in the rest of the tag.  Try putting the whole tag
on pone line and see if that fixes it.

-Mark

> -----Original Message-----
> From: Dirk Reiss [mailto:d.reiss@tu-bs.de]
> Sent: Friday, May 23, 2003 10:43 AM
> To: soap-user@ws.apache.org
> Subject: "SOAP-ENV:Envelope" must be followed by either ...
> 
> 
> hello,
> 
> i try to call the soap-messagerouter with the following envelope:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
>   <SOAP-ENV:Body>
>     <xsp:page xmlns:xsp="http://apache.org/xsp" 
> xmlns:smartframe="http://www.smartframe.de/xsl" 
> xmlns:cinclude="http://apache.org/cocoon/include/1.0">
>       <smartframe:header />
>       <smartframe:le>
>         <lmml xml:lang="de" />
>       </smartframe:le>
>     </xsp:page>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> what i get back looks like the following:
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Client</faultcode>
> <faultstring>parsing error: org.xml.sax.SAXParseException: 
> Element type &quot;SOAP-ENV:Envelope&quot; must be followed 
> by either attribute specifications, &quot;&gt;&quot; or 
> &quot;/&gt;&quot;.</faultstring>
> <faultactor>/soap/servlet/messagerouter</faultactor>
> </SOAP-ENV:Fault>
> 
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> more readable, what in catalina.out is:
> [Fatal Error] :2:79: Element type "SOAP-ENV:Envelope" must be 
> followed by either attribute specifications, ">" or "/>".
> 
> i have tomcat-4.1.24 running with the lates soap...
> 
> any help would be greatly appreciated,
> thanks in advance,
> 
> dirk
> -- 
> +--------------------------+---------------------------------+
> | Dirk Reiss               |    phone:  ++49 (0) 531 7996276 
> |                 
> | Helmstedter Str. 134     |    mobile: ++49 (0) 162 8925618 |
> | D - 38102 Braunschweig   |    email:      d.reiss@tu-bs.de |
> +--------------------------+---------------------------------+
> 


****************************************************************************
This email may contain confidential material.
If you were not an intended recipient, 
please notify the sender and delete all copies.
We may monitor email to and from our network.

****************************************************************************



Re: "SOAP-ENV:Envelope" must be followed by either ...

Posted by Dirk Reiss <d....@tu-bs.de>.
On Fri, May 23, 2003 09:19:10, Donoghue, Mark wrote:
> 
> Is there a line break after
> 'xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"'?  Looks like
> the parser is not reading in the rest of the tag.  Try putting the whole tag
> on pone line and see if that fixes it.
> 
> -Mark


thanks for replying..
No, there used to be no line break, i did the wrap myself...
any further ideas?

greets,
dirk
-- 
+--------------------------+---------------------------------+
| Dirk Reiss               |    phone:  ++49 (0) 531 7996276 |                 
| Helmstedter Str. 134     |    mobile: ++49 (0) 162 8925618 |
| D - 38102 Braunschweig   |    email:      d.reiss@tu-bs.de |
+--------------------------+---------------------------------+