IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

error creating webservice consumer using URL (https)

  • 1.  error creating webservice consumer using URL (https)

    Posted Tue October 26, 2010 06:51 PM

    Friends,

    We have a situation here, we have SUB version control system for wsdl,schema repository. The wsdl has schema references defined in a seperate xsd.

    SUB version provides the wsdl url with https.
    We are trying to create the wM consumer descriptor using the wsdl URL. And wM denies with the following exception.

    com.wm.app.b2b.server.ServiceException: java.lang.RuntimeException: Illegal call to webMethods https protocol handler
    at wm.server.ws.wsdl2wsd(ws.java:1133)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:403)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
    at codecoverage.base.CodeCoverageProcessor.process(CodeCoverageProcessor.java:191)
    at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:624)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
    at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
    at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:151)
    at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186)
    at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:329)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:118)
    at java.lang.Thread.run(Thread.java:595)

    I have looked into the ws guide and understood that the webservice descriptor wont be created if the wsdl contains and relative URL references if we create the descriptor from wsdl URL.

    So tested with a simple WSDL and it created the descriptor for https url too.

    Now we have deployed the xsds, wsdls on Integration Server and if we try to create the descriptor, wM happily creating the schemas and connector (Wsld has xsd references).

    What is the difference? wM rejects with the above error if we try to use the URL from SUB but accepts on wM IS.

    We are not able to come to a conclusion whether the issue is with “https” or the relative path that is defined in the wsdl.

    Any inputs will be appreciated!

    Note that the operation inside the wsdl is a http not https.

    IS Version: 7.1.1

    Best regards
    Sai


    #soa
    #webMethods
    #API-Management