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
Expand all | Collapse all

Web services Trading Networks

webMethods Community Member

webMethods Community MemberFri October 28, 2005 07:40 PM

  • 1.  Web services Trading Networks

    Posted Tue October 11, 2005 05:02 PM

    Can web services replace Trading Networks functionality because of its ease of implementation in the integration world? Or will Trading Networks support web services?


    #soa
    #webMethods
    #API-Management


  • 2.  RE: Web services Trading Networks

    Posted Tue October 11, 2005 05:25 PM

    Srinivas,

    TN and web services are two different concepts.none of them can replace the other.with TN, you execute the services which inturn can call the web services.TN is basically used for routing the transactions.

    just my 2 cents.

    ramesh.


    #webMethods
    #soa
    #API-Management


  • 3.  RE: Web services Trading Networks

    Posted Tue October 11, 2005 07:53 PM

    Srinivas,

    WebServices are globalized way of standards to talk with any resource hosted universally UDDI…and if you are talking about webMethods Trading Networks component this is used as a hub (enterprise)and spokes (trading partners/customers/suppliers/internal transactation purposes)for ease of monitoring the transactions.

    Bottom line is nothing replacement of webServices vs TN each have its own individual concepts.

    HTH,
    RMG


    #webMethods
    #API-Management
    #soa


  • 4.  RE: Web services Trading Networks

    Posted Tue October 11, 2005 08:52 PM

    Srinivas,

    Trading Networks is targeted toward managing large numbers of trading partners who need to exchange documents with each other or with the “hub”. These documents can be in many different formats and may be exchanged using many different protocols. The documents may be in XML format, flat files or various EDI transaction sets.

    Web services can be used to exchange documents among many partners, but doing so without some sort of hub in the middle would require many point-to-point B2B integrations driving up implementation and maintenance costs.

    The proliferation of web services support among trading partners does not replace the need for TN. Those partners who support web services can use them to route messages to or receive messages from partners through the TN hub.

    TN’s document-centric approach is best suited to allowing multiple partners exchange business documents. It is not necessarily the best fit for allowing one trading partner to invoke services exposed by another.

    Mark


    #soa
    #webMethods
    #API-Management


  • 5.  RE: Web services Trading Networks

    Posted Tue October 11, 2005 11:03 PM
    Thanks much for your response Mark and others too. It clearly clarifies the need for Trading Networks. In version 6.0.1, is it possible to invoke a web service that a partner provides through TN? If so, please provide an outline of how it can be accomplished?  
    For Example, can we send a SOAP RPC request over http protocol? How do we encapsulate the SOAP request and response within Trading Networks? In short, how do we route messages to or receive messages from partners who use web services through the TN hub at out end?
    

    #API-Management
    #webMethods
    #soa


  • 6.  RE: Web services Trading Networks

    Posted Tue October 11, 2005 11:12 PM

    I’m not sure about TN 6.0.1, so Rob or other TN gurus may need to confirm this response.

    If you can define a custom delivery service, that service can invoke pub.client:soapHTTP to send the soap message to your partner. The service should use the TN delivery service specification and should access the partner’s TN profile to obtain the soap endpoint address.

    To easily see what parameters should be passed to your soap rpc message, generate a Web Services Connector from the WSDL provided by your partner.

    Mark


    #API-Management
    #soa
    #webMethods


  • 7.  RE: Web services Trading Networks

    Posted Wed October 12, 2005 12:08 AM

    Mark’s response is right on. Create a custom delivery service (instructions are in the wM docs) to handle SOPA. It is quite easy to do.


    #API-Management
    #webMethods
    #soa


  • 8.  RE: Web services Trading Networks

    Posted Wed October 12, 2005 12:43 AM

    SOPA. Is that the South American version of the SOAP protocol?


    #API-Management
    #soa
    #webMethods


  • 9.  RE: Web services Trading Networks

    Posted Wed October 12, 2005 03:13 PM

    Thank you both for direction on writing custom delivery service for the above purpose. Also when implementing a hub using trading networks, under what circumstances does the partner ‘must’ have a partner server installed?
    Any ideas on dealing with partners who do not want partner server installed at their sites within their network? Can we still use Trading Networks at our hub to monitor and exchange transactions with partners who do not use partner server(and just use a web service to interact with the hub)?


    #webMethods
    #soa
    #API-Management


  • 10.  RE: Web services Trading Networks

    Posted Wed October 12, 2005 04:19 PM

    SOPA. Durned fat fingers. :slight_smile:

    Srinivas wrote:
    “…under what circumstances does the partner ‘must’ have a partner server installed?”

    There are no cases where a partner must have a partner server installed. In fact, it is the usual case for a partner to not have partner server–communicating with a partner using http or SOAP or ftp where they have their own system (IIS, Apache, WLS, etc.) is the norm.


    #API-Management
    #soa
    #webMethods


  • 11.  RE: Web services Trading Networks

    Posted Thu October 27, 2005 03:50 PM

    Does the payload exchanged with a Trading Networks have to be a bizdoc? Does the partner have to always envelope the payload in a bizdoc format for the receiving Trading Networks server to recognize? If so, how does a partner who does not have partner server installed at their site, communicate with the trading networks at the hub? Thanks in advance for clarification.


    #API-Management
    #webMethods
    #soa


  • 12.  RE: Web services Trading Networks

    Posted Thu October 27, 2005 09:57 PM

    Hello,

    Yemi Bedu


    #soa
    #API-Management
    #webMethods


  • 13.  RE: Web services Trading Networks

    Posted Fri October 28, 2005 05:20 PM

    srinivas wrote:
    “Does the payload exchanged with a Trading Networks have to be a bizdoc?”

    No. wm.tn:receive accepts a node object, which is automatically created by IS content handlers when documents of the appropriate type are posted (e.g. an XML doc can be posted directly to wm.tn:receive by any HTTP capable client).

    srinivas wrote:
    "Does the partner have to always envelope the payload in a bizdoc format for the receiving Trading Networks server to recognize?:

    No. Unless they are using IS/TN, they will not able to do so. Plus, a bizdoc object isn’t really suitable for transport. It’s pretty much a construct that is local to IS/TN.

    Yemi wrote:
    “So you can have your partner call a normal service you expose and inside that service you can call wm.tn.doc:recognize setting up the xmldata or edidata as needed.”

    Yes, this is a good practice. It is normally a good idea to not have partners invoke wm.tn services directly. Rather, have them call your gateway service instead. Then just pass the doc to wm.tn:receive–no need to do wm.tn.doc:recognize first unless you have some need to manipulate the bizdoc directly after recognition, which is normally not the case.


    #soa
    #API-Management
    #webMethods


  • 14.  RE: Web services Trading Networks

    Posted Fri October 28, 2005 07:40 PM

    Thanks much. That is great information.


    #API-Management
    #webMethods
    #soa


  • 15.  RE: Web services Trading Networks

    Posted Tue December 27, 2005 07:07 PM

    I don’t think this would work, because the soapRequestData parameter is an object containing the soap message. I’m not sure what your document type contains, but in most cases you would need a custom delivery service to convert the content of your document to a node, create an empty soapData object and add the node as the body element.

    After creating the soap message you would then use pub.client:soapHTTP to send the message perhaps after first querying the partner’s profile to determine the endpoint URL.

    Mark


    #API-Management
    #soa
    #webMethods