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
  • 1.  Problem with validation of consumer SOAP Web Service

    Posted Thu November 24, 2016 05:45 AM

    Hello, i have a problem with my web service descriptor.
    When i want to load my .wsdl i got this error :

    Invalid message part(s) defined in the wsdl: The header has a message part “SessionID” defined by the type

    I join the .wsdl

    Please, someone can help me ?
    Astea.wsdl (69.6 KB)


    #webMethods
    #API-Management
    #soa


  • 2.  RE: Problem with validation of consumer SOAP Web Service

    Posted Thu November 24, 2016 11:05 AM

    Hi Maxime,

    can you please provide your wM Version as well as Settings you try to use for the web service connector?

    Please proivde the complete error message also.

    Regards,
    Holger


    #webMethods
    #soa
    #API-Management


  • 3.  RE: Problem with validation of consumer SOAP Web Service

    Posted Thu November 24, 2016 11:09 AM

    Hi Holger my version of wM is 9.10.
    Here the complete error message :

    [ISC.0081.9195] Invalid message part(s) defined in the wsdl: The header has a message part “SessionID” defined by the type

    Thanks for your help.


    #API-Management
    #soa
    #webMethods


  • 4.  RE: Problem with validation of consumer SOAP Web Service

    Posted Thu November 24, 2016 12:15 PM

    Hi Maxime,

    please change the WSDL as follows:

    where you are defining the message parts (<wsdl:part name=“SessionID”) you need to use “element=” instead of “type=”.

    Additionally your WSDL is not compliant to the WS-I Basic profile as rpc/encoded is not defined there.
    Only document/literal and rpc/literal are defined in WS-I Basic profile.

    Here is nice overview fo the different wsdl styles with explananations:
    https://www.ibm.com/developerworks/library/ws-whichwsdl/

    Regards,
    Holger">


    #webMethods
    #API-Management
    #soa


  • 5.  RE: Problem with validation of consumer SOAP Web Service

    Posted Fri November 25, 2016 11:58 AM

    Hello Holger,
    I tried to replace type by element each time i see wsdl:part name=“SessionID”. But without success
    This wsdl is provided by a external application of our information system (ASTEA).
    It’s possible du find a converter, in order to convert rpc\litreal in rpc/encoded ?
    Best regards,
    Maxime


    #webMethods
    #soa
    #API-Management


  • 6.  RE: Problem with validation of consumer SOAP Web Service

    Posted Fri November 25, 2016 01:14 PM

    Hi Maxime,

    can you check with your partner system if they are able to change the xsd?

    Can you import the xsd with the option “WS-I Basic Profile compliant” = false?

    Regards,
    Holger


    #soa
    #webMethods
    #API-Management