Hi, Hmm.. the error popped up from the underlying pull parser ! A WSTX implementation issue perhaps ?
Ajith On 8/11/06, D P <[EMAIL PROTECTED]> wrote:
Hello everyone: Axis2 v1.0 CF 7.0 I'm attempting to send the following SOAP message through cold fusion to a service I've written. SOAP message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><ns1:credential xmlns:ns1="http://webservices.company.com/credential " xmlns="http://webservices.company.com/credential" soapenv:mustUnderstand="0" soapenv:actor=""><token>872)(@nNjDU{</token></ns1:credential></soapenv:Header><soapenv:Body><ns2:notifyOfErrorOptions xmlns:ns2=" http://webservices.company.com/notification/"><dateTime>2006-08-09T11:09:29.809Z</dateTime><serverName>Server Name: testStartnotifyOfError()</serverName><operationDesc>Operation Description: testStartnotifyOfError()</operationDesc><message>Here is a message: testStartnotifyOfError()</message></ns2:notifyOfErrorOptions></soapenv:Body></soapenv:Envelope> When axis2 attempts to parse the credential element into an object, I get the following error: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "soapenv" (for attribute "actor") The problem goes away when I add the soapenv namespace declaration on the credential element. I don't understand why I need to, since I thought the actor attribute would inherit its namespace from the soapenv namespace declared on the soap:Envelope element. Can someone please explain, as I feel I'm missing something here? TIA.
-- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
