Recently, I have been studying the XDS tutorial project you wrote. When running the test cases, it works very well, but I have some doubts when understanding the ITI43 transaction, which is to retrieve the documents. For example, in this line of code def attachments = retrieveResponse.documents[0].dataHandler.dataSource.attachments, its function is to get the attachment objects from the response, but when I checked the definition of the DataSource class, I found that there is no Attachments property at all. How should I understand this situation?
I am recreating the test cases of the XDS tutorial project in Java, so I am stuck here and cannot proceed further. Please give me some suggestions, I really appreciate your help.
Best Regards
Ming
--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ipf-user/35607301-5eb6-4769-8396-3a302d80bce7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ipf-user/8b218151-4fca-42f5-b17c-19fae67b69fcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ipf-user/8d618d4a-a222-43e7-899e-f9f399a0b4b4n%40googlegroups.com.
Recently, I have been familiarizing myself with the XDS part of the IPF framework you developed. Through learning the XDS tutorial project, I found that I am not familiar with the Apache Camel technology and Groovy language you are using. So, when I develop XDS-related transactions in the future, can I use a pure Java approach and use web service technology? For example, for the ITI-41 transaction, can I implement the documentRepositoryProvideAndRegisterDocumentSetB method in the Iti41PortType interface, and write the specific registration and storage logic there? Is this technical route feasible? Because I am not very familiar with Apache Camel technology. What are the shortcomings of this implementation of the PortType interface approach? And compared to Apache Camel technology, which one has more advantages? Furthermore, if I use the PortType interface implementation technology, how should I configure and trigger the audit? (PS: The documentation only mentions using Apache Camel technology to configure the audit)
My audit configuration is as follows:
Thank you very much for your help.
Best Regards
Ming
To view this discussion on the web visit https://groups.google.com/d/msgid/ipf-user/fde702f3-0297-4b4e-a546-e801d4a1a05fn%40googlegroups.com.
Q2: Similarly, when I followed the code in SampleData.class, I only created documents and submission sets without creating any associations. However, when I got to the ITI-42 transaction and printed the logs, I found that there was a relationship between the document and submission set in the request body, and their relationship was of type HasMember. I am not clear whether this relationship was created when transforming the ProvideAndRegisterDocumentSetRequest to RegisterDocumentSetRequest.
Q3: Based on the XDS tutorial project, how should I modify it to support basic operations such as appending, transforming, and replacing documents? Or have I misunderstood the endpoints in Iti4142RouteBuilder.groovy, and the XDS tutorial project already implements some operations for appending, transforming, and replacing documents?
Thank you very much for taking the time to answer my questions amidst your busy schedule.
Best Regards
Ming