The namespace for the buscarProduto element in the SOAP message is wrong ("service" is misspelled "sevice"). Could the WSDL have a typo--perhaps you had inadvertently altered it?

Glen

On 10/29/2011 12:32 PM, [email protected] wrote:
I've made an webservice that  is giving this exception:
"
AdvertĂȘncia: Interceptor for
{http://service.pricemap.com.br/}WSConsultaPersistenteService#{http://service.pricemap.com.br/}buscarProduto
has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: Unexpected wrapper element
{http://sevice.pricemap.com.br/}buscarProduto found.   Expected
{http://service.pricemap.com.br/}buscarProduto.
"

The SOAP Envelope that was sent by the client was:

"
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance";
xmlns:d="http://www.w3.org/2001/XMLSchema";
xmlns:c="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:v="http://schemas.xmlsoap.org/soap/envelope/";><v:Header
/><v:Body><n0:buscarProduto id="o0" c:root="1"
xmlns:n0="http://sevice.pricemap.com.br/";><EAN
i:type="d:string">4250078184430</EAN></n0:buscarProduto></v:Body></v:Envelope>
"

What is wrong?

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Unexpected-wrapper-element-tp4948939p4948939.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend - http://www.talend.com/apache
Blog - http://www.jroller.com/gmazza/
Twitter - glenmazza

Reply via email to