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.  RosettaNet Outbound Pip 3A8 PO Request

    Posted Fri February 14, 2003 02:32 PM

    I’m creating a Pip 3A8 PO Request from data that comes from our backend applications. The problem is that some of the fields that I get from the backend application have spaces. Before I map these fields, the spaces are trimmed and then I map to the Pip. When these fields are mapped to the corresponding Pip tags (these Pip tags are under a Non required Group) the tags shouldn’t be created, but they are with a value of null. We are using the Pip structure and schema that was created from the dtd. The group(s) that are giving me this problem are non required according to these structures.

    If anyone has any idea how I can fix this, I would appreciate any help.

       Thanks, Fernando
    

    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: RosettaNet Outbound Pip 3A8 PO Request

    Posted Fri February 14, 2003 02:57 PM

    Fernando,

    As you have found out when you map something to the PIP structure regardless if what you’re mapping is blank (null) or not it will get mapped. I’d suggest in your mapping first check to see if it’s null before you map it over to the PIP especially since it’s not mandatory.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: RosettaNet Outbound Pip 3A8 PO Request

    Posted Fri February 14, 2003 04:44 PM

    Chris,

    A lot of the fields that we map are non-mandatory, I didn't want to check all these fields individually for nulls. I was looking for an easier way to do this.   Thanks
    

    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: RosettaNet Outbound Pip 3A8 PO Request

    Posted Fri February 14, 2003 06:47 PM

    Hi, we received fix IS_4-6_Fix45 from wM support.

    This fix addresses the following issues:
    (1-78IV4) recordToDocument generates invalid empty tags

    using recordToDocument service with the generateRequiredTags flag set to false, but still getting empty tags generated, that is an opening tag followed by a closing tag.

    Maybe you need the same patch?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 5.  RE: RosettaNet Outbound Pip 3A8 PO Request

    Posted Fri February 14, 2003 10:25 PM

    Maggie,

    Thanks for the info. I'm running IS 6.0, but maybe there is a fix for 6.0 as well. I will check it out.
    

    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 6.  RE: RosettaNet Outbound Pip 3A8 PO Request

    Posted Mon May 05, 2003 03:04 PM

    Hi Fernando,

       If you don't want to  map null values to target, You have to 
    

    select map then right click on it.You will get link properties

    window.In that window you select General button check Copy Only If

    box.Bottom that box you have to specify ex:%Samp% <> null.

    it works fine check it.

    Thanks,
    Srini


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods