You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Duygu <du...@gmail.com> on 2009/06/02 13:04:16 UTC

Question about "Undeclared namespace prefix "SOAP_ENV" Exception.

Hi,

I will be very happy if you can help me.

In my application I use the web servise client of a platform. Wsdl style was
rpc/encoded. I converted the style of wsdl from rpc/encoded to
document/literal. Then I used axis2 to generate java codes.
When I call login method of the wsdl I get the
"org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Undeclared namespace prefix "SOAP_ENV"" error.
The generated SOAP message is (with the help of debug mode I copied the
message) :

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
<ns1:login xmlns:ns1="urn:OSP_methods">
 <callbackref></callbackref>
<login>creprov</login>
 <password>ChangeMe</password>
</ns1:login>
 </soapenv:Body>
</soapenv:Envelope>

Can you help me? What is the problem?

Kind Regards.


-- 
Duygu Taylan