0 Replies Latest reply on Nov 11, 2008 11:19 PM by Chris Au

    Self-signed cert SOAPClient wise

    Chris Au Newbie

      May I know if there is similar properties ("http-client-property") like the JBossSOAPClient that I could specify the keystore and protocol-socket-factory? As I have a testing site that used self-signed certificate.
      Using the same configuration as another site that used CA signed certificate produce pretty different error log :

      12:10:36,565 INFO [STDOUT] parsing WSDL...
      12:10:37,831 INFO [STDOUT] [ERROR] Failed to read the WSDL document: https://21
      0.177.52.149/tds/services/tds_client_xchgSOAP?wsdl, because 1) could not find th
      e document; /2) the document could not be read; 3) the root element of the docum
      ent is not <wsdl:definitions>.
      12:10:37,847 INFO [STDOUT] unknown location
      12:10:37,878 INFO [STDOUT] Failed to parse the WSDL.
      12:10:37,878 INFO [STDOUT] Failed to invoke WsImport
      12:10:37,878 INFO [STDOUT] java.lang.IllegalStateException: WsImport invocation
      failed. Try the verbose switch for more information
      12:10:37,878 INFO [STDOUT] at org.jboss.ws.tools.jaxws.impl.SunRIConsumerIm
      pl.consume(SunRIConsumerImpl.java:190)
      12:10:37,878 INFO [STDOUT] at org.jboss.wsf.spi.tools.WSContractConsumer.co
      nsume(WSContractConsumer.java:189)
      12:10:37,878 INFO [STDOUT] at it.javalinux.wise.core.client.WSDynamicClient
      .importObjectFromWsdl(WSDynamicClient.java:165)
      12:10:37,878 INFO [STDOUT] at it.javalinux.wise.core.client.WSDynamicClient
      .init(WSDynamicClient.java:125)
      12:10:37,878 INFO [STDOUT] at it.javalinux.wise.core.client.WSDynamicClient
      .init(WSDynamicClient.java:94)
      12:10:37,878 INFO [STDOUT] at it.javalinux.wise.core.client.WSDynamicClient
      Factory.getClient(WSDynamicClientFactory.java:120)
      12:10:37,878 INFO [STDOUT] at org.jboss.soa.esb.actions.soap.wise.SOAPClien
      t.process(SOAPClient.java:225)
      12:10:37,878 INFO [STDOUT] at org.jboss.soa.esb.listeners.message.ActionPro
      cessingPipeline.process(ActionProcessingPipeline.java:316)
      12:10:37,878 INFO [STDOUT] at org.jboss.soa.esb.listeners.message.MessageAw
      areListener$TransactionalRunner.run(MessageAwareListener.java:530)
      12:10:37,878 INFO [STDOUT] at java.util.concurrent.ThreadPoolExecutor$Worke
      r.runTask(ThreadPoolExecutor.java:650)
      12:10:37,878 INFO [STDOUT] at java.util.concurrent.ThreadPoolExecutor$Worke
      r.run(ThreadPoolExecutor.java:675)
      12:10:37,878 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      12:10:42,006 WARN [ActionProcessingPipeline] Unexpected exception caught while
      processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Addr
      ess jms://127.0.0.1:1099/queue/qInternalGatewayUnconfirmed/>, <wsa:ReferenceProp
      erties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFa
      ctory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:
      1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp
      .interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <ws
      a:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProp
      erties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperti
      es jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-m
      ode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>
      , <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] Mess
      ageID: 3bfcd8f1-2a54-42e9-94f6-d6d61a85e188 RelatesTo: jms:correlationID#3bfcd8f
      1-2a54-42e9-94f6-d6d61a85e188 ]
      java.lang.NullPointerException
      at org.jboss.soa.esb.actions.soap.wise.SOAPClient.process(SOAPClient.jav
      a:280)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
      ActionProcessingPipeline.java:316)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener$Transactiona
      lRunner.run(MessageAwareListener.java:530)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)