|
When I try to send a document using Oxalis-Ng-Outbound only in some cases will this error be returned to me: Failed to transmit document: You are not allowed to override the EndpointAddress from SMP.I call the library that and pass this data to it: TransmissionRequest request = requestBuilder
.sender(sender)
.receiver(receiver)
.documentType(documentType)
.processType(processIdentifier)
.payLoad(documentStream)
.build();
logger.debug("TransmissionRequest built successfully");
TransmissionResponse response = transmitter.transmit(request);I also tried to send myself the exact same document using the Oxalis-Ng-Standalone tool and the document is sent without any problem. Why does this mistake only happen to me in some cases and not always? |
Answered by
OysteinLq
Oct 21, 2025
Replies: 1 comment
|
Any chance you're reusing your requestbuilder instance? I think that could trigger this problem -- I think it would in practice work on the first attempt at sending a document, and from then on only work for documents that go to the same endpoint. |
0 replies
Answer selected by
Alby5521
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any chance you're reusing your requestbuilder instance? I think that could trigger this problem -- I think it would in practice work on the first attempt at sending a document, and from then on only work for documents that go to the same endpoint.
Never seen this issue ourselves, so couldn't say for sure.