Quantcast
Channel: OTMFAQ Forums
Viewing all articles
Browse latest Browse all 2772

Raise Shipment Custom Agent via Integration

$
0
0
Hi friends,

I try to send an integration event to OTM to raise a Custom Agent named SHIP_CONFIRM. Below is the XML message I sent.

<Transmission>
<TransmissionHeader>
<UserName>NCI.INTEGRATION</UserName>
<Password>CHANGEME</Password>
<AckSpec>
<ComMethodGid>
<Gid>
<DomainName>PUBLIC</DomainName>
<Xid>EMAIL</Xid>
</Gid>
</ComMethodGid>
<EmailAddress>tdanley@ncigroup.com</EmailAddress>
<AckOption>ERROR</AckOption>
</AckSpec>
</TransmissionHeader>
<TransmissionBody>
<GLogXMLElement>
<Topic>
<TopicAliasName>glog.server.workflow.lifetime.ship ment.CustomShipmentEvent</TopicAliasName>
<TopicArg>
<TopicArgName>object</TopicArgName>
<TopicArgValue>622695</TopicArgValue>
<TopicArgName>agentEvent</TopicArgName>
<TopicArgValue>SHIP_CONFIRM</TopicArgValue>
</TopicArg>
</Topic>
</GLogXMLElement>
</TransmissionBody>
</Transmission>

OTM received the message and processed but threw the errors:

Topic glog.server.workflow.lifetime.shipment.CustomShipm entEvent$Factory: missing parameter shipment

Invalid topic class glog.server.workflow.lifetime.shipment.CustomShipm entEvent for process control record null

I must have had something not quite right, but I'm very new to OTM so hoping some of you who had worked on similar subject could help. Thanks.

Viewing all articles
Browse latest Browse all 2772

Trending Articles