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

nathan wang (JIRA) jira-events at lists.jboss.org
Fri May 13 14:36:50 EDT 2011


javax.xml.ws.service getport not generate correct wsdl url on JBoss 6 
----------------------------------------------------------------------

                 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: tools-jaxws
    Affects Versions: jbossws-cxf-3.4.0
         Environment: Windows 7, JBoss 6.1.x(download from Hudson build)
            Reporter: nathan wang


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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list