how many ways are there to submit data(XML,EDI) to the Trading Networks??

Hi all
Im new to TN so please list ways of submitting data to the TN.

Regards
Mayank

You can use these main/core services to submit (EDI/XML/FlatFile data)

wm.tn.doc.xml:routeXML (prefer to use this)
wm.tn:receive (gateway service)
wm.tn.doc.ff:routeFlatFile

Also you should review this online documentation for more help on the above TN services mentioned above and basics:

[URL]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite7/Trading_Networks/7-1_Trading_Networks_Built-In_Services_Reference.pdf[/URL]

HTH,
RMG

Why do you recommend routeXML?

I always recommend this for internal usage (service routing to TN) rather than using gateway service (tn:receive) from external world to TN…

Isn’t that you follow the same way? Do you agree?

HTH,
RMG

No. I use wm.tn:receive unless there is a specific reason not to.

Generally, I don’t expose any of the wm.tn services outside of the wM IS/TN environment.

I was telling to use routeXML (Internally) and ofcourse (tn:receive) will be the gateway service:

We should be on the same page now!

Good day!

HTH,
RMG

I think we agree that wm.tn services should only be used internally, never exposed to other applications or partners. Even wm.tn:receive should not be called by anything outside of IS.

Where we may still disagree is using routeXML by default. I would use receive by default and routeXML only when there is a specific reason to do so.

Thanks rmg & reamon for ur valuable suggestions.
But can sum1 plz clarify that which service has to be used by default(routeXML or receive).

wm.tn:receive (use this to receive documents from the external world to TN gateway)

routeXML (use this when you develop any internal routing frame work for e.g:backend/canonical/EDI conversion that should route via TN)

HTH,
RMG

In my opinion, the default to use is wm.tn:receive

For me, it is immaterial whether the communication is inside or outside. And nothing outside of wM IS should call receive directly. Always provide what TN refers to as a gateway service for others to call. Within that service, call receive.

Agreed…Yes from external Reverse Gateway should make a call to Internal IS/TN gateway service as a standard practice:

Thank you!

Thanks a lot for clearifying the query.

you bet!