We used HTTPS or HTTP post to send/receive XML documents to/from a partner. We had no issue to post files on thier web site, but I got “Unknown” status for Doc Type, Sender and Receiver when they post an inbound XML file to us in TN (wm 6.5). I set up an userID and password for them to post file to us. I could see their name and content in Document Details, but I got unknown status for Doc Type/Sender/Receiver. Can somebody help me on this issue?
It is not a good idea to have your partner directly call TN, there should be a gateway service before TN which your partner should be calling because of many reasons, you can search for those. Now what is the exact error you are seeing and where are you seeing that error ? Did the document make it to your TN ? Also take the XML which your partner is sending you and test it in TN console to make sure right documentType and Processing Rule is getting selected.
Thank you for the information. Their files came in via our Reverse Invoke, IS server then TN. We got thier files in TN, but they hit the default rule in TA. I set it up processing rule in TN, but TA couldn’t recognize them. What did I miss?
Well first use the XML your partner is sending you and test them in TN console for DocumentType and Processing rule. See if the required documentType gets selected and if it does then test if the desired processing rule gets selected. This way you can isolate the problem if it is Processing rule or just document type. Also check if you missed any minor thing in documentType setting like Root Tag, Identifying query or something.
For debugging purpose you can create a simple test service that invokes routeXML gateway service…So extract the XML from TA and steps for the service will be:
XMLStringToNode
routeXML (this routes the xmldata to TN)
check the pipeline bizdoc document (for more details if it still fails in the recognition etc…)
Check the TA and ActivityLog also see whether the right processing rule was selected.
I couldn’t find XMLStringToNode and routeXML in our Developer (wM 6.5). I found a few Java services such as xmlStringToXMLNode, loadXMLNode, queryXMLNode under WmPublic.pub.xml.
Do you mind sending me these related Java services thru e-mail? My email address is pingsheng.chang@valero.com. Please add .txt at the end of zip file, so our company will not block it. Thank you so much.
Thank you for the help. Sorry, I’m not familiar with these two services. I saw xmldata, $filedata and $filestream under server xmlStringToXMLNode. Which fields should I link between Pipeline In and Service In?