[ 
http://jira.codehaus.org/browse/XFIRE-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87897
 ] 

Dan Diephouse commented on XFIRE-703:
-------------------------------------

Bob: do you have xerces on your classpath? I think that is needed for the wsdl 
generation to work.

> UnsupportedOperationException
> -----------------------------
>
>                 Key: XFIRE-703
>                 URL: http://jira.codehaus.org/browse/XFIRE-703
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: BEA Workshop for WebLogic Platform : Version: 9.2.0 
> Build id: 783464
>            Reporter: kevin jiang
>         Assigned To: Dan Diephouse
>
> A simple project
> public interface TestService 
> {
>     public String Test(byte[] b);
> }
> public class TestServiceImpl implements TestService{
>        
>       public String Test(byte[] b){
>           String s = "test";
>               for(int i=0; i<b.length; i++) {
>                       System.out.print(b[i]);
>               }
>               
>               System.out.println();
>           return s;
>       }
> }
> The following xml tables are the content of "services.xml".
> <beans xmlns="http://xfire.codehaus.org/config/1.0";>
> <service>
>       <name>TestService</name>
>       <namespace>http://TestService</namespace>
>       <serviceClass>TestService</serviceClass>
>       <implementationClass>TestServiceImpl</implementationClass>
>       <properties>
>       <property key="mtom-enabled">true</property>
>     </properties>
> </service>
> </beans>
> When I deploy it on Tomcat 5.5, my client can successfully access this 
> webservice. But when the client invoke after I deploy it on WebLogic, the 
> client catch a exception.  The following is exception content. Anyone can 
> tell me why. Thanks.
> org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested 
> exception is org.codehaus.xfire.fault.XFireFault: Fault: 
> java.lang.UnsupportedOperationException
> org.codehaus.xfire.fault.XFireFault: Fault: 
> java.lang.UnsupportedOperationException
>       at 
> org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
>       at 
> org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
>       at 
> org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
>       at 
> org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
>       at 
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>       at org.codehaus.xfire.client.Client.onReceive(Client.java:382)
>       at 
> org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
>       at 
> org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
>       at 
> org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
>       at 
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
>       at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
>       at org.codehaus.xfire.client.Client.invoke(Client.java:335)
>       at 
> org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
>       at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
>       at $Proxy8.helloString(Unknown Source)
>       at wespTest.testStringFromBytes(wespTest.java:9)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at junit.framework.TestCase.runTest(TestCase.java:154)
>       at junit.framework.TestCase.runBare(TestCase.java:127)
>       at junit.framework.TestResult$1.protect(TestResult.java:106)
>       at junit.framework.TestResult.runProtected(TestResult.java:124)
>       at junit.framework.TestResult.run(TestResult.java:109)
>       at junit.framework.TestCase.run(TestCase.java:118)
>       at junit.framework.TestSuite.runTest(TestSuite.java:208)
>       at junit.framework.TestSuite.run(TestSuite.java:203)
>       at 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
>       at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to