You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Roy A. Wood Jr. (JIRA)" <ji...@apache.org> on 2008/03/21 18:33:24 UTC

[jira] Created: (AXIS2-3648) Running JAXWS proxy tests with WSDL fails

Running JAXWS proxy tests with WSDL fails
-----------------------------------------

                 Key: AXIS2-3648
                 URL: https://issues.apache.org/jira/browse/AXIS2-3648
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Roy A. Wood Jr.
            Priority: Minor


When running the proxy tests with WSDL, we get a WebServices exception

stack trace:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.axis2.jaxws.proxy.ProxyTests
javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Can not do a getPort on a port added via addPort()
.  PortQN: {http://doclitwrapped.proxy.test.org}ProxyDocLitWrappedPort
        at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
        at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:44
5)
        at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:317)
        at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:177)
        at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:527)
        at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:452)
        at javax.xml.ws.Service.getPort(Service.java:40)
        at org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ProxyDocLitWrappedService.getProxyDocLitWrappedPort(ProxyDocLitWrappedSe
rvice.java:79)
        at org.apache.axis2.jaxws.proxy.ProxyTests.testMultipleServiceCalls(ProxyTests.java:62)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3648) Running JAXWS proxy tests with WSDL fails

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

Roy A. Wood Jr. resolved AXIS2-3648.
------------------------------------

    Resolution: Fixed

> Running JAXWS proxy tests with WSDL fails
> -----------------------------------------
>
>                 Key: AXIS2-3648
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3648
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>            Priority: Minor
>
> When running the proxy tests with WSDL, we get a WebServices exception
> stack trace:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.axis2.jaxws.proxy.ProxyTests
> javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Can not do a getPort on a port added via addPort()
> .  PortQN: {http://doclitwrapped.proxy.test.org}ProxyDocLitWrappedPort
>         at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
>         at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:44
> 5)
>         at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:317)
>         at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:177)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:527)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:452)
>         at javax.xml.ws.Service.getPort(Service.java:40)
>         at org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ProxyDocLitWrappedService.getProxyDocLitWrappedPort(ProxyDocLitWrappedSe
> rvice.java:79)
>         at org.apache.axis2.jaxws.proxy.ProxyTests.testMultipleServiceCalls(ProxyTests.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3648) Running JAXWS proxy tests with WSDL fails

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

Roy A. Wood Jr. reassigned AXIS2-3648:
--------------------------------------

    Assignee: Roy A. Wood Jr.

> Running JAXWS proxy tests with WSDL fails
> -----------------------------------------
>
>                 Key: AXIS2-3648
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3648
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>            Priority: Minor
>
> When running the proxy tests with WSDL, we get a WebServices exception
> stack trace:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.axis2.jaxws.proxy.ProxyTests
> javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Can not do a getPort on a port added via addPort()
> .  PortQN: {http://doclitwrapped.proxy.test.org}ProxyDocLitWrappedPort
>         at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
>         at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:44
> 5)
>         at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:317)
>         at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:177)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:527)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:452)
>         at javax.xml.ws.Service.getPort(Service.java:40)
>         at org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ProxyDocLitWrappedService.getProxyDocLitWrappedPort(ProxyDocLitWrappedSe
> rvice.java:79)
>         at org.apache.axis2.jaxws.proxy.ProxyTests.testMultipleServiceCalls(ProxyTests.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Closed: (AXIS2-3648) Running JAXWS proxy tests with WSDL fails

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

Roy A. Wood Jr. closed AXIS2-3648.
----------------------------------


> Running JAXWS proxy tests with WSDL fails
> -----------------------------------------
>
>                 Key: AXIS2-3648
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3648
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>            Priority: Minor
>
> When running the proxy tests with WSDL, we get a WebServices exception
> stack trace:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.axis2.jaxws.proxy.ProxyTests
> javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Can not do a getPort on a port added via addPort()
> .  PortQN: {http://doclitwrapped.proxy.test.org}ProxyDocLitWrappedPort
>         at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
>         at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:44
> 5)
>         at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:317)
>         at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:177)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:527)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:452)
>         at javax.xml.ws.Service.getPort(Service.java:40)
>         at org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ProxyDocLitWrappedService.getProxyDocLitWrappedPort(ProxyDocLitWrappedSe
> rvice.java:79)
>         at org.apache.axis2.jaxws.proxy.ProxyTests.testMultipleServiceCalls(ProxyTests.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3648) Running JAXWS proxy tests with WSDL fails

Posted by "Roy A. Wood Jr. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582460#action_12582460 ] 

Roy A. Wood Jr. commented on AXIS2-3648:
----------------------------------------

This turned out to be strictly a test case problem.

Made the following changes:

   - Uncommented all the test cases...so, they are actually being run now

   - Used the correct PortName for getPort() in the testcase

   - Changed the service to also use the correct portName in 'getDocLitWrappedProxyImplPort'

> Running JAXWS proxy tests with WSDL fails
> -----------------------------------------
>
>                 Key: AXIS2-3648
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3648
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>            Priority: Minor
>
> When running the proxy tests with WSDL, we get a WebServices exception
> stack trace:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.axis2.jaxws.proxy.ProxyTests
> javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Can not do a getPort on a port added via addPort()
> .  PortQN: {http://doclitwrapped.proxy.test.org}ProxyDocLitWrappedPort
>         at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>         at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
>         at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:44
> 5)
>         at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:317)
>         at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:177)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:527)
>         at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:452)
>         at javax.xml.ws.Service.getPort(Service.java:40)
>         at org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ProxyDocLitWrappedService.getProxyDocLitWrappedPort(ProxyDocLitWrappedSe
> rvice.java:79)
>         at org.apache.axis2.jaxws.proxy.ProxyTests.testMultipleServiceCalls(ProxyTests.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:618)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org