otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Integration and Data Mapping Integrating OTM / G-Log with external and legacy systems - including XML, WebServices, SOA, ESB, BPEL, EDI and Oracle's Fusion.

Tags: , ,

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 13th, 2006, 02:45
Senior Member and Blogger
 
Join Date: Dec 2006
Location: Singapore
Posts: 147
Blog Entries: 5
Thanks: 5
Thanked 11 Times in 10 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 2
ianlo is on a distinguished road
Send a message via AIM to ianlo Send a message via Skype™ to ianlo
[SOLVED] Shipment Status XML

Hi,
First of all kudos to Chris for organising this site! Excellent resource site!

I am using Shipment Status XMLs in my OTM implementation and noticed the following:

1) Any outbound Shipment Status XMLs from OTM are always a pass through. Meaning that if I were to recieve a Shipment Status XML from a carrier, the SAME XML previously recieved is sent when I need to generate a Shipment Status XML to another system.

2) If the user were to manually enter the shipment status via the UI, a Shipment XML is generated as an inbound transmission. And when I need to generate a Shipment Status XML to another system, that OTM generated XML is sent.

This causes problems for me because the data in these 2 different XML formats are incompatiable - for example the Carrier sends me a POD status against a EquipmentNumber, but if the user enters the POD status against an equipment via the UI, the SEquipment GID is populated instead of the EquipmentNumber.

I need to send the EquipmentNumber to an external system regardless where the shipment status is recieved.

Anyone has any ideas?

Ian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old January 3rd, 2007, 00:47
Junior Member
 
Join Date: Aug 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
samuellevin_mavenwire is on a distinguished road
Quote:
Originally Posted by ianlo View Post
Hi,
First of all kudos to Chris for organising this site! Excellent resource site!

I am using Shipment Status XMLs in my OTM implementation and noticed the following:

1) Any outbound Shipment Status XMLs from OTM are always a pass through. Meaning that if I were to recieve a Shipment Status XML from a carrier, the SAME XML previously recieved is sent when I need to generate a Shipment Status XML to another system.

2) If the user were to manually enter the shipment status via the UI, a Shipment XML is generated as an inbound transmission. And when I need to generate a Shipment Status XML to another system, that OTM generated XML is sent.

This causes problems for me because the data in these 2 different XML formats are incompatiable - for example the Carrier sends me a POD status against a EquipmentNumber, but if the user enters the POD status against an equipment via the UI, the SEquipment GID is populated instead of the EquipmentNumber.

I need to send the EquipmentNumber to an external system regardless where the shipment status is recieved.

Anyone has any ideas?

Ian
Ian
You may want to look into the capabilities of using a Out Xml Profile. This can be assigned to the outbound external system and parse out some of the data that you do not need. If the outbound xml displays the equipment number at more then one level you can parse out the SEquipment information which may resolve the issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old January 3rd, 2007, 13:32
Senior Member and Blogger
 
Join Date: Dec 2006
Location: Singapore
Posts: 147
Blog Entries: 5
Thanks: 5
Thanked 11 Times in 10 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 2
ianlo is on a distinguished road
Send a message via AIM to ianlo Send a message via Skype™ to ianlo
Hi samuellevin,

thanks for the reply. So far I am actually using OutXML profiles only to reduce my XML output sizes - and to great success I might add.

Do you mean that the default OutXML profile applied to the ShipmentStatus XML is actually filtering out the SEquipmentNumber information? Do you know where the OutXML profile is actually being applied on the ShipmentStatus XML?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old January 11th, 2007, 17:25
Junior Member
 
Join Date: Dec 2006
Location: Holly Springs, NC
Posts: 19
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 0
JoeMac is on a distinguished road
In using the OutXML you should be able to select the XML object that you want to prevent from transmitting. I've used it with great success when sending Tenders. Never used it for Status transmissions but it sounds like a possible way forward for you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old February 5th, 2007, 02:58
Senior Member and Blogger
 
Join Date: Dec 2006
Location: Singapore
Posts: 147
Blog Entries: 5
Thanks: 5
Thanked 11 Times in 10 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 2
ianlo is on a distinguished road
Send a message via AIM to ianlo Send a message via Skype™ to ianlo
Red face

Quote:
Originally Posted by JoeMac View Post
In using the OutXML you should be able to select the XML object that you want to prevent from transmitting. I've used it with great success when sending Tenders. Never used it for Status transmissions but it sounds like a possible way forward for you.
Hi I solved my problem. It turns out that PlannedShipment XML also has ShipmentStatus element and the PlannedShipment XML is not based on a 'pass through' model as described in the OTM user guides when recieving ShipmentStatus from carriers. The PlannedShipment XML is actually created when the DataQuery is executed. This allows me to modify and add my carrier connote number to the event remarks field AFTER receieving the connote number in the ShipmentStatus XML from the carrier.We were able to recieve the ShipmentStatus and then get the Send Integration to output the PlannedShipment XML with the desired information.Subsequently, we applied OutXML profile and XSLT transformation to only get the latest ShipmentStatus from the PlannedShipment XML and send it out.Looks like PlannedShipment XML is the way to go!Thanks for all your replies nonetheless!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says NO Thank You to ianlo For This Un-useful Post:
cmcintos (September 19th, 2008)
Closed Thread



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Info about transmission status Rowan SysAdmin and Management 9 February 3rd, 2008 19:28
GC3 Status List Nisha Branding, Screen Sets, XSL/CSS and Translations 3 October 31st, 2007 15:55
Status Type Visibility moshe Execution 1 October 1st, 2007 16:49
[SOLVED] Integration Status Codes - Beginner chrisplough Integration and Data Mapping 0 February 15th, 2007 14:45
[SOLVED] 'Staged' status of inbound Transmission in V5.5CU2 Sanju Integration and Data Mapping 2 January 22nd, 2007 04:04



All times are GMT. The time now is 23:16.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37