[Users] BC-SOAP does not forward the error message

Philip [via Petals Forums] ml-node+s974793n4025239h83 at n3.nabble.com
Mon Aug 6 10:15:57 CEST 2012



I have an external webservice with methods defined as InOnly.
If I invoke a method with correct arguments in the SOAP Enveloppe, it
returns only (which is correct) : 
/HTTP/1.1 202 Accepted
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Mon, 06 Aug 2012 08:09:29 GMT
Connection: close/
It works also fine thru bc-soap provider and consumer on Petal 4.
/HTTP/1.1 202 Accepted
Content-Type: text/xml; charset=utf-8
Connection: close
Server: Jetty(6.1.9)/

BUT, if the SOAP enveloppe is missing something, Petals also returns an
"http 202 : accepted"

/HTTP/1.1 202 Accepted
Content-Type: text/xml; charset=utf-8
Connection: close
Server: Jetty(6.1.9)/

 whereas the real webservice gave the following ( correct ) error
/
   
      
         
            soapenv:Sender
         
         
            Validation error
         
         
            cvc-complex-type.2.4.a: Invalid content was found starting with
element 'ns:contextId'. One of
'{"http://www.cirb.be/txchange/1.1":procedure}' is expected.
         
      
   
/

How to fix this ? 
Philip



_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/BC-SOAP-does-not-forward-the-error-message-tp4025239.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120806/fb88a4f4/attachment.html>


More information about the Users mailing list