OxalisCommunity / oxalis

Oxalis - PEPPOL Access Point open source implementation - Core component
Other
129 stars 91 forks source link

How to fix the exception: Endpoint was set by caller not retrieved from SMP, make sure this is intended behaviour. (manual configuration) #679

Closed iPriyanshuRanjan closed 2 months ago

iPriyanshuRanjan commented 3 months ago

Transmission not going through SMP, getting caller not retrieved from SMP, make sure this is intended behaviour.

2024-06-24 17:07:58,636 INFO [network.oxalis.commons.security.CertificateModule] Certificate subject: CN=POS000678, OU=PEPPOL TEST AP, O=XYZ, C=AE 2024-06-24 17:07:58,636 INFO [network.oxalis.commons.security.CertificateModule] Certificate issuer: CN=PEPPOL ACCESS POINT TEST CA - G2, OU=FOR TEST ONLY, O=OpenPEPPOL AISBL, C=BE 2024-06-24 17:07:58,675 INFO [network.oxalis.vefa.peppol.security.ModeDetector] Detected mode: TEST 2024-06-24 17:07:58,680 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] Prioritized list of transport profiles: 2024-06-24 17:07:58,681 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => peppol-transport-as4-v2_0 2024-06-24 17:07:58,681 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0r1 2024-06-24 17:07:58,681 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver2p0 2024-06-24 17:07:58,681 INFO [network.oxalis.outbound.transmission.MessageSenderFactory] => busdox-transport-as2-ver1p0

2024-06-24 17:07:59,177 WARN [network.oxalis.outbound.transmission.TransmissionRequestBuilder] Endpoint was set by caller not retrieved from SMP, make sure this is intended behaviour. Jun 24, 2024 5:07:59 PM org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean buildServiceFromClass INFO: Creating Service {oxalis.network/}outbound-service from class org.apache.cxf.jaxws.support.DummyImpl 13a95d5a-988c-4391-964e-0035bc147d7b@SPL-PS-PR transmission took 3629 ms Average transmission time was 3629.0ms Total time spent: 3s Attempted to send 1 files Failed transmissions: 0 Transmission speed 0 documents per second Process finished with exit code 0

I able to send message locally but between Oalis-standalone and Oxalis-server but I am getting error while configuring SMP Please suggest how I configure SMP configurations in oxalis.conf and what parameters I have to set it that.

aaron-kumar commented 2 months ago

You need Not to configure SMP. Oxalis itself take care of that.

Message is very concise and clear: "Endpoint was set by caller not retrieved from SMP, make sure this is intended behaviour." For example use following standalone command to send message. It will automatically do proper SML/SMP lookup provided document contain proper SBDH. For windows: java -cp "D:\oxalis-distribution-6.6.0-distro\bin\*;D:\oxalis-as4-6.6.0-dist\*" eu.sendregning.oxalis.Main -f "D:\document.xml"

For Linux: java -cp "D:\oxalis-distribution-6.6.0-distro\bin\*:D:\oxalis-as4-6.6.0-dist\*" eu.sendregning.oxalis.Main -f "D:\document.xml"