Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6144

Web Service invocation fails from Web Application if the wsdl file has policy references

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0
    • Web Services
    • JBoss EAP 5.1 with CXF

    • Hide

      Steps to Re-produce:

      0. Unzip the war file to a local folder (outside the server)
      1. Deploy "MtomSample.war" to an 5.1.0 EAP with CXF
      2. Open http://localhost:8080/MtomSample/
      3. Supply the file URL to the sample wsdl file (mtom_xop.wsdl) , something like "file:/D:/projekte/MtomSample/WebContent/WEB-INF/mtom_xop.wsdl" (depends on the path you chose in step 0)
      4. The exception appears when the user presses submit on index.jsp.

      Show
      Steps to Re-produce: 0. Unzip the war file to a local folder (outside the server) 1. Deploy "MtomSample.war" to an 5.1.0 EAP with CXF 2. Open http://localhost:8080/MtomSample/ 3. Supply the file URL to the sample wsdl file (mtom_xop.wsdl) , something like "file:/D:/projekte/MtomSample/WebContent/WEB-INF/mtom_xop.wsdl" (depends on the path you chose in step 0) 4. The exception appears when the user presses submit on index.jsp.
    • Fixes CXF-3037 - Policy references embedded in policy are not processed - WS-Policy allows <wsp:PolicyReference> to be embedded within policy documents, but CXF does not handle these references.
    • Not Yet Documented

      The problem is when a service having policy references in wsdl file is invoked with a client deployed on JBoss EAP 5.1 with CXF-3.1.2.SP7 a NullPointerException is thrown up from Apache Neethi, which is the WS Policy Framework used in CXF.

      Please note that this issue occurs before the actual request is made,it happens while the ClientPolicy is being setup by the framework.

        1. MtomSample.war
          35 kB
          Mustafa Musaji
        2. MtomSample-Stacktrace.txt
          5 kB
          Mustafa Musaji

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-mus Mustafa Musaji
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: