I actually do appreciate any help, I am still new with Java and webservices.

The issue is: I imported a WSDL to my project, so when I consume it sometime it really works fine as well as for another situations I acquired a mistake when consuming the wsdl:

ERROR [org.apache.axis.encoding.ser.BeanPropertyTarget] - Could not convert [B to bean field 'texto', type java.lang.String

 ERROR [org.apache.axis.client.Call] - Exception: org.xml.sax.SAXException: java.lang.ClassCastException@a39be8

. (stuff)
. (more stuff)
. (more stuff)

Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@a39be8
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.    apache.axis.utils.BeanPropertyDescriptor.set(BeanPropertyDescriptor.java:142)
at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:75)
... 73 more

Any idea regarding how to fix this?

I just read about here

This problem could be solved when designing the customer stubs using the -w parameter.

java org.apache.axis.wsdl.WSDL2Java -w title.wsdl

The mistake will no more occur.

Is is applicable to my situation? If so, how do i get it done? I am implementing with apache-ant.

curl -H "Content-Type: text/xml charset=utf-8" -H "SOAPAction:(your action url)" -d@(request input file path) (webservices url) > (response output file path)

Make use of this command with appropriate inputs. When you get an effective output then you'll have error when you're parsing the response.