webMethods 6.1
Trade Netwoks is NOT able to recognize the XML document type or the sender or receiver id because my Trading Partner’s DUNs number has two leading zero’s.
WHAT I WANT:
To be able to submit the XML doc in Trade Networks and use a generic document type to handle the process
DOES NOT WORK:
I can not let Trade Network automatically process the document for me
I can not remove the leading zeros from the DUNs number in Trading Partners and expect Trade Networks to process the document for me properly
WORKS:
I can change my document type to look for the DUNs with leading zero’s and it will work.
I can take the leading zeros off the DUNs and modify the XML document
Can you post your document type and profile(s) in the form that doesn’t work? I’m surprised that Trading Networks cares in any way about the format of external identifier.
I’ve never encountered any constraints with what the external identifier contents could be. The ID in the profile(s) simply need to match what is in the XML document. I assume that the applicable partner profile has the two leading zeroes.
I am confused by the question "Can you post your document type and profile(s) in the form that doesn’t work?
Your assumption is correct. The id in the trading partner profile matched the id in the xml document.
I found the error with a process of elemination…
Two partners set up identical with the exception of the DUNS one has two leading zeros (Mr00) the other does not (MrNo00)
Two different work flows Mr00 Workflow and MrNo00 Workflow
One XML document Mr00
Mr00 XML document sent using Mr00 Workfow Document Failed
Mr00 XML document sent using MrNo00 Workflow Document Failed
Mr00 XML document w/MrNo00 id sent using Mr00 workflow Sucess
Mr00 XML document w/MrNo00 id sent using MrNo00 workflow Sucess
Mr00 w/zeros removed in TP Mr00 w/zeros removed XML document id sent using Mr00 Workflow Sucess
Mr00 w/zeros removed in TP Mr00 XML document sent using Mr00 Workflow Document Failed
Is your partnerprofile has 2 DUNS Id’s set up with MrNo00 and Mr00,so that upon receving it can recognize both workflows with One XML document but diff DUNS#.Please let us know your testing.
For the profile and document type that fail, can you post the settings of the profile and the document type? I want to see how the doc type and profile are defined. Also, let us know the version and build numbers of IS and TN.
Understood. I wanted to see the profile in which recognition isn’t matching. I wanted to see the document type definition. I was thinking about trying to duplicate your scenario and want to make sure I dupe the profile and doc type correctly.
reamon
you will have to take the Value out of the document I sent to you. It DOES WORK if you leave that value in. It will NOT WORK if you take the value out. I should have looked at it before I sent it.
BAD Upload<<<-----My DEEPEST apology… Someone else is working on this with me and they have made some changes. Should have checked before I uploaded… If you could wait about an hour I will re upload the data you are asking for.
When I changed the extract query for the SenderId to “Seller” the document was recognized, the sender identified and the rule I created was properly invoked. Leading 00’s for the DUNS external ID in the profile did not matter.
Let me know if this change fixes the issue. If not, please post your sample PIDX invoice file and I’ll test with that.
I’m using IS 6.1 SP1, build 132, TN build 705 (same builds as your instance).
I am going to try it. I am also going to give you my XML document. What is confusing about this is… it works for all of my other trading partners. I greatly appreciate all of the assistance you have given me already.
I am not sure why the identifying query and extract query were originally set up like this. I Inherited document type from another developer.
I made the modification you suggested and it worked. I also deleted my TP data and added them back. It seems something else might have been amiss. I checked with the publisher of my TP document and there was NO reason for the difference in the identifying query and extract.