Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1168

WSDL2C.sh is not generating soap 1.2 compliant client stubs for wsdl with soap 1.2 bindings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • code generation
    • None
    • CentOS4.4 on VMWare (windows xp host).
      On axis2/java (1.2/1.3/1.4).
      axis2c 1.4.

    Description

      I am using a wsdl with soap 1.2 bindings.I generated
      client stub using three version of axis2/java (1.2/1.3/1.4). In all
      three I found that in the client stub the call for the operation,let
      say add(for eg) always sets the soap version to AXIS2_SOAP11,but
      actually it should be AXIS2_SOAP12 for a wsdl with soap 1.2 bindings.
      I am not finding any options in WSDL2C tool to generate client code
      for soap 1.2 . I also tried to set the soap version to 1.2 (in main
      function of client) before calling the operation defined in stub ,but
      this did not work as the soap version was reset back to soap 1.1 in
      the stub(let say axis2_stub_op_add() for eg).

      So my question is how do i use code generator to generate stub which
      can send soap 1.2 compliant message at the client side.

      PS: Following command was used to generate stub
      WSDL2C.sh -uri <wsdlpath> -d adb -u

      Attachments

        Activity

          People

            dimuthu Dimuthu Gamage
            navinbhat naveen bhat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified