Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error javax.xml.rpc.handler.HandlerRegistry in a Standlone Proxy


I want to communicate with a web service with attachment file. I develop following the sap guide a Standlone proxy with the WSDL service. I need to change the soap header and manage the request and response. Sap Portal Netweaver 7.0 sp 15 uses JAX RPC 1.0 and manage all related to the Web services with this technology. Following the JAX RPC guide it is said that you can install a handler to manage the SOAP message. The code is bellow:

ENT_ARQ_FileRoutingImpl service =new ENT_ARQ_FileRoutingImpl();
IENT_ARQ_FileRoutingByStream port= service.getBasicSreamEndpoint();

HandlerRegistry registry=service.getHandlerRegistry();
QName qnamePort = new QName("", "basicSreamEndpoint");
List handlerList=new ArrayList();
handlerList.add(new MyHandler());


The main problem is that service.getHandlerRegistry(); return a null and it is impossible to register a new handler.

Please if someone has idea how to solve this problem or how to modify the content type of soap message I will appreciate.

Thanks in advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question