axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: Creating Stub from WSDL on HTTPS
Date Mon, 05 Nov 2007 05:21:37 GMT
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> 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.ConfigurationContextconfigurationContext)
>          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
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message