0 Replies Latest reply on Nov 25, 2011 7:16 AM by pi4630

    AS6 web service from EJB: make elementFormDefault qualified

    pi4630

      I'm running JBoss 6.0.0.-Final and have a SLSB that exposes some of its methods as web services. The WSDL is generated with

       

      {code:xml}<xs:schema elementFormDefault="unqualified" targetNamespace="http://logic.mercurius.prov.bz.it/" version="1.0">{code}

       

      I poked around and tried to use these lines on top of my bean declaration:

       

      {code:java}

      @Stateless

      @WebService(name="ValidazioneGIS")

      @JBossXmlSchema(namespace="http://logic.mercurius.prov.bz.it",elementFormDefault=XmlNsForm.QUALIFIED)

      {code}

       

      expecting that the elementFormDefault would change to qualified, but it didn't.

       

      The root of the problem is that a buggy Delphi client sends qualified elements when CXF expects unqualified ones. So I'm trying to convince CXF to accept qualified ones.

       

      Thanks in advance

      ~pasquale