[ http://jira.codehaus.org/browse/XFIRE-746?page=comments#action_80000 ] 
            
James Burton commented on XFIRE-746:
------------------------------------

According to this page...
http://ant.apache.org/manual/running.html

...to send variables to the JVM you should set the ANT_OPTS environment 
variable. So a simple DOS batch script looks like this...

set ANT_OPTS=-Djavax.net.ssl.keyStore=c:/jdk1.5.0_07/jre/lib/security/cacerts 
-Djavax.net.ssl.keyStorePassword=changeit
ant wsgen

(sorry, I don't know the jira markup and the markup help icon doesn't work in 
this installation, but the above two lines are MS-DOS batch code)

However, this results in the same error, as does setting the arguments in the 
eqivalent Eclipse ant task.

> allow wsgen to work with wsdl from https
> ----------------------------------------
>
>                 Key: XFIRE-746
>                 URL: http://jira.codehaus.org/browse/XFIRE-746
>             Project: XFire
>          Issue Type: Wish
>          Components: Generator
>    Affects Versions: 1.2.2
>         Environment: java 5, ant 1.6.5
>            Reporter: James Burton
>         Assigned To: Tomasz Sztelak
>            Priority: Trivial
>
> I've got my xfire webservices working just fine over unauthenticated https, 
> after exporting/importing certificates and changing the url in the wsgen 
> generated code. I then tried to use wsgen against the wsdl from the https 
> (instead of http) and it failed with this error...
> <wsgen outputDirectory="${basedir}/src/main/java" 
> wsdl="https://...Service?wsdl"; overwrite="true" />
> BUILD FAILED
> java.io.IOException: HTTPS hostname wrong:  should be <...>
> Where ... is my local hostname. A quick googling seemed to suggest that it 
> might be possible to fix this in the wsgen code, although I'm not sure.
> I thought it useful to make wsgen compatible with https, if indeed the 
> problem is not with my use of wsgen.
> Thanks,
> James

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to