lunes, 24 de enero de 2011

Problem with Java Client (Web Services) org.xml.sax.SAXException: Bad envelope tag: definitions

When generate a client Axis from wsdl and execute the problem is:

org.xml.sax.SAXException: Bad envelope tag: definitions


The locator is bad definition with:

locator.setConsultesClioHttpPortEndpointAddress("http://127.0.0.1/sgr_ws/AppJava/services/consultesClio?wsdl");



The correct way is (without wsdl:

locator.setConsultesClioHttpPortEndpointAddress("http://127.0.0.1/sgr_ws/AppJava/services/consultesClio");









Problem with Java Client (Web Services forum at JavaRanch): "

1 comentario:

  1. Mil gracias me salvaste.. 2 días de pruebas con apache axis y no encontraba el error

    Saludos desde chile :-)
    ------------------------------------------------

    Thanks saved me .. Two days of testing with Apache Axis and the error was not

    :-) Greetings from chile

    ResponderEliminar