axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (AXIS2-4692) Java2WSDL not generating location HTTPS
Date Tue, 21 Feb 2012 15:28:39 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212368#comment-13212368
] 

nadir amra edited comment on AXIS2-4692 at 2/21/12 3:26 PM:
------------------------------------------------------------

This issue has been fixed in revision http://svn.apache.org/viewvc?view=revision&revision=1291601

Basically one can now specify https, http or both in the -l option (using comma as the delimiter).
 No checks are made to see if the endpoint is active.  

As I was coding the fix, I also fixed the generation of REST endpoints.  The code did not
generate an endpoint for https if it was specified.  

I also updated the doc. 
                
      was (Author: nadiramra):
    This issue has been fixed in revision http://svn.apache.org/viewvc?view=revision&revision=1291601

Basically one can not specify https, http or both in the -l option (using comma as the delimiter).
 Not checks are made to see if the endpoint is active.  

As I was coding the fix, I also fixed the generation of REST endpoints.  The code did not
generate an endpoint for HTTPS if it was specified.  

I also updated the doc. 
                  
> Java2WSDL not generating location HTTPS
> ---------------------------------------
>
>                 Key: AXIS2-4692
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4692
>             Project: Axis2
>          Issue Type: Bug
>         Environment: OS: Debian GNU/Linux
> WSO2 WSAS v3.1.3
>            Reporter: Vitor Manuel Alves Rodrigues
>             Fix For: 1.7.0, nightly
>
>         Attachments: Entity_HTTP.wsdl, Entity_HTTPS.wsdl, services.xml
>
>
> Hi everyone,
> I have this in my build.xml, to generate my wsdl:
> ...
> <java classname="org.apache.ws.java2wsdl.Java2WSDL" fork="yes" >
>              <arg value="-l"/> 
>              <arg value="https://entitas-d.corp.turismodeportugal.pt:9443/services/Entity"
/> 
> 	     <arg value="-of"/>
>              <arg value="${wsdl.dir}/Entity.wsdl" />
> 	     <arg value="-tn"/>  
> 	     <arg value="http://entitas.turismodeportugal.pt" /> -->
>  	    <!-- <arg value="-cn" />
>              <arg value="pt.turismodeportugal.entitas.Entity" />
>       <classpath>
>        <path refid="axis.classpath"/>
>        <pathelement path="${classes.dir}"/>
>       </classpath>
>      </java> 
> ...
> For HTTP(changing the line   <arg value="https://entitas-d.corp.turismodeportugal.pt:9443/services/Entity"
/> to   <arg value="http://entitas-d.corp.turismodeportugal.pt:9763/services/Entity"
/>) it produces this in the wsdl:
> ....
>  <wsdl:service name="Entity">
>         <wsdl:port name="EntityHttpSoap11Endpoint" binding="ns:EntitySoap11Binding">
>             <soap:address location="http://entitas-d.corp.turismodeportugal.pt:9763/services/Entity"/>
>         </wsdl:port>
>         <wsdl:port name="EntityHttpSoap12Endpoint" binding="ns:EntitySoap12Binding">
>             <soap12:address location="http://entitas-d.corp.turismodeportugal.pt:9763/services/Entity"/>
>         </wsdl:port>
>         <wsdl:port name="EntityHttpEndpoint" binding="ns:EntityHttpBinding">
>             <http:address location="http://entitas-d.corp.turismodeportugal.pt:9763/services/Entity"/>
>         </wsdl:port>
>     </wsdl:service>
> ....
> For the HTTPS, it doesn't produce the Endpoints.... Any ideas? Something in the services.xml
missing? I will attach the files.....
> Help please it urgent :S

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message