Discussion:
[jira] [Created] (AXIS2-5932) Axis2 behave differently in unix
Muhammad Hamid (JIRA)
2018-09-11 19:57:00 UTC
Permalink
Muhammad Hamid created AXIS2-5932:
-------------------------------------

Summary: Axis2 behave differently in unix
Key: AXIS2-5932
URL: https://issues.apache.org/jira/browse/AXIS2-5932
Project: Axis2
Issue Type: Bug
Affects Versions: 1.6.4
Reporter: Muhammad Hamid


I made a SOAP client using Axis2 adb, tested the web service inside eclipse, working fine, but, when I deployed it to unix servers in QA the request sent is different than the one created in windows:

in Windows:
{code:java}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">{code}
in unix
{code:java}
<soapenv:Envelope >{code}
so I tried to explicitly add the namespace using:
{code:java}
env.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");{code}
but still, not added and I receive the following error javax.xml.stream.XMLStreamException: The namespace prefix "soapenv" was not declared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Andreas Veithen (JIRA)
2018-09-14 21:00:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615382#comment-16615382 ]

Andreas Veithen commented on AXIS2-5932:
----------------------------------------

I don't think this is related to the operating system the code is running on. Are you sure that both environments use the same JRE version?

Also note that 1.6.4 is no longer supported. Please upgrade to the latest Axis2 version and confirm that the issue still exists.
Post by Muhammad Hamid (JIRA)
Axis2 behave differently in unix
--------------------------------
Key: AXIS2-5932
URL: https://issues.apache.org/jira/browse/AXIS2-5932
Project: Axis2
Issue Type: Bug
Affects Versions: 1.6.4
Reporter: Muhammad Hamid
Priority: Major
{code:java}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">{code}
in unix
{code:java}
<soapenv:Envelope >{code}
{code:java}
env.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");{code}
but still, not added and I receive the following error javax.xml.stream.XMLStreamException: The namespace prefix "soapenv" was not declared.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org
Muhammad Hamid (JIRA)
2018-10-03 16:19:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/AXIS2-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Muhammad Hamid closed AXIS2-5932.
---------------------------------
Resolution: Invalid
Post by Muhammad Hamid (JIRA)
Axis2 behave differently in unix
--------------------------------
Key: AXIS2-5932
URL: https://issues.apache.org/jira/browse/AXIS2-5932
Project: Axis2
Issue Type: Bug
Affects Versions: 1.6.4
Reporter: Muhammad Hamid
Priority: Major
{code:java}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">{code}
in unix
{code:java}
<soapenv:Envelope >{code}
{code:java}
env.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");{code}
but still, not added and I receive the following error javax.xml.stream.XMLStreamException: The namespace prefix "soapenv" was not declared.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-***@axis.apache.org
For additional commands, e-mail: java-dev-***@axis.apache.org

Loading...