You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org> on 2010/04/22 18:07:50 UTC

[jira] Created: (AXIS2-4692) Java2WSDL not generating location location

Java2WSDL not generating location location
------------------------------------------

                 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


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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860868#action_12860868 ] 

Lahiru Gunathilake commented on AXIS2-4692:
-------------------------------------------

This happen because in default axis configuration we do not have a HTTPS transportReciever and if you have an HTTPS or any other transport endpoint, it will not be added to the wsdl endpoint list. If you have a servlet transport please add it to the axis2_default.xml, then only it will add to the endpoint list in wsdl. 

Or we can simply skip the check we are doing before adding the endpoint in to wsdl, so that any transport endpoint will be added to the wsdl, no matter whether it is configured and loaded in to axisConfiguration or not.

Thanks
Lahiru



> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4692:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861435#action_12861435 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Thks Lahiru Gunathilake .

Has you suggested i changed the AxisService2WSDL11.java and comment the lines

// if (!axisEndpoint.isActive()) {
//				continue;
//			}

Than packed the jar and it did it ;)

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Summary: Java2WSDL not generating location HTTPS  (was: Java2WSDL not generating location location)

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Summary: Java2WSDL not generating location HTTPS  (was: Java2WSDL not generating location location)

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861435#action_12861435 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Thks Lahiru Gunathilake .

Has you suggested i changed the AxisService2WSDL11.java and comment the lines

// if (!axisEndpoint.isActive()) {
//				continue;
//			}

Than packed the jar and it did it ;)

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860868#action_12860868 ] 

Lahiru Gunathilake commented on AXIS2-4692:
-------------------------------------------

This happen because in default axis configuration we do not have a HTTPS transportReciever and if you have an HTTPS or any other transport endpoint, it will not be added to the wsdl endpoint list. If you have a servlet transport please add it to the axis2_default.xml, then only it will add to the endpoint list in wsdl. 

Or we can simply skip the check we are doing before adding the endpoint in to wsdl, so that any transport endpoint will be added to the wsdl, no matter whether it is configured and loaded in to axisConfiguration or not.

Thanks
Lahiru



> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4692:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864340#action_12864340 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Now i have this problem:

In the custom WSDL, generated by WSO2/WSAS 3.2, the complex types inside complex types , that was fixed in the revision 921694 in axis2, doesn't work. 

http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=log&pathrev=921694


So i started making my wsdl with the java2wsdl, from that SNAPSHOT. Problem? Yes... in the default wsdl generated by the WSAS the response:

<ns:getCAEResponse>
<ns:return xsi:type="ns:IdNameReturnType">
<ns:id>A</ns:id>
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>
</ns:return>
</ns:getCAEResponse>

In the wsdl generated by java2wsdl with that SNAPSHOT:

<getCAEResponse>
<return>
<id>A</id>
<name>Agricultura, produção animal, caça, floresta e pesca</name>
</return>
</getCAEResponse>

What happen??????????????? Please tell what to do....

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location location

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Attachment: Entity_HTTP.wsdl
                Entity_HTTPS.wsdl
                services.xml

WSDL produced for HTTP ( Entity_HTTP)
WSDL produced for HTTP ( Entity_HTTPS)
Services.xml

> Java2WSDL not generating location location
> ------------------------------------------
>
>                 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Summary: Java2WSDL not generating location HTTPS  (was: Java2WSDL not generating location location)

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861435#action_12861435 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Thks Lahiru Gunathilake .

Has you suggested i changed the AxisService2WSDL11.java and comment the lines

// if (!axisEndpoint.isActive()) {
//				continue;
//			}

Than packed the jar and it did it ;)

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864340#action_12864340 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Now i have this problem:

In the custom WSDL, generated by WSO2/WSAS 3.2, the complex types inside complex types , that was fixed in the revision 921694 in axis2, doesn't work. 

http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=log&pathrev=921694


So i started making my wsdl with the java2wsdl, from that SNAPSHOT. Problem? Yes... in the default wsdl generated by the WSAS the response:

<ns:getCAEResponse>
<ns:return xsi:type="ns:IdNameReturnType">
<ns:id>A</ns:id>
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>
</ns:return>
</ns:getCAEResponse>

In the wsdl generated by java2wsdl with that SNAPSHOT:

<getCAEResponse>
<return>
<id>A</id>
<name>Agricultura, produção animal, caça, floresta e pesca</name>
</return>
</getCAEResponse>

What happen??????????????? Please tell what to do....

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864340#action_12864340 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Now i have this problem:

In the custom WSDL, generated by WSO2/WSAS 3.2, the complex types inside complex types , that was fixed in the revision 921694 in axis2, doesn't work. 

http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=log&pathrev=921694


So i started making my wsdl with the java2wsdl, from that SNAPSHOT. Problem? Yes... in the default wsdl generated by the WSAS the response:

<ns:getCAEResponse>
<ns:return xsi:type="ns:IdNameReturnType">
<ns:id>A</ns:id>
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>
</ns:return>
</ns:getCAEResponse>

In the wsdl generated by java2wsdl with that SNAPSHOT:

<getCAEResponse>
<return>
<id>A</id>
<name>Agricultura, produção animal, caça, floresta e pesca</name>
</return>
</getCAEResponse>

What happen??????????????? Please tell what to do....

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4692:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location location

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Attachment: Entity_HTTP.wsdl
                Entity_HTTPS.wsdl
                services.xml

WSDL produced for HTTP ( Entity_HTTP)
WSDL produced for HTTP ( Entity_HTTPS)
Services.xml

> Java2WSDL not generating location location
> ------------------------------------------
>
>                 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4692:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861435#action_12861435 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Thks Lahiru Gunathilake .

