People, I think found the problem. I'm using Netbeans 6.5.1 to develop some BPEL scripts that communicates with my Web Services developed in Axis2 + Eclipse. The problem seems that Netbeans works with SOAP 1.1 that sent a "text/xml" in the Content-Type rather SOAP 1.2 that sent a "application/soap+xml".
Now, my question is: Is there a way to do my WS (developed in Axis2) to be compatible with SOAP 1.1 *and* SOAP 1.2 messages? Thanks in advance, --fx 2009/4/7 Fabrício Cabral <[email protected]>: > 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?
