Hello there,
We are actually having two TN corresponding to two different applications.Now we just want the outside world to submit the docs to one url and from there to submit to two different TN.How it can be achieved ?
What you can do is create one custom gateway flow service and inside this you invoke 2 http sub services and post it to 2 different TN’s(wm.tn:receive)
HTH,
RMG
Thanks RMG,
I’m not sure ,but Document gateway service is for flat file only,then what about the xml format files.
Mukesh
What i mean gateway service is you have to create a custom flow service which should have service input (node) to accept/receive XML documents and then invoke the http service to post the xmldata to seperate TN servers.
And give this customer flow service url to your TP
http//localhost:5555/gateway.receive:receiveXML (similar to that)
HTH,
RMG
Thanks RMG for your time
I got the idea for the solution
Mukesh
Hi Mukesh
How are you implementing the Gateway?
I have a very similar requirement, but I am not able to figure out a way to write my own gateway, instead of using the default “invoke”.
I would like to give customer URL similar to yours
http//localhost:5555/gateway.receive:receiveXML
Please give me your feedback
Regards
GS
You should be good to go…Are you facing any comm issues while receiving XML from your TP??
HTH,
RMG
Hi Mukesh
I have no idea how to write the IS service that can be invoked using URL similar to http//localhost:5555/gateway.receive:receiveXML
instead of http//localhost:5555/invoke/gateway.receive:receiveXML
Please help me how do I write such a service.
Regards
GS
Your url should be
http//localhost:5555/invoke/gateway.receive:receiveXML
Where gateway,receive are the Package folders and receiveXML is the flow/java service.Your flow service service input should be a node(object) for receiving XML’s which is a must if you are receiving via Http transport.
HTH,
RMG