You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Web Man <rd...@nortel.com> on 2008/04/04 22:30:12 UTC

When a SOAP request is submitted without the closing </soapenv:Envelope>, the
Web Service is called and no errors are thrown.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://www.nortel.com/xmlprotocol/wsdl/data/protocol_interfaces/cisco_icm/v1_0">
   <soapenv:Header/>
   <soapenv:Body>
      <v1:CallCleared-Event>
         <!--Optional:-->
         <callId>35756</callId>
         <cause>6</cause>
      </v1:CallCleared-Event>
   </soapenv:Body>

*****  There should be a </soapenv:Envelope> at the end of this request
*****
-- 
View this message in context: http://www.nabble.com/%3C-soapenv%3AEnvelope%3E-tp16498308p16498308.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re:

Posted by Daniel Kulp <dk...@apache.org>.
On Monday 07 April 2008, Web Man wrote:
> Not unless it's enabled by default.  I'll look into it.  Thanks.

It's probably not worth your time.  I'm almost positive that nothing in 
the cxf code even bothers to read the closing body/envelope tags.   
Tracing through the interceptors, there is nothing past the reading of 
the dataobjects that reads anything from the XmlStreamReader.   Most 
likely, the ReadHeadersInterceptor in the soap binding should registers 
a tailing interceptor that would read in the close events.  Feel free to 
log a bug.

Dan


>
> Benson Margulies-4 wrote:
> > Did you enable validation?
> >
> > On Fri, Apr 4, 2008 at 4:30 PM, Web Man <rd...@nortel.com> wrote:
> >> When a SOAP request is submitted without the closing
> >> </soapenv:Envelope>, the
> >> Web Service is called and no errors are thrown.
> >>
> >> <soapenv:Envelope
> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> "
> >> xmlns:v1="
> >> http://www.nortel.com/xmlprotocol/wsdl/data/protocol_interfaces/cis
> >>co_icm/v1_0 ">
> >>   <soapenv:Header/>
> >>   <soapenv:Body>
> >>      <v1:CallCleared-Event>
> >>         <!--Optional:-->
> >>         <callId>35756</callId>
> >>         <cause>6</cause>
> >>      </v1:CallCleared-Event>
> >>   </soapenv:Body>
> >>
> >> *****  There should be a </soapenv:Envelope> at the end of this
> >> request *****
> >> --
> >> View this message in context:
> >> http://www.nabble.com/%3C-soapenv%3AEnvelope%3E-tp16498308p16498308
> >>.html Sent from the cxf-user mailing list archive at Nabble.com.



-- 
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog

Re:

Posted by Web Man <rd...@nortel.com>.
Not unless it's enabled by default.  I'll look into it.  Thanks.



Benson Margulies-4 wrote:
> 
> Did you enable validation?
> 
> On Fri, Apr 4, 2008 at 4:30 PM, Web Man <rd...@nortel.com> wrote:
> 
>>
>> When a SOAP request is submitted without the closing </soapenv:Envelope>,
>> the
>> Web Service is called and no errors are thrown.
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:v1="
>> http://www.nortel.com/xmlprotocol/wsdl/data/protocol_interfaces/cisco_icm/v1_0
>> ">
>>   <soapenv:Header/>
>>   <soapenv:Body>
>>      <v1:CallCleared-Event>
>>         <!--Optional:-->
>>         <callId>35756</callId>
>>         <cause>6</cause>
>>      </v1:CallCleared-Event>
>>   </soapenv:Body>
>>
>> *****  There should be a </soapenv:Envelope> at the end of this request
>> *****
>> --
>> View this message in context:
>> http://www.nabble.com/%3C-soapenv%3AEnvelope%3E-tp16498308p16498308.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/%3C-soapenv%3AEnvelope%3E-tp16498308p16537420.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re:

Posted by Benson Margulies <bi...@gmail.com>.
Did you enable validation?

On Fri, Apr 4, 2008 at 4:30 PM, Web Man <rd...@nortel.com> wrote:

>
> When a SOAP request is submitted without the closing </soapenv:Envelope>,
> the
> Web Service is called and no errors are thrown.
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
> xmlns:v1="
> http://www.nortel.com/xmlprotocol/wsdl/data/protocol_interfaces/cisco_icm/v1_0
> ">
>   <soapenv:Header/>
>   <soapenv:Body>
>      <v1:CallCleared-Event>
>         <!--Optional:-->
>         <callId>35756</callId>
>         <cause>6</cause>
>      </v1:CallCleared-Event>
>   </soapenv:Body>
>
> *****  There should be a </soapenv:Envelope> at the end of this request
> *****
> --
> View this message in context:
> http://www.nabble.com/%3C-soapenv%3AEnvelope%3E-tp16498308p16498308.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>