axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Hwang <hw...@mystrands.com>
Subject Re: Creating Stub from WSDL on HTTPS
Date Mon, 05 Nov 2007 19:43:14 GMT
Thanks Amila,

But Java2WSDL creates following WSDL services.
Why does it generate so many port and why the port 80(for HTTPS) and 8080(HTTP) is added to
the location?
We have servers running on 80 for HTTP and 443 for HTTPS.
Is there some way I can for the port addresses?
Thanks,

- Leon

Amila Suriarachchi wrote:
> by default axis2 generates the stub only to the first soap12 binding it 
> finds. in this case it has found the
> ApiSOAP12port_http1
> 
> if you want to generate it to any other pirticular port use
> -sn and -pn options
> 
> eg.
> -sn Api -pn ApiSOAP12port_https
> 
> amila.
> 
> On 11/2/07, *Leon Hwang* <hwang@mystrands.com 
> <mailto:hwang@mystrands.com>> wrote:
> 
>     I created a stub from wsdl from HTTPS port but the uri in the stub
>     shows http with port 80.
>     Am I doing something wrong or do I have to make changes in tomcat
>     settings or axis settings?
> 
>     I am using axis2 1.3 with tomcat 6.
> 
> 
>     set JAVA_OPTS=-Djavax.net.ssl.trustStore="c:/program
>     files/java/jre1.6.0_01/lib/security/cacerts"
>     wsdl2java.bat -or -uw --noBuildXML -uri
>     https://openapi.strands.com:443/services/Api?wsdl
> 
> 
> 
>           * Default Constructor
>           */
>          public ApiStub(
>              org.apache.axis2.context.ConfigurationContext
>     configurationContext)
>              throws org.apache.axis2.AxisFault {
>              this(configurationContext, "
>     http://openapi.strands.com:80/services/Api");
>          }
> 
>          /**
>           * Default Constructor
>           */
>          public ApiStub() throws org.apache.axis2.AxisFault {
>              this(" http://openapi.strands.com:80/services/Api");
>          }
> 
> 
>     - Leon
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>     <mailto:axis-dev-unsubscribe@ws.apache.org>
>     For additional commands, e-mail: axis-dev-help@ws.apache.org
>     <mailto:axis-dev-help@ws.apache.org>
> 
> 
> 
> 
> -- 
> Amila Suriarachchi,
> WSO2 Inc.

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


Mime
View raw message