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 Max2009 <ji...@hotmail.com> on 2009/01/13 11:13:43 UTC

Set Faultcode without namespaces?

Hello,

for setting the fault code in AxisFault I use the following methods:

AxisFault.setFaultCode(QName) or
AxisFault.setFaultCode(String) 

But I got always a prefix for the fault code like following:

<faultcode>soapenv:myerrormessage</faultcode> or
<faultcode>myprefix:myerrormessage></faultcode>

Is it possible to set fault code without any namespaces like
<faultcode>myerrormessage</faultcode>

Or it is mandatory to use the prefix here?

Thanks in advance.

Max



-- 
View this message in context: http://www.nabble.com/Set-Faultcode-without-namespaces--tp21432626p21432626.html
Sent from the Axis - User mailing list archive at Nabble.com.