TURKISH Locale Problem - [AxisFault:] Part content ID cannot be blank for non
root MIME parts
---------------------------------------------------------------------------------------------
Key: AXIOM-389
URL: https://issues.apache.org/jira/browse/AXIOM-389
Project: Axiom
Issue Type: Bug
Affects Versions: 1.2.8
Reporter: Gurkan Erdogdu
Hi,
There was a LOCALE problem while using Axis2. Therefore we sent the issue to
the AXIS2 user list. Issue and the answer are given below.
ISSUE ANSWER
----------------------------------------------------------------------------
My guess is that this is caused by the problem described here:
http://java.sys-con.com/node/46241
A workaround would be to switch the default locale to English.
If you need a proper fix that works with the Turkish locale, please
open a bug report in the Axiom project:
https://issues.apache.org/jira/browse/AXIOM
ISSUE CONTENT
----------------------------------------------------------------------------
We have a Axis2 WS client that is produced from WSDL. In our test environment
it works well but when it goes into our production server it throws
"org.apache.axis2.AxisFault: Part content ID cannot be blank for non root MIME
parts".
Information about our environments are shown below
HTTP Connection Type
---------------------------------
WS Client communicated with server via HTTPS/443
Information About TEST Env.
---------------------------------
- Axis 1.6
- Windows 7 Home Edition with Locale English
- Java 1.6.0_23-b05, Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed
mode)
Information About PRODUCT Env.
----------------------------------------
- Axis 1.6
- Windows 7 Professional with Locale Turkey
- Java 1.6.0_27-b07, Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode,
sharing)
Exception Message in Production
----------------------------------------------
Caused by: org.apache.axis2.AxisFault: Part content ID cannot be blank for non
root MIME parts
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
LOG Content
----------------------------------------------
2011-09-07 16:37:08,481 - DEBUG -
Attachments contentLength=38559, contentTypeString=multipart/related;
boundary="MIMEBoundary_e616a43fc9c0c1331912493e054fdf9f504df1cc6e621042";
type="application/xop+xml";
start="<[email protected]>";
start-info="text/xml"
2011-09-07 16:37:08,485 - DEBUG -
boundary=--MIMEBoundary_e616a43fc9c0c1331912493e054fdf9f504df1cc6e621042
2011-09-07 16:37:08,487 - DEBUG - getSOAPPartContentID
rootContentID=<[email protected]>
2011-09-07 16:37:08,497 - DEBUG - Start createPart()
2011-09-07 16:37:08,497 - DEBUG -
isSOAPPart=true
2011-09-07 16:37:08,497 - DEBUG -
thresholdSize= 0
2011-09-07 16:37:08,497 - DEBUG -
attachmentDir=null
2011-09-07 16:37:08,497 - DEBUG -
messageContentLength 38559
2011-09-07 16:37:08,497 - DEBUG - initHeaders
2011-09-07 16:37:08,498 - DEBUG - addHeader:
(Content-Type) value=(application/xop+xml; charset=UTF-8;
type="text/xml")
2011-09-07 16:37:08,499 - DEBUG - addHeader:
(Content-Transfer-Encoding) value=(binary)
2011-09-07 16:37:08,499 - DEBUG - addHeader: (Content-ID)
value=(<[email protected]>)
2011-09-07 16:37:08,499 - DEBUG - End initHeaders
2011-09-07 16:37:08,500 - DEBUG - getHeader
name=(content-id) value=(null)
2011-09-07 16:37:08,501 - DEBUG - Start createPart()
2011-09-07 16:37:08,501 - DEBUG -
isSOAPPart=false
2011-09-07 16:37:08,501 - DEBUG -
thresholdSize= 0
2011-09-07 16:37:08,501 - DEBUG -
attachmentDir=null
2011-09-07 16:37:08,501 - DEBUG -
messageContentLength 38559
2011-09-07 16:37:08,501 - DEBUG - initHeaders
2011-09-07 16:37:08,501 - DEBUG - addHeader:
(Content-Type) value=(application/octet-stream)
2011-09-07 16:37:08,501 - DEBUG - addHeader:
(Content-Transfer-Encoding) value=(binary)
2011-09-07 16:37:08,501 - DEBUG - addHeader: (Content-ID)
value=(<[email protected]>)
2011-09-07 16:37:08,501 - DEBUG - End initHeaders
2011-09-07 16:37:08,502 - DEBUG - getHeader
name=(content-id) value=(null)
Thanks,
Gurkan
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]