You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "maomaode (JIRA)" <ji...@apache.org> on 2007/04/23 07:57:15 UTC

[jira] Created: (CXF-582) helloworld_xml_wrapped servlet demo failed

helloworld_xml_wrapped servlet demo failed
------------------------------------------

                 Key: CXF-582
                 URL: https://issues.apache.org/jira/browse/CXF-582
             Project: CXF
          Issue Type: Sub-task
    Affects Versions: 2.0-RC
            Reporter: maomaode
             Fix For: 2.0-RC


Platform: Win_Vista
JDK 1.5_10
TOMCAT 5.5.20

How to reproduce:
1. ant war
2. ant deploy -Dtomcat=true
3. change the url to ${base.url}/helloworld/services/services/hello_world?wsdl in buld.xml
4. test the url in browser "http://localhost:8080/helloworld/services/services/hello_world?wsdl", works fine
5. ant client-servlet -Dbase.url=http://localhost:8080
Got the exception in command line:

client-servlet:
     [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
     [java] Invoking sayHi...
     [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
.java:134)
     [java]     at $Proxy31.sayHi(Unknown Source)
     [java]     at demo.hw.client.Client.main(Client.java:62)
     [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
LStreamReader.
     [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
or.handleMessage(XMLMessageOutInterceptor.java:87)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
nterceptorChain.java:148)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:215
)
     [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
va:73)
     [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
.java:122)
     [java]     ... 2 more
     [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-582) helloworld_xml_wrapped servlet demo failed

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

Bozhong Lin updated CXF-582:
----------------------------

    Fix Version/s:     (was: 2.0-RC)
                   2.0

> helloworld_xml_wrapped servlet demo failed
> ------------------------------------------
>
>                 Key: CXF-582
>                 URL: https://issues.apache.org/jira/browse/CXF-582
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0-RC
>            Reporter: maomaode
>             Fix For: 2.0
>
>
> Platform: Win_Vista
> JDK 1.5_10
> TOMCAT 5.5.20
> How to reproduce:
> 1. ant war
> 2. ant deploy -Dtomcat=true
> 3. change the url to ${base.url}/helloworld/services/services/hello_world?wsdl in buld.xml
> 4. test the url in browser "http://localhost:8080/helloworld/services/services/hello_world?wsdl", works fine
> 5. ant client-servlet -Dbase.url=http://localhost:8080
> Got the exception in command line:
> client-servlet:
>      [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
>      [java] Invoking sayHi...
>      [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
> che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:134)
>      [java]     at $Proxy31.sayHi(Unknown Source)
>      [java]     at demo.hw.client.Client.main(Client.java:62)
>      [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
> LStreamReader.
>      [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
> or.handleMessage(XMLMessageOutInterceptor.java:87)
>      [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
> nterceptorChain.java:148)
>      [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:215
> )
>      [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
> va:73)
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:122)
>      [java]     ... 2 more
>      [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-582) helloworld_xml_wrapped servlet demo failed

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

Bozhong Lin resolved CXF-582.
-----------------------------

    Resolution: Cannot Reproduce

no issue with current latest version

> helloworld_xml_wrapped servlet demo failed
> ------------------------------------------
>
>                 Key: CXF-582
>                 URL: https://issues.apache.org/jira/browse/CXF-582
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0-RC
>            Reporter: maomaode
>         Assigned To: maomaode
>             Fix For: 2.0
>
>
> Platform: Win_Vista
> JDK 1.5_10
> TOMCAT 5.5.20
> How to reproduce:
> 1. ant war
> 2. ant deploy -Dtomcat=true
> 3. change the url to ${base.url}/helloworld/services/services/hello_world?wsdl in buld.xml
> 4. test the url in browser "http://localhost:8080/helloworld/services/services/hello_world?wsdl", works fine
> 5. ant client-servlet -Dbase.url=http://localhost:8080
> Got the exception in command line:
> client-servlet:
>      [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
>      [java] Invoking sayHi...
>      [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
> che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:134)
>      [java]     at $Proxy31.sayHi(Unknown Source)
>      [java]     at demo.hw.client.Client.main(Client.java:62)
>      [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
> LStreamReader.
>      [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
> or.handleMessage(XMLMessageOutInterceptor.java:87)
>      [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
> nterceptorChain.java:148)
>      [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:215
> )
>      [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
> va:73)
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:122)
>      [java]     ... 2 more
>      [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-582) helloworld_xml_wrapped servlet demo failed

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

Bozhong Lin updated CXF-582:
----------------------------

    Assignee: maomaode

> helloworld_xml_wrapped servlet demo failed
> ------------------------------------------
>
>                 Key: CXF-582
>                 URL: https://issues.apache.org/jira/browse/CXF-582
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0-RC
>            Reporter: maomaode
>         Assigned To: maomaode
>             Fix For: 2.0
>
>
> Platform: Win_Vista
> JDK 1.5_10
> TOMCAT 5.5.20
> How to reproduce:
> 1. ant war
> 2. ant deploy -Dtomcat=true
> 3. change the url to ${base.url}/helloworld/services/services/hello_world?wsdl in buld.xml
> 4. test the url in browser "http://localhost:8080/helloworld/services/services/hello_world?wsdl", works fine
> 5. ant client-servlet -Dbase.url=http://localhost:8080
> Got the exception in command line:
> client-servlet:
>      [java] http://localhost:8080/helloworld/services/services/hello_world?wsdl
>      [java] Invoking sayHi...
>      [java] Exception in thread "main" javax.xml.ws.WebServiceException: org.apa
> che.cxf.interceptor.Fault: Could not write from XMLStreamReader.
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:134)
>      [java]     at $Proxy31.sayHi(Unknown Source)
>      [java]     at demo.hw.client.Client.main(Client.java:62)
>      [java] Caused by: org.apache.cxf.interceptor.Fault: Could not write from XM
> LStreamReader.
>      [java]     at org.apache.cxf.binding.xml.interceptor.XMLMessageOutIntercept
> or.handleMessage(XMLMessageOutInterceptor.java:87)
>      [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseI
> nterceptorChain.java:148)
>      [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:215
> )
>      [java]     at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.ja
> va:73)
>      [java]     at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy
> .java:122)
>      [java]     ... 2 more
>      [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.