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 TomazM <to...@arnes.si> on 2009/05/26 10:31:07 UTC

AxisFault and Tomcat 6

OS: Windows XP
Tomcat: 6.0.18
Axis: 2-1.4.1
Rampart: 1.4

When my service throws the AxisFault I have problem whit Tomcat because he return the HTTP error to client not AxisFault, have anybody any idea what
I'm doing wrong?

Simple Pojo service:

public Account login(String user, String pass) throws AxisFault {

	throw new AxisFault("blaaa");

}



AXIS2-3972 Attribute 'type' in the 'return' tag of a SOAPResponse

Posted by fa...@uniserv.com.
Hi,

When return type of the method is a complex custom-defined object, axis2
sends an attribute 'type' in the 'return' message.
This is not compliant to the wsdl schema.

Is there any fix or workaround available? 

Thanks,
Fadila



Re: AxisFault and Tomcat 6

Posted by TomazM <to...@arnes.si>.
The problem is in Rampart: 1.4 modul, it works with rampart1.3

Regards, Tomaz

TomazM wrote:
> OS: Windows XP
> Tomcat: 6.0.18
> Axis: 2-1.4.1
> Rampart: 1.4
> 
> When my service throws the AxisFault I have problem whit Tomcat because he return the HTTP error to client not AxisFault, have anybody any idea what
> I'm doing wrong?
> 
> Simple Pojo service:
> 
> public Account login(String user, String pass) throws AxisFault {
> 
> 	throw new AxisFault("blaaa");
> 
> }
> 
>