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

WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_MSG fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.96
    • woden
    • None
    • Linux

    Description

      woden having problem in refering msg_ref from mapping interface_msg_ref in wsdl10. i.e. failed calling WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_MSG

      that happens when interface_msg_ref refers messages with a prefix like following one.

      <wsdl:operation name="add">

      <wsdl:input message="impl:addRequest" name="addRequest"/>

      <wsdl:output message="impl:addResponse" name="addResponse"/>

      </wsdl:operation>

      here when woden building the model, it always take names difined in target namespace. this doesnt work in above cases. i.e when names are prefixed.

      I am attaching two svn diffs for a temporary solution. that is ignoring the impl: prefix just to demostrate the problem.
      Fixing this is very much essential in providing adb codegeneration.

      The patch contain following..

      *svn_dff2 contain temporary solution for the above problem in woden/src/builder/wsdl10/wsdl10_reader.c. (just ignoring prefixes when comparing)

      *svn_diff1 contain fixes for woden/src/wsdl10/wsdl10_interface_msg_ref.c
      the function pointers called by foolowing macros are never assigned a function.
      WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_SET_MSG
      WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_MSG
      this patch fix this.

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            dimuthu Dimuthu Gamage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: