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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated: