webMethods

webMethods

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.  Defining SOAP Header structure in WSDL

    Posted Tue June 10, 2003 06:21 PM

    From a quick review of the SOAP and WSDL specs, it does not appear that there is a standard approach for describing the structure of a header node in the WSDL file for a web service.

    1. Is this a correct interpretation?

    2. What is the best practice for communicating SOAP header information to a trading partner or service user?

    TIA,

    Mark


    #webMethods
    #soa
    #API-Management


  • 2.  RE: Defining SOAP Header structure in WSDL

    Posted Thu June 12, 2003 11:02 PM

    OK, further research found obscure references to SOAP:Header in sections 3.2 and 3.7 of the WSDL 1.1 spec (see [url=“Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language”]Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language and [url=“Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language”]Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language)

    So, does the webMethods WSDL generator support generating SOAP:Header messages? If so, how?

    I’d like to be able to create WSDL files including SOAP:Header references without manual edits.

    TIA,

    Mark


    #API-Management
    #soa
    #webMethods


  • 3.  RE: Defining SOAP Header structure in WSDL

    Posted Thu June 19, 2003 05:12 PM

    Thanks for researching this in public, Mark.

    Whatever you learn will be helpful for the rest of us so thank you for sharing everything.

    Now, if only we could get your answers for you…!


    #soa
    #API-Management
    #webMethods


  • 4.  RE: Defining SOAP Header structure in WSDL

    Posted Mon June 23, 2003 08:39 PM

    The SOAP gurus at WM offer this advice:

    1. IS 4.6 does not support automatic generation of WSDL files containing soap:header message definitions.

    2. A best practice guideline seems to be that if your partner plans to auto-generate a client to consume your web serive, it would be a good idea to manually edit the generated WSDL file to add soap:header definitions into the WSDL. If your partner plans to create a client by hand they can work off of a separate schema that defines the request and response header definitions.

    Examples of soap:header definitions can be found in the SOAPBuilder Round B Group C test case as well as the WS-security and WS-reliability specs.

    Mark


    #API-Management
    #soa
    #webMethods