1 Reply Latest reply on Jul 29, 2008 12:58 AM by Kevin Chien

    wsconsume https

    Rafal Scipien Newbie

      hi all

      I want to develop web service over https but i have problem with generating artifactes from https:
      -----------------------------------------------------
      1) It is possible to generate artifactes from https://site/wsdl.wsdl ?
      ------------------------------------------------------
      I configure tomcat ssl

      jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\servers

      and web.xml in my application

      <security-constraint>
       <web-resource-collection>
       <web-resource-name>Protected Context</web-resource-name>
       <url-pattern>/*</url-pattern>
       </web-resource-collection> -->
       <!-- auth-constraint goes here if you requre authentication -->
       <!--<user-data-constraint>
       <transport-guarantee>CONFIDENTIAL</transport-guarantee>
       </user-data-constraint>
       </security-constraint>
      

      -----------------------------------------------------
      2) I must configure somthing else to work with ssl web service?
      -----------------------------------------------------

      my ant task
      <?xml version="1.0" encoding="UTF-8"?>
      <project name="helloworld" default="run" basedir=".">
       <description>
       Pierwszy ant
       </description>
       <path id="web.services.classpath">
       <fileset dir="C:/Java/jdk1.5.0_15/lib" includes="*.jar" />
       <fileset dir="C:/jboss-4.2.2.GA/lib/endorsed/" includes="*.jar" />
       <fileset dir="C:/jboss-4.2.2.GA/lib/" includes="*.jar" />
       <fileset dir="C:/jboss-4.2.2.GA/client/" includes="*.jar" />
      
      </path>
      
      
      <target name="run">
      <taskdef name="wsconsume" classname="org.jboss.wsf.spi.tools.ant.WSConsumeTask">
       <classpath refid="web.services.classpath"/>
       </taskdef>
      
      
      <wsconsume
      fork="true"
      destdir="d:\ant\bin"
      sourcedestdir="d:\ant\src"
      keep="true"
      wsdl="https://127.0.0.1/Bank/Authorization?wsdl"
      package="endpoint"
      verbose="true">
      <jvmarg value="-Djavax.net.ssl.keyStore=server.keystore -Djavax.net.ssl.keyStorePassword=pracamgr -Djavax.net.ssl.trustStore=server.keystore -Djavax.net.ssl.trustStorePassword=pracamgr" />
      </wsconsume>
      </target>
      </project>