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 "Rudolf Holler (JIRA)" <ji...@apache.org> on 2007/06/01 12:41:15 UTC
[jira] Created: (AXIS2-2751) SoapMonitor creates wrong Response
SoapMonitor creates wrong Response
----------------------------------
Key: AXIS2-2751
URL: https://issues.apache.org/jira/browse/AXIS2-2751
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: modules
Affects Versions: 1.2
Environment: JBoss 4.0.2
Axis 1.2
Deployed as axis2.war-Directory
Reporter: Rudolf Holler
Priority: Minor
Webservice-Client gets Exception when SoapMonitor is activated :
java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
... 21 more
The SOAP-Message:
==== Response ====
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 01 Jun 2007 10:23:44 GMT
19b
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
<ns1:StandardStatus>0</ns1:StandardStatus>
<ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
<ns1:ErrorCode>0</ns1:ErrorCode>
</ns1:createKassenAnordnungenResponse>
</soapenv:Body>
</soapenv:Envelope>
0
==============
If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
==== Response ====
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 01 Jun 2007 10:36:18 GMT
1ad
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
0
==============
The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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] Updated: (AXIS2-2751) SoapMonitor creates wrong Response
Posted by "Rudolf Holler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rudolf Holler updated AXIS2-2751:
---------------------------------
Attachment: SOAPMonitorAxis2Test.zip
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
> Attachments: SOAPMonitorAxis2Test.zip, Test.wsdl
>
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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] Updated: (AXIS2-2751) SoapMonitor creates wrong Response
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2751:
------------------------------------
Assignee: Glen Daniels
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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-2751) SoapMonitor creates wrong Response
Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509747 ]
Glen Daniels commented on AXIS2-2751:
-------------------------------------
Hi Rudolf!
I've been experimenting with various services with and without SOAPMonitor running, and haven't yet been able to reproduce the kind of problem you're seeing. Could you perhaps attach a small test which produces the problem for you that I can try? The sooner the better, as we're starting the 1.3 release cycle soon and if there's an issue we'd like to find it before 1.3 goes final.
Thanks,
--Glen
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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] Updated: (AXIS2-2751) SoapMonitor creates wrong Response
Posted by "Rudolf Holler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rudolf Holler updated AXIS2-2751:
---------------------------------
Attachment: Test.wsdl
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
> Attachments: Test.wsdl
>
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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-2751) SoapMonitor creates wrong Response
Posted by "Bernd Schmidt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513596 ]
Bernd Schmidt commented on AXIS2-2751:
--------------------------------------
Hi Glen,
I ran into a similar problem with the soapmonitor, but I'm not sure if it fails for the same reason.
Do you need a second testcase?
Best regards,
Bernd
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
> Attachments: SOAPMonitorAxis2Test.zip, Test.wsdl
>
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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-2751) SoapMonitor creates wrong Response
Posted by "Rudolf Holler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509796 ]
Rudolf Holler commented on AXIS2-2751:
--------------------------------------
Hello Glen!
If you can not reproduce this problem with other services, it seems that my WSDL-File causes the error or my way of activating the SOAPMonitor in Axis2.
I reduced the WSDL-File for a test and attached it to this reply.
With this small WSDL-File the error at the client is the same:
java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:309)
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.getCreateStatus(KABUWebServiceStub.java:159)
at de.bayern.ihv.ws.kabu.KABUWebServiceTest.testgetCreateStatus(KABUWebServiceTest.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
at localhost.axis.services.kabuwsimpl.GetCreateStatusResponse$Factory.parse(GetCreateStatusResponse.java:469)
at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:303)
... 20 more
I also attached a small test to this reply. I hope you can reproduce the error with it.
Greetings,
Rudolf
> SoapMonitor creates wrong Response
> ----------------------------------
>
> Key: AXIS2-2751
> URL: https://issues.apache.org/jira/browse/AXIS2-2751
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.2
> Environment: JBoss 4.0.2
> Axis 1.2
> Deployed as axis2.war-Directory
> Reporter: Rudolf Holler
> Assignee: Glen Daniels
> Priority: Minor
> Attachments: Test.wsdl
>
>
> Webservice-Client gets Exception when SoapMonitor is activated :
> java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1323)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.createKassenAnordnungen(KABUWebServiceStub.java:455)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.callcreateKassenAnordnungen(KABUWebServiceTest.java:407)
> at de.bayern.ihv.ws.kabu.client.KABUWebServiceTest.testcreateKassenAnordnungen(KABUWebServiceTest.java:377)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: java.lang.RuntimeException: Unexpected subelement StandardStatus
> at localhost.axis.services.kabuwsimpl.CreateKassenAnordnungenResponse$Factory.parse(CreateKassenAnordnungenResponse.java:469)
> at de.bayern.ihv.ws.kabu.KABUWebServiceStub.fromOM(KABUWebServiceStub.java:1275)
> ... 21 more
> The SOAP-Message:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:23:44 GMT
> 19b
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl">
> <ns1:StandardStatus>0</ns1:StandardStatus>
> <ns1:ErrorMsg>Kein Fehler.</ns1:ErrorMsg>
> <ns1:ErrorCode>0</ns1:ErrorCode>
> </ns1:createKassenAnordnungenResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> 0
> ==============
> If you disable SOAP-Monitor in axis2.xml (<!-- <module ref="soapmonitor" /> -->) Webserviceclient works fine:
> ==== Response ====
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Fri, 01 Jun 2007 10:36:18 GMT
> 1ad
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:createKassenAnordnungenResponse xmlns:ns1="http://localhost:8080/axis/services/KABUWSimpl"><ns1:createAnordnungenStatus>0</ns1:createAnordnungenStatus><ns1:errorMsg>Kein Fehler.</ns1:errorMsg><ns1:errorCode>0</ns1:errorCode></ns1:createKassenAnordnungenResponse></soapenv:Body></soapenv:Envelope>
> 0
> ==============
> The Webservice works correct if Axis-Version is 1.1.1 and SoapMonitor is active.
--
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