Actually our understanding is whenever we are connecting from jboss remoting
client to jboss remoting server through HTTPS, actually we need to pass the
meta data, otherwise it will throw the exception which is shown in previous
post.(java.io.IOException: HTTPS hostname wrong: should be )
sample meta data and invoke method calling code:
Map metadata = new HashMap();
metadata.put(Client.RAW, Boolean.TRUE);
metadata.put("TYPE", "POST");
Properties headerProps = new Properties();
headerProps.put("SOAPAction", "http://www.example.com/fibonacci");
headerProps.put("Content-type", "application/soap+xml");
metadata.put("HEADER", headerProps);
metadata.put(HTTPSClientInvoker.IGNORE_HTTPS_HOST, "true");
Object response = null;
response =
remotingClient.invoke(HTTPInvokerTestServer.NULL_RETURN_PARAM, metadata);
it is ok that we can send the meta data whenever requires.
but while adding the listener, the Previous post Exception(java.io.IOException:
HTTPS hostname wrong: should be ) occurs. at that time how to send?
remotingClient.addListener(callbackHandler);
Note: callbackHandler is the instance of InvokerCallbackHandler.
in what scenarios this exception will raise? How to avoid that exception?
we are halted because of this issue.
please help us.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952270#3952270
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952270
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user