Accessing webservice without namespace org.apache.cxf.interceptor.Fault: UnmarshallingError: Unexpected element (uri: “”, local: “arg0”)

What you want to achieve: The client does not have a namespace when accessing the server. Searching on Baidu adds an interceptor to the service. code show as below: import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Message; import org.apache.cxf.phase.AbstractPhaseInterceptor; import org.apache.cxf.phase.Phase; import org.apache.cxf.service.model.ServiceInfo; import java.io.*; public class ServerNameSpaceInterceptor extends AbstractPhaseInterceptor<Message> { public ServerNameSpaceInterceptor() { super(Phase.RECEIVE); } @Override public void […]

LCM (Lightweight Communications and Marshalling)

1. LCM (Lightweight Communications and Marshalling) is a set of libraries and tools for message passing and data marshalling, The goal is real-time systems with high bandwidth and low latency. Provides a publish/subscribe messaging model and automatic marshalling/unmarshalling code generation with application bindings in various programming languages such as C++, Java, python, etc., and communicates […]

Kotlin communicates using the LCM (Lightweight Communications and Marshalling) protocol

Kotlin uses LCM (Lightweight Communications and Marshalling) protocol communication Goal Use Kotlin as the development language, and perform real-time data exchange through LCM. Demonstrate the development capabilities of Kotlin and the use of LCM. Provide a basis for the development of the Kotlin-based LCM protocol. Prerequisites Installed LCM, including the lcm.jar of the library file, […]