Results 1 to 1 of 1
- 05-12-2010, 07:43 PM #1
Member
- Join Date
- May 2010
- Posts
- 1
- Rep Power
- 0
JAX-RPC Registering a Client-Side Handler Problem
Hey,
Very new to Java. Trying to consume a web service (using wscompile generated stubs) and process the SOAP message in a handler before it gets sent out.
The handler is not being called no matter what I try.
Code:
Java Code:ApiService_Impl impl = new ApiService_Impl(); Stub stub = (Stub)(impl.getApiSoapPort()); stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, "SOAP_ENDPOINT"); Iterator iter = impl.getPorts(); List handlerChain = new ArrayList(); handlerChain.add(new HandlerInfo(ClientAuthenticator.class, null, null)); HandlerRegistry registry = impl.getHandlerRegistry(); while (iter.hasNext()){ registry.setHandlerChain((QName)iter.next(), handlerChain); }
Thanks
Similar Threads
-
how to access Ms Access from client side to server side
By arunkumarinfo in forum JDBCReplies: 1Last Post: 03-20-2010, 08:03 PM -
Registering problem
By trini32 in forum New To JavaReplies: 1Last Post: 06-25-2009, 05:35 AM -
Applet with (label client side)?
By Godsent in forum Java AppletsReplies: 1Last Post: 04-30-2009, 11:46 AM -
jsp program for client side printer to print these 2 strings on 3/3
By for453 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-07-2007, 05:42 PM -
How to implement secure connection(HTTPs) in client side
By vicky in forum NetworkingReplies: 6Last Post: 07-18-2007, 04:15 PM
Bookmarks