I have a web service, all the method works fine, well not all,

Iam receving this Axis Fault:

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/axis/services/sftm
 faultActor:
 faultNode:
 faultDetail:
 {}string: return code:  404
<html><head><title>Apache Tomcat/4.1.12 - Error
report</title><STYLE><!--H1{font-family :
sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color :
#0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color :
black;background-color : white;} B{color : white;background-color :
#0086b2;} HR{color : #0086b2;} --></STYLE>
</head><body><h1>HTTP Status 404 -
/axis/services/sftm</h1><HR size="1"
noshade><p><b>type</b> Status
report</p><p><b>message</b>
<u>/axis/services/sftm</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/services/sftm) is not
available.</u></p><HR size="1"
noshade><h3>Apache
Tomcat/4.1.12</h3></body></html>

(404)/axis/services/sftm
 at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630
)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
 at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)

 from one method of my service that recive a BigDecimal as parameter and
return a java bean that follow:
public class DadosDoPagamentoVO implements java.io.Serializable {

private java.util.Calendar dataDoPagamento;

private java.math.BigDecimal[] processosDeParcelamento;

private java.math.BigDecimal valorDoPagamento;

public DadosDoPagamentoVO() {

}

public java.util.Calendar getDataDoPagamento() {

return dataDoPagamento;

}

public void setDataDoPagamento(java.util.Calendar dataDoPagamento) {

this.dataDoPagamento = dataDoPagamento;

}

public java.math.BigDecimal[] getProcessosDeParcelamento() {

return processosDeParcelamento;

}

public void setProcessosDeParcelamento(java.math.BigDecimal[]
processosDeParcelamento) {

this.processosDeParcelamento = processosDeParcelamento;

}

public java.math.BigDecimal getValorDoPagamento() {

return valorDoPagamento;

}

public void setValorDoPagamento(java.math.BigDecimal valorDoPagamento) {

this.valorDoPagamento = valorDoPagamento;

}

private java.lang.Object __equalsCalc = null;

public synchronized boolean equals(java.lang.Object obj) {

if (!(obj instanceof DadosDoPagamentoVO)) return false;

DadosDoPagamentoVO other = (DadosDoPagamentoVO) obj;

if (obj == null) return false;

if (this == obj) return true;

if (__equalsCalc != null) {

return (__equalsCalc == obj);

}

__equalsCalc = obj;

boolean _equals;

_equals = true &&

((this.dataDoPagamento==null && other.getDataDoPagamento()==null) ||

(this.dataDoPagamento!=null &&

this.dataDoPagamento.equals(other.getDataDoPagamento()))) &&

((this.processosDeParcelamento==null &&
other.getProcessosDeParcelamento()==null) ||

(this.processosDeParcelamento!=null &&

java.util.Arrays.equals(this.processosDeParcelamento,
other.getProcessosDeParcelamento()))) &&

((this.valorDoPagamento==null && other.getValorDoPagamento()==null) ||

(this.valorDoPagamento!=null &&

this.valorDoPagamento.equals(other.getValorDoPagamento())));

__equalsCalc = null;

return _equals;

}

private boolean __hashCodeCalc = false;

public synchronized int hashCode() {

if (__hashCodeCalc) {

return 0;

}

__hashCodeCalc = true;

int _hashCode = 1;

if (getDataDoPagamento() != null) {

_hashCode += getDataDoPagamento().hashCode();

}

if (getProcessosDeParcelamento() != null) {

for (int i=0;

i<java.lang.reflect.Array.getLength(getProcessosDeParcelamento());

i++) {

java.lang.Object obj =
java.lang.reflect.Array.get(getProcessosDeParcelamento(), i);

if (obj != null &&

!obj.getClass().isArray()) {

_hashCode += obj.hashCode();

}

}

}

if (getValorDoPagamento() != null) {

_hashCode += getValorDoPagamento().hashCode();

}

__hashCodeCalc = false;

return _hashCode;

}

// Type metadata

private static org.apache.axis.description.TypeDesc typeDesc =

new org.apache.axis.description.TypeDesc(DadosDoPagamentoVO.class);

static {

typeDesc.setXmlType(new
javax.xml.namespace.QName("http://webservice.sftm.emprel";,
"DadosDoPagamentoVO"));

org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();

elemField.setFieldName("dataDoPagamento");

elemField.setXmlName(new javax.xml.namespace.QName("", "dataDoPagamento"));

elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "dateTime"));

typeDesc.addFieldDesc(elemField);

elemField = new org.apache.axis.description.ElementDesc();

elemField.setFieldName("processosDeParcelamento");

elemField.setXmlName(new javax.xml.namespace.QName("",
"processosDeParcelamento"));

elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "decimal"));

typeDesc.addFieldDesc(elemField);

elemField = new org.apache.axis.description.ElementDesc();

elemField.setFieldName("valorDoPagamento");

elemField.setXmlName(new javax.xml.namespace.QName("", "valorDoPagamento"));

elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "decimal"));

typeDesc.addFieldDesc(elemField);

}

/**

* Return type metadata object

*/

public static org.apache.axis.description.TypeDesc getTypeDesc() {

return typeDesc;

}

/**

* Get Custom Serializer

*/

public static org.apache.axis.encoding.Serializer getSerializer(

java.lang.String mechType,

java.lang.Class _javaType,

javax.xml.namespace.QName _xmlType) {

return

new org.apache.axis.encoding.ser.BeanSerializer(

_javaType, _xmlType, typeDesc);

}

/**

* Get Custom Deserializer

*/

public static org.apache.axis.encoding.Deserializer getDeserializer(

java.lang.String mechType,

java.lang.Class _javaType,

javax.xml.namespace.QName _xmlType) {

return

new org.apache.axis.encoding.ser.BeanDeserializer(

_javaType, _xmlType, typeDesc);

}

}

Any Idea?...

Thanks in advance!

Jorge.


Reply via email to