ServiceMix
  1. ServiceMix
  2. SM-511

Problem with schemas' import when there are multiple xsds in many dirs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M2
    • Fix Version/s: 3.0
    • Component/s: servicemix-bpe
    • Labels:
      None
    • Environment:

      Windows XP SP2, java version 1.5.0_05

      Description

      The problem appears when the wsdl file, that accompanies the bpel file, imports data types' definitions from multiple referenced xsd files that are located in subdirectories relative to 'root' directory of service unit.
      It is impossible to deploy such a service unit to ServiceMix.

      In the attachment there is the example of such service unit. Test case is simple, just try to deploy this service and the error messages should be clearly seen in the logs.

        Activity

        Lukasz created issue -
        Hide
        Grant McDonald added a comment -

        This issue has been fixed for 3.0 (after M3) of ServiceMix. It was due to two things:

        1) WSDLFlattener did not utilise the baseURI when parsing schema/wsdl imports. (SM-479)
        2) Apache ODE BPE version had not implemented relative import functionality. (ODE-5)

        The patch for the first issue is in the codebase after the M3 release. The ODE patch has also been accepted in the ODE codebase but ServiceMix is not currently using this version.

        Show
        Grant McDonald added a comment - This issue has been fixed for 3.0 (after M3) of ServiceMix. It was due to two things: 1) WSDLFlattener did not utilise the baseURI when parsing schema/wsdl imports. ( SM-479 ) 2) Apache ODE BPE version had not implemented relative import functionality. ( ODE-5 ) The patch for the first issue is in the codebase after the M3 release. The ODE patch has also been accepted in the ODE codebase but ServiceMix is not currently using this version.
        Hide
        Guillaume Nodet added a comment -

        Author: gnodet
        Date: Mon Aug 7 02:33:48 2006
        New Revision: 429284

        URL: http://svn.apache.org/viewvc?rev=429284&view=rev
        Log:
        SM-511: Problem with schemas import when there are multiple xsds in many dirs.
        Upgraded to latest ode-bpe

        Modified:
        incubator/servicemix/trunk/pom.xml

        Show
        Guillaume Nodet added a comment - Author: gnodet Date: Mon Aug 7 02:33:48 2006 New Revision: 429284 URL: http://svn.apache.org/viewvc?rev=429284&view=rev Log: SM-511 : Problem with schemas import when there are multiple xsds in many dirs. Upgraded to latest ode-bpe Modified: incubator/servicemix/trunk/pom.xml
        Hide
        Guillaume Nodet added a comment -

        It now works with the provided SA

        Show
        Guillaume Nodet added a comment - It now works with the provided SA
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 3.0-M3 [ 11785 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2d 18h 43m 1 Guillaume Nodet 07/Aug/06 10:51

          People

          • Assignee:
            Unassigned
            Reporter:
            Lukasz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development