XBean
  1. XBean
  2. XB-11

problems with 'chunked' WSDL from WebSphere Web Service Gateway 6.0

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      WebSphere 6.0, web service gateway
    • Number of attachments :
      2

      Description

      Recently I faced a funny problem, namely that XFire doesn't work properly with WSDL generated by WebSphere Web Service Gateway.
      This piece of, umm, IBM code can 'export' existing web services for external use, adding things like JAX-RPC handlers or WS-Security.

      The funny part is that while internal WSDL comes in one piece, at the front side of the gateway WSDL is split into three chunks - main, bindings and types.
      Axis 1 can understand this, suprisingly, but XFire couldn't, to my greatest sorrow.

      So I dug into XFire code and finally found that org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator contains setWrapped() method, where it is obviously assumed that ports and type definitions come always in the same piece of WSDL.

      I've made a quick hack, updated WSDLServiceConfigurator is attached.
      While it is not the best code I ever wrote, it solves the problem for me.

      1. WSDLServiceConfigurator.java
        12 kB
        Timur Evdokimov
      2. WSDLServiceConfigurator.java
        10 kB
        Timur Evdokimov

        Activity

        Hide
        Timur Evdokimov added a comment -

        this is the right one with patch

        Show
        Timur Evdokimov added a comment - this is the right one with patch

          People

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

            Dates

            • Created:
              Updated: