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.  BizDoc error

    Posted Sat May 20, 2006 12:39 AM

    I am getting the following error when I try to deliver a document to mulitple trading partners using a processing rule. Any idea of what my happening? Here is a portion of the error.

    com.wm.app.tn.err.EXMLException:
    TRNSERV.000005.000067
    Error delivering bizdoc

    java.lang.ClassCastException

    java.lang.ClassCastException
    at wm.tn.delivery.deliver(delivery.java:309)
    at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 2.  RE: BizDoc error

    Posted Wed May 24, 2006 09:06 PM

    Can you pls. write the complete error. Also, does TN deliver this type of docType to any other partner? Did it ever deliver these type of doc to these partners successfully? Did anything change in IS/TN/DB - any upgrade, patch?
    Regards,
    Bhawesh


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 3.  RE: BizDoc error

    Posted Thu May 25, 2006 01:58 AM

    The error message says ClassCastException - ie you are mapping from one type to another. Give details on the service that you have setup, this is most likely an incorrect mapping error.

    Rohit


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: BizDoc error

    Posted Thu May 25, 2006 05:17 AM

    I may be mistaken but you can’t deliver a document to multiple TN profiles using the standard facilities. One document, one recipient. How are you attempting to deliver the doc to multiple partners?


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: BizDoc error

    Posted Tue May 30, 2006 10:10 PM

    Thanks in advance for your help.

    We have a current business need to send a single document to multiple recipients. Since we are new to webMethods I am using a sample from WmTNSamples that shows how to deliver a document to multiple recipients. When I step through this the error happens when wm.tn.delivery.deliver is executed. I have attached the full error messagne and two flows.

    Roy
    wm_tn_samples_broadcastbroadcastDeliver.txt (3.27 KB)
    wm_tn_samples_broadcastsingleDeliver.txt (1.91 KB)
    BizDoc error.doc (38 KB)


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 6.  RE: BizDoc error

    Posted Tue May 30, 2006 10:25 PM

    How are you creating the bizdoc object?


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 7.  RE: BizDoc error

    Posted Wed May 31, 2006 08:46 PM

    Hi Roy,
    I believe you are stepping through the service wm.tn.samples.broadcast:broadcastDeliver and get this error. This service expects bizdoc to be supplied as input which you cannot supply using Developer. So, you are not supplying anything as input and that could be the reason you are getting this error. Also, check that you are supplying correct partnerID to the service singleDeliver’s input bizdoc.

    To run the broadcastDeliver service properly, you will need to first create a new wrapper service called runBroadcastDeliver.

    In this service runBroadcastDeliver, create a input string called internalId.

    Add the 1st step to invoke the service wm.tn.doc:view and set getContent flag to true.

    Add the 2nd step to invoke the service wm.tn.samples.broadcast:broadcastDeliver.

    Now open the TN Console and select any bizdoc which you want to send to multiple partner. Get the internalId of this bizdoc.

    Now run and step through runBroadcastDeliver when asked, supply the internalId you got using the TN Console above.

    HTH,
    Bhawesh.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods