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 "Shrish Mishra (JIRA)" <ji...@apache.org> on 2007/11/02 21:46:51 UTC
[jira] Created: (AXIS2-3320) Getting AxisFault for Server
implementation with "Suppress Prefixes" option while using with SOAP
Monitor
Getting AxisFault for Server implementation with "Suppress Prefixes" option while using with SOAP Monitor
---------------------------------------------------------------------------------------------------------
Key: AXIS2-3320
URL: https://issues.apache.org/jira/browse/AXIS2-3320
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: Tools
Affects Versions: 1.3, nightly
Environment: Tomcat Version Apache Tomcat/6.0.0
JVM Version 1.5.0_06-b05
JVM Vendor Sun Microsystems Inc.
OS Name : Linux
OS Version: 2.6.9-42.Elsmp
OS Architecture i386
Axis2 Version 1.3 Soap monitor enabled
JVM Memory Size 64mb
Reporter: Shrish Mishra
I was recently doing a POC using suppressprefixes="true" option while generating the stubs and skeleton using following ant task:
<codegen
wsdlfilename="${webservice.build.dir}/family_docwrap_adb.wsdl"
output="${webservice.build.dir}"
generateservicexml="true"
serverside="true"
generateAllClasses="true"
serverSideInterface="false"
databindingName="adb"
suppressprefixes="true">
</codegen>
I got following error when SOAPMontior was also enabled but If I disable SOAPMonitor from Axis2.xml It works perfectly alright. This bug is reprodcuible in Linux, Windows environment repeatedly.
log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis2.AxisFault: java.lang.RuntimeException: Error obtaining parser from data source:the prefix ==> Already exists for namespace ==> http://ws.kasenna.com/xsd
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at _225._217._10._10.axis_poc_2.services.familyimpl.FamilyImplStub.createPersons(FamilyImplStub.java:254)
at TestClient.main(TestClient.java:33)
--
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-3320) Getting AxisFault for Server
implementation with "Suppress Prefixes" option while using with SOAP
Monitor
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-3320:
----------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> Getting AxisFault for Server implementation with "Suppress Prefixes" option while using with SOAP Monitor
> ---------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3320
> URL: https://issues.apache.org/jira/browse/AXIS2-3320
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.3, nightly
> Environment: Tomcat Version Apache Tomcat/6.0.0
> JVM Version 1.5.0_06-b05
> JVM Vendor Sun Microsystems Inc.
> OS Name : Linux
> OS Version: 2.6.9-42.Elsmp
> OS Architecture i386
> Axis2 Version 1.3 Soap monitor enabled
> JVM Memory Size 64mb
> Reporter: Shrish Mishra
> Assignee: Amila Chinthaka Suriarachchi
>
> I was recently doing a POC using suppressprefixes="true" option while generating the stubs and skeleton using following ant task:
> <codegen
> wsdlfilename="${webservice.build.dir}/family_docwrap_adb.wsdl"
> output="${webservice.build.dir}"
> generateservicexml="true"
> serverside="true"
> generateAllClasses="true"
> serverSideInterface="false"
> databindingName="adb"
> suppressprefixes="true">
> </codegen>
> I got following error when SOAPMontior was also enabled but If I disable SOAPMonitor from Axis2.xml It works perfectly alright. This bug is reprodcuible in Linux, Windows environment repeatedly.
> log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService).
> log4j:WARN Please initialize the log4j system properly.
> org.apache.axis2.AxisFault: java.lang.RuntimeException: Error obtaining parser from data source:the prefix ==> Already exists for namespace ==> http://ws.kasenna.com/xsd
> at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at _225._217._10._10.axis_poc_2.services.familyimpl.FamilyImplStub.createPersons(FamilyImplStub.java:254)
> at TestClient.main(TestClient.java:33)
--
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