Has you suggested i changed the AxisService2WSDL11.java and comment the lines

// if (!axisEndpoint.isActive()) {
//				continue;
//			}

Than packed the jar and it did it ;)

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Summary: Java2WSDL not generating location HTTPS  (was: Java2WSDL not generating location location)

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860868#action_12860868 ] 

Lahiru Gunathilake commented on AXIS2-4692:
-------------------------------------------

This happen because in default axis configuration we do not have a HTTPS transportReciever and if you have an HTTPS or any other transport endpoint, it will not be added to the wsdl endpoint list. If you have a servlet transport please add it to the axis2_default.xml, then only it will add to the endpoint list in wsdl. 

Or we can simply skip the check we are doing before adding the endpoint in to wsdl, so that any transport endpoint will be added to the wsdl, no matter whether it is configured and loaded in to axisConfiguration or not.

Thanks
Lahiru



> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location location

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Attachment: Entity_HTTP.wsdl
                Entity_HTTPS.wsdl
                services.xml

WSDL produced for HTTP ( Entity_HTTP)
WSDL produced for HTTP ( Entity_HTTPS)
Services.xml

> Java2WSDL not generating location location
> ------------------------------------------
>
>                 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864340#action_12864340 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Now i have this problem:

In the custom WSDL, generated by WSO2/WSAS 3.2, the complex types inside complex types , that was fixed in the revision 921694 in axis2, doesn't work. 

http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=log&pathrev=921694


So i started making my wsdl with the java2wsdl, from that SNAPSHOT. Problem? Yes... in the default wsdl generated by the WSAS the response:

<ns:getCAEResponse>
<ns:return xsi:type="ns:IdNameReturnType">
<ns:id>A</ns:id>
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>
</ns:return>
</ns:getCAEResponse>

In the wsdl generated by java2wsdl with that SNAPSHOT:

<getCAEResponse>
<return>
<id>A</id>
<name>Agricultura, produção animal, caça, floresta e pesca</name>
</return>
</getCAEResponse>

What happen??????????????? Please tell what to do....

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Summary: Java2WSDL not generating location HTTPS  (was: Java2WSDL not generating location location)

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861435#action_12861435 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Thks Lahiru Gunathilake .

Has you suggested i changed the AxisService2WSDL11.java and comment the lines

// if (!axisEndpoint.isActive()) {
//				continue;
//			}

Than packed the jar and it did it ;)

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860868#action_12860868 ] 

Lahiru Gunathilake commented on AXIS2-4692:
-------------------------------------------

This happen because in default axis configuration we do not have a HTTPS transportReciever and if you have an HTTPS or any other transport endpoint, it will not be added to the wsdl endpoint list. If you have a servlet transport please add it to the axis2_default.xml, then only it will add to the endpoint list in wsdl. 

Or we can simply skip the check we are doing before adding the endpoint in to wsdl, so that any transport endpoint will be added to the wsdl, no matter whether it is configured and loaded in to axisConfiguration or not.

Thanks
Lahiru



> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4692:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location location

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Attachment: Entity_HTTP.wsdl
                Entity_HTTPS.wsdl
                services.xml

WSDL produced for HTTP ( Entity_HTTP)
WSDL produced for HTTP ( Entity_HTTPS)
Services.xml

> Java2WSDL not generating location location
> ------------------------------------------
>
>                 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864340#action_12864340 ] 

Vitor Manuel Alves Rodrigues commented on AXIS2-4692:
-----------------------------------------------------

Now i have this problem:

In the custom WSDL, generated by WSO2/WSAS 3.2, the complex types inside complex types , that was fixed in the revision 921694 in axis2, doesn't work. 

http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?view=log&pathrev=921694


So i started making my wsdl with the java2wsdl, from that SNAPSHOT. Problem? Yes... in the default wsdl generated by the WSAS the response:

<ns:getCAEResponse>
<ns:return xsi:type="ns:IdNameReturnType">
<ns:id>A</ns:id>
<ns:name>Agricultura, produção animal, caça, floresta e pesca</ns:name>
</ns:return>
</ns:getCAEResponse>

In the wsdl generated by java2wsdl with that SNAPSHOT:

<getCAEResponse>
<return>
<id>A</id>
<name>Agricultura, produção animal, caça, floresta e pesca</name>
</return>
</getCAEResponse>

What happen??????????????? Please tell what to do....

> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-4692) Java2WSDL not generating location location

Posted by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues updated AXIS2-4692:
------------------------------------------------

    Attachment: Entity_HTTP.wsdl
                Entity_HTTPS.wsdl
                services.xml

WSDL produced for HTTP ( Entity_HTTP)
WSDL produced for HTTP ( Entity_HTTPS)
Services.xml

> Java2WSDL not generating location location
> ------------------------------------------
>
>                 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
>         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.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-4692) Java2WSDL not generating location HTTPS

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860868#action_12860868 ] 

Lahiru Gunathilake commented on AXIS2-4692:
-------------------------------------------

This happen because in default axis configuration we do not have a HTTPS transportReciever and if you have an HTTPS or any other transport endpoint, it will not be added to the wsdl endpoint list. If you have a servlet transport please add it to the axis2_default.xml, then only it will add to the endpoint list in wsdl. 

Or we can simply skip the check we are doing before adding the endpoint in to wsdl, so that any transport endpoint will be added to the wsdl, no matter whether it is configured and loaded in to axisConfiguration or not.

Thanks
Lahiru



> 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
>            Assignee: Lahiru Gunathilake
>         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.
-
You can reply to this email to add a comment to the issue online.


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