You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Mr Zubri
i have created an mx message but i am having difficulty creating the external part, which is DataPDU and header tag. like i can create from tag and below, i mean the body tag but for the above part, i don't know which class i should include to take an object from it and create the rest of the message as i did in the remaining part
Prowide has full support to build and parse the DataPDU wrapper in the Prowide Integrator.
However such feature is not available in the open source library.
Or if you want to handle that yourself, the way I would recommend is that you take the XSD schema for the DataPDU (this come from SWIFT Alliance Access, and there are multiple versions of it) and that you generate the model with jaxb.
Then you would be able to marshall the wrapper in a similar way to what the ISO library does with the MX payloads.
Notice you can combine your own marshaller for the wrapper, and use the library serializer to inject afterwards the MX payload in the DataPDU Body element.
Dear Mr Zubri
i have created an mx message but i am having difficulty creating the external part, which is DataPDU and header tag. like i can create from tag and below, i mean the body tag but for the above part, i don't know which class i should include to take an object from it and create the rest of the message as i did in the remaining part
this is my missing part
?xml version="1.0"?>
<ns:DataPDU
xmlns:ns="urn:swift:saa:xsd:saa.2.0">
ns:Header
ns:Message
ns:SenderReferenceMXWebM522237</ns:SenderReference>
ns:MessageIdentifiercamt.029.001.01</ns:MessageIdentifier>
ns:FormatAnyXML</ns:Format>
ns:SubFormatInput</ns:SubFormat>
ns:Sender
ns:DNo=ptsausaa,o=swift</ns:DN>
ns:FullName
ns:X1PTSAUSAAXXX</ns:X1>
</ns:FullName>
</ns:Sender>
ns:Receiver
ns:DNo=ptsausaa,o=swift</ns:DN>
ns:FullName
ns:X1PTSAUSAAXXX</ns:X1>
</ns:FullName>
</ns:Receiver>
ns:InterfaceInfo
ns:UserReferenceMXWebM522237</ns:UserReference>
</ns:InterfaceInfo>
ns:NetworkInfo
ns:IsNotificationRequestedtrue</ns:IsNotificationRequested>
ns:Serviceswift.generic.ia!x</ns:Service>
</ns:NetworkInfo>
</ns:Message>
</ns:Header>
The text was updated successfully, but these errors were encountered: