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

Help needed urgently

webMethods Community Member

webMethods Community MemberFri March 11, 2005 05:01 PM

  • 1.  Help needed urgently

    Posted Thu March 10, 2005 03:45 PM

    Hi Experts,
    I need to develope a service that will take the input from Tn directly and gives the contact details of the partner(e-mail addresses).This service should be invoked before envelope process.can any one help me how to create this.Thanks in advance


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


  • 2.  RE: Help needed urgently

    Posted Thu March 10, 2005 04:01 PM

    hi saritha,

         first define a TN documenttype and then define ProcessingRule and in processing Rule u need to call a perticular service which u want to invoke and that u will find that service in developer in developer u need to call tn service to find the parther specific details ... i think this will help u ... anyforther queries feel free
    

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


  • 3.  RE: Help needed urgently

    Posted Thu March 10, 2005 04:08 PM

    Saritha,

    The service input should be bizdoc(wm.tn.doc:bizdocEnvelope)and this will be in the pipeline when TN routes the document to your service.
    So extract the bizdoc/content (bytes)using bytesToString and further down based on your DocumentType parse the string to ISDocument and get the contact details of the partner as per your requirement.

    Please try to elaborate on your process what you are trying to do and also what development you have done in your flow.

    HTH,
    RMG.


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


  • 4.  RE: Help needed urgently

    Posted Thu March 10, 2005 04:30 PM

    Hi RMG,
    once say a sample 850 hits our tN we write processing rule to invoke a service known as process dos.process doc has the following flow in it

    1. get contacts of partner
      2)envelope process and…
      My requirement is i have to code the service get contacts of partners.the output of this service should be e-mail addresses of the Sender.I need these details to inform the sender if the envelope process fails.Please tell me how can i create this service.Thanks in advance.( please see screenshot in attachment )
      Saritha

      18.9 K
      sample.zip
      ""

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


  • 5.  RE: Help needed urgently

    Posted Thu March 10, 2005 04:31 PM

    Hi RMG,
    once say a sample 850 hits our tN we write processing rule to invoke a service known as process dos.process doc has the following flow in it

    1. get contacts of partner
      2)envelope process and…
      My requirement is i have to code the service get contacts of partners.the output of this service should be e-mail addresses of the Sender.I need these details to inform the sender if the envelope process fails.Please tell me how can i create this service.Thanks in advance.( please see screenshot in attachment )
      Saritha

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


  • 6.  RE: Help needed urgently

    Posted Thu March 10, 2005 04:38 PM

    Hi RMG,
    once say a sample 850 hits our tN we write processing rule to invoke a service known as process dos.process doc has the following flow in it

    1. get contacts of partner
      2)envelope process and…
      My requirement is i have to code the service get contacts of partners.the output of this service should be e-mail addresses of the Sender.I need these details to inform the sender if the envelope process fails.Please tell me how can i create this service.Thanks in advance.( please see screenshot in attachment )
      Saritha

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


  • 7.  RE: Help needed urgently

    Posted Thu March 10, 2005 05:02 PM

    Saritha,

    In your sender TN profile in the ExtendedFields section use the custom extended type and set Emaillist and use this service
    wm.tn.profile:getInternalID(gives output partnerID and map this to wm.tn.profile:getExtendedFields (select group=custom)or else fill the details in the Profile/Contact section like Email,Phonenumber etc…and use the same logic mentioned above.
    So for this create a wrapper service which just gives output emaillist and further down in your processdoc service map emaillist to whatever your requirement needs to do.

    HTH,
    RMG.


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


  • 8.  RE: Help needed urgently

    Posted Thu March 10, 2005 05:36 PM

    Thank you very much.I will try that


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


  • 9.  RE: Help needed urgently

    Posted Thu March 10, 2005 08:35 PM

    RMG–"In your sender TN profile in the ExtendedFields section use the custom extended type and set Emaillist and use this service "
    in my sender profile -extended field section i see edINT and UCCNET.I dont know where to add e-mail address can you please help
    thanks
    saritha


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


  • 10.  RE: Help needed urgently

    Posted Thu March 10, 2005 11:26 PM

    Saritha,

    In the Enterprise profile under the ExtendedFields section look for icon on the top a icon says “Create/View Profile Fields” and click it a pop up opens with Standard/Extended then select Extended tab in the top select new icon and now in the box enter some Name=Emaillist,group=Custom and then save it.

    Then go to your sender profile now the “Custom” will show up in the ExtendedField section where the EDIINT,UCCNET displays.Then click on the Custom a text box with Name Emaillist will be shown and enter the email recipients what ever you need,save it.And finally use the above mentioned flowservices to extract the Emaillist from the ExtendedFields group(Custom).

    HTH,
    RMG.


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


  • 11.  RE: Help needed urgently

    Posted Fri March 11, 2005 01:11 AM

    You might also use the Contacts tab to store e-mail address information. You can any number of contact types that you like. Then you can use the TN services to retrieve the data.


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


  • 12.  RE: Help needed urgently

    Posted Fri March 11, 2005 02:38 PM

    Thanks RMG and ROB,
    while i am using the service getprofile.I am not get getting contact lists as an array , instead i am getting it as an objectlist.Its hard to retrieve the e-mail address from object list.any suggestions please…Thanks in advance

    saritha


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


  • 13.  RE: Help needed urgently

    Posted Fri March 11, 2005 02:50 PM

    Saritha,

    For accomplishing you need to write a javaservice for converting objectlist to stringlist and extract the data.At this moment i don’t have the sample code,if i find will upload it.

    HTH,
    RMG.


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


  • 14.  RE: Help needed urgently

    Posted Fri March 11, 2005 03:10 PM

    Thanks RMG,
    Will be waiting for the code


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


  • 15.  RE: Help needed urgently

    Posted Fri March 11, 2005 03:12 PM

    Saritha,

    Actually, all you have to do is LOOP over ‘/profile/Contact’ and the resultant contacts will appear as documents instead of objects. One of the strings inside the document will be Email.

    HTH,
    Dave


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


  • 16.  RE: Help needed urgently

    Posted Fri March 11, 2005 03:56 PM

    Saritha,

    As Dave mentioned above just Loop In-Array on profile/Contact and put a map step inside the loop and extract the Contact/EmailAddress.If in the TN profile Contact tab doesn’t contain any data then the pipeline will show Contact as Objectlist with null.

    So no java code needed for the above.

    HTH,
    RMG.


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


  • 17.  RE: Help needed urgently

    Posted Fri March 11, 2005 03:59 PM


  • 18.  RE: Help needed urgently

    Posted Fri March 11, 2005 05:01 PM