[jbossws-issues] [JBoss JIRA] (JBWS-3297) javax.xml.ws.service getport not generate correct wsdl url

Jim Ma (JIRA) jira-events at lists.jboss.org
Thu Feb 9 00:01:50 EST 2012


     [ https://issues.jboss.org/browse/JBWS-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma updated JBWS-3297:
-------------------------

            Summary: javax.xml.ws.service getport not generate correct wsdl url  (was: javax.xml.ws.service getport not generate correct wsdl url on JBoss 6 )
        Description: 
JBoss 6 run on localhost:8080

Webservice call by jboss ejb url http://locahost:9090/webservice/HelloService?wsdl

 
The code in EJB to build webservice port is:

 

URL wsdlUrl = new("http://locahost:9090/webservice/HelloService?wsdl);


Service service = Service.create(wsdlUrl,serviceName);

HelloServicePortType helloPort = service.getPort(HelloServicePortType.class);

 
at the first time call the helloPort generate correct, it use http://locahost:9090/webservice/HelloService?wsdl as wsdl location

then every call after first time call the wsdl location auto change to http://locahost:8080/webservice/HelloService?wsdl.

 
The code run on JBoss 5 fine, when migrate to JBoss 6, the problem happen. 

This also happens in JBoss7. 

  was:
Boss 6 run on localhost:8080

Webservice call by jboss ejb url http://locahost:9090/webservice/HelloService?wsdl

 
The code in EJB to build webservice port is:

 

URL wsdlUrl = new("http://locahost:9090/webservice/HelloService?wsdl);


Service service = Service.create(wsdlUrl,serviceName);

HelloServicePortType helloPort = service.getPort(HelloServicePortType.class);

 
at the first time call the helloPort generate correct, it use http://locahost:9090/webservice/HelloService?wsdl as wsdl location

then every call after first time call the wsdl location auto change to http://locahost:8080/webservice/HelloService?wsdl.

 
The code run on JBoss 5 fine, when migrate to JBoss 6, the problem happen. 

    Forum Reference: http://community.jboss.org/thread/166696  (was: http://community.jboss.org/thread/166696)

    
> javax.xml.ws.service getport not generate correct wsdl url
> ----------------------------------------------------------
>
>                 Key: JBWS-3297
>                 URL: https://issues.jboss.org/browse/JBWS-3297
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-3.4.0
>         Environment: Windows 7, JBoss 6.1.x(download from Hudson build)
>            Reporter: nathan wang
>            Assignee: Jim Ma
>              Labels: jboss
>             Fix For: jbossws-cxf-4.0.2
>
>
> JBoss 6 run on localhost:8080
> Webservice call by jboss ejb url http://locahost:9090/webservice/HelloService?wsdl
>  
> The code in EJB to build webservice port is:
>  
> URL wsdlUrl = new("http://locahost:9090/webservice/HelloService?wsdl);
> Service service = Service.create(wsdlUrl,serviceName);
> HelloServicePortType helloPort = service.getPort(HelloServicePortType.class);
>  
> at the first time call the helloPort generate correct, it use http://locahost:9090/webservice/HelloService?wsdl as wsdl location
> then every call after first time call the wsdl location auto change to http://locahost:8080/webservice/HelloService?wsdl.
>  
> The code run on JBoss 5 fine, when migrate to JBoss 6, the problem happen. 
> This also happens in JBoss7. 

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

        


More information about the jbossws-issues mailing list