glassfish
  1. glassfish
  2. GLASSFISH-631

For SOAP12 binding(s), user has to pkg WSDL - this requirement needs to be removed

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 9.0pe
    • Fix Version/s: not determined
    • Component/s: web_services
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: All

    • Issuezilla Id:
      631

      Description

      [GlassFish b-47]

      It seems to me that there's currently no support for SOAP12 bindings (in case
      one is using JSR109 based deployment ). This applies for both cases:
      java->wsdl, wsdl->java.

      java->wsdl case:
      I wrote simple webapp with following ws:

      @WebService()
      @BindingType("http://www.w3.org/2003/05/soap/bindings/HTTP/")
      public class WebService12 {

      /* Sample Web Service Operation */
      @WebMethod(operationName="sample_operation")
      public String operation(@WebParam(name="param_name") String param)

      { // implement the web service operation here return param; }

      }

      => webapp w/ this websvc cannot be deployed (i tried NetBeans as well as asdmin
      deploy) - one can find following in the server's log:

      ADM1006:Uploading the file to:[/tmp/s1astempdomain1server-1336981763/SOAP12ws.war]
      error: The -wsdl option cannot be used with SOAP1.2 bindings.
      Try using "-wsdl:Xsoap1.2 -extension".
      Class "ws.WebService12" binding: "http://www.w3.org/2003/05/soap/bindings/HTTP/".|#]
      Exception occured in J2EEC Phase
      com.sun.enterprise.deployment.backend.IASDeploymentException: WSGEN FAILED
      at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2009)
      at
      com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
      ...

      wsdl->java case:
      I created new websvc from wsdl (attached) using NetBeans5.5 beta in webapp.
      This webapp can be successfuly deployed, but I cannot test my new websvc nor
      create my own client for it - possible cause can be that wsdl is not updated
      correctly - you can find "<soap12:address location="REPLACE_WITH_ACTUAL_URL"/>"
      in wsdl of deployed ws.

        Activity

        jungicz created issue -
        Hide
        jungicz added a comment -

        Created an attachment (id=255)
        wsdl for test

        Show
        jungicz added a comment - Created an attachment (id=255) wsdl for test
        Hide
        vijaysr added a comment -

        fix in progress - will be available as part of the glassfish trunk and FCS
        branch in a day. A sample test is also added in
        glassfish/appserv-tests/devtests/webservice/annotations.soap12

        Show
        vijaysr added a comment - fix in progress - will be available as part of the glassfish trunk and FCS branch in a day. A sample test is also added in glassfish/appserv-tests/devtests/webservice/annotations.soap12
        Hide
        vijaysr added a comment -

        taking ownership

        Show
        vijaysr added a comment - taking ownership
        Hide
        vijaysr added a comment -

        fix will be checked in a day

        Show
        vijaysr added a comment - fix will be checked in a day
        Hide
        vijaysr added a comment -

        Fixed the bug as long as the WSDL is packaged; The default WSDL created if the
        user does not package the WSDL is always SOAP1.1. For SOAP12, the user is
        expected to generate wsdl using wsgen and package it.

        Changing this bug to enhancement request so that this manual step need not be
        expected from the user for SOAP12, java-wsdl case also

        Show
        vijaysr added a comment - Fixed the bug as long as the WSDL is packaged; The default WSDL created if the user does not package the WSDL is always SOAP1.1. For SOAP12, the user is expected to generate wsdl using wsgen and package it. Changing this bug to enhancement request so that this manual step need not be expected from the user for SOAP12, java-wsdl case also
        Hide
        vijaysr added a comment -

        change enhancement request

        Show
        vijaysr added a comment - change enhancement request
        Hide
        vijaysr added a comment -

        Reassigning to Bhakti

        Show
        vijaysr added a comment - Reassigning to Bhakti
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 631 32235
        Chris Kasso made changes -
        Fix Version/s 9.0pe_dev [ 11231 ]
        Fix Version/s 9.0pe_b48 [ 11043 ]
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Tom Mueller made changes -
        Fix Version/s not determined [ 11149 ]
        Fix Version/s 9.0pe_dev [ 11231 ]

          People

          • Assignee:
            Bhakti Mehta
            Reporter:
            jungicz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: