Hello everybody, I developed a Web Service (WS) using Eclipse plug-ins + axis2 1.4.1 running in Tomcat 6.0.18 (Windows). I'm using Netbeans 6.5.1 to test my WS. I set a SOAP message in the input.xml of the "TestCase" and do "execute". The message is sent and the Netbeans saves the response in the output.xml file.
My problem is when I'm using Netbeans to test my WS: it doesn't work. If I use a client developed by hand (using Eclipse stubs) works fine. Debugging the SOAP messages (I used TCPMon) I figure out that the problem is the "Content-Type" sent in the HTTP header. Netbeans sends the Content-Type with "text/xml" and if I change it to "application/soap+xml" (as my Java code does) the request works fine. So, I'd like know: the problem is Axis, Netbeans or with my Web Services? Does anyone know how can I fix it? Is there a way to change the Netbens "Content-Type" to "application/soap+xml" or the problem is my WS that doesn't understand the Content-Type "text/xml" correctly? Thanks in advance and sorry my poor english, -- --fx