[Users] BC-SOAP HTTPS

kk mk.khelif at gmail.com
Wed Mar 16 11:05:15 CET 2011


noddoux wrote:
> Hello,
> 
> It is not possible with this version of the SOAP binding component.
> 
> It is supported from the version 4.1 which is not released currently. However, you can download the source files from the branches 4.1.x and compile them.
> http://forge.ow2.org/plugins/scmsvn/index.php?group_id=213
> http://websvn.ow2.org/listing.php?repname=petals&path=%2Fbranches%2Fpetals-bc-soap-4.1.x%2F
> 
> On another hand, it is only possible to use JKS keystore and truststore in the version 4.1.


Thanks for the info. I compiled and installed the bc soap 4.1 but i still have erros :



> 
> [Petals.Container.Components.petals-bc-soap]-INFO 2010-12-07 19:27:09,689 Client authentication is enabled.
> [Petals.Container.Components.petals-bc-soap]-INFO 2010-12-07 19:27:09,690 Server authentication is enabled.
> [Petals.Container.Components.petals-bc-soap]-WARNING 2010-12-07 19:27:09,690 Catch an exception on the WS invocation : Can't create get an Axis service client from the pool
> javax.jbi.messaging.MessagingException: Can't create get an Axis service client from the pool
> 	at org.ow2.petals.binding.soap.SoapComponentContext.borrowServiceClient(SoapComponentContext.java:482)
> 	at org.ow2.petals.binding.soap.listener.outgoing.SOAPCaller.call(SOAPCaller.java:257)
> 	at org.ow2.petals.binding.soap.listener.outgoing.JBIListener.invokeCaller(JBIListener.java:132)
> 	at org.ow2.petals.binding.soap.listener.outgoing.JBIListener.onJBIMessage(JBIListener.java:156)
> 	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOutAsProvider(MessageExchangeProcessor.java:637)
> 	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:372)
> 	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
> 	at org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:177)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: port is invalid: -1
> 	at org.apache.commons.httpclient.protocol.Protocol.<init>(Protocol.java:183)
> 	at org.ow2.petals.binding.soap.listener.outgoing.ServiceClientPoolObjectFactory.setTransport(ServiceClientPoolObjectFactory.java:260)
> 	at org.ow2.petals.binding.soap.listener.outgoing.ServiceClientPoolObjectFactory.createOptions(ServiceClientPoolObjectFactory.java:147)
> 	at org.ow2.petals.binding.soap.listener.outgoing.ServiceClientPoolObjectFactory.makeObject(ServiceClientPoolObjectFactory.java:389)
> 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
> 	at org.ow2.petals.binding.soap.SoapComponentContext.borrowServiceClient(SoapComponentContext.java:479)
> 	... 10 more
> 


Here lines I added to my JBI


> 
> 
> <soap:https-truststore-file>../jssecacerts</soap:https-truststore-file >
> 			<soap:https-truststore-password></soap:https-truststore-password>
> 			<soap:https-keystore-file>../keystore.jks</soap:https-keystore-file >
> 			<soap:https-key-password >qsdfgh02;</soap:https-key-password >
> 

I have a PCKS12 certifcate. I generated the jssecacerts by using InstallCert.java and I generetaed the keystore.jks by using keytool.

Any idea?

Thanks in advance
KK




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications :
http://forum.petalslink.com/m2f_usercp.php

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31645#31645

-------------------- m2f --------------------






More information about the Users mailing list