Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jersey-dev] Facing Bad Request 400 error for certain Chinese characters while calling Jersey webservice on Weblogic server
  • From: "jayant.nahar@xxxxxxxxxxx" <jayant.nahar@xxxxxxxxxxx>
  • Date: Tue, 6 Jun 2023 13:24:00 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P7C0hRd+xJQm30tC13QNLCwttPatzK8WqJ8U9iFcIRQ=; b=R80Z/QyiVE4e+KXj4MU4rF+Bcyr+7uyVDg5RCri6WWeL5IFooa4epfX8Rx3RoSO+Ve4b9lBVabYh1qgGQy9+6JfKumAFp6KOpj9S+tAT3gpabXhLguHoAv4sTk02WcNUN7zYV6a/+40Zg6qANPPQK6XXBHYIzd+LfDozjv6WY/nKw1M7kSPchyd9D7hWAaIx1huJNjLllPizvOwzItO642otU1AcQTru95L9e+oWXSMOpTFeuKMpQIXYy/z0l1cgar2SgFVMJb4DnKqqrlHMwSrgb6GiuaIC+Lo7GGuMj0o+KJsPkX7+1jHertw41BGINrswT3jbJbMWgdH2zn98ig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0QPb5QjQGZC9kBKjKkcEeC8rvQ1s+q3fnFQ0wSZ1oNZwh6KHz9QwPQHY8MvlV679j/Zpqvn1s+MvWGprwia8gN1FP86XdEQdE9M+9PEM6Oxh6eAb9lJdqUCVnvfOJJpoJv1FtLisQH6r5OL3D2a15twlQ8HzhCVG4sXl2yDenBnBZdp4xZnfA8ULJQ2JhN7l891+b9iQMhrhBhmGhAX3FuTozsN1mkLSTBDsEH50OKQRggX8ib3EvBr9ZTc6wmPDozB7DeOGkqRT4NDx8vjSvUIc2bATQ2Q4wif41UQ7+rbPTNkxpfRXXhTc/uk8e5nGd+hhniHXXXGozfaXsRqLQ==
  • Delivered-to: jersey-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jersey-dev/>
  • List-help: <mailto:jersey-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels: MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ActionId=7e941935-6c9c-4e3e-bc09-bcf09580cfe8; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ContentBits=0; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Enabled=true; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Method=Standard; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Name=restricted; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SetDate=2023-06-06T12:55:53Z; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;
  • Thread-index: AdmYefIyQleZqEVUTWaVZ9dRnuSSVQ==
  • Thread-topic: Facing Bad Request 400 error for certain Chinese characters while calling Jersey webservice on Weblogic server

Hi Team,

 

There’s a weird issue observed with our application (probably a generic issue) when we enter certain Chinese characters and send a request to a Jersey based web-service.

 

It fails with Bad request 400 error. The application is deployed on a weblogic server.

 

Input Chinese char : 提交应标

Response Status: 400 Bad request

Response : Invalid UTF-8 middle byte 0x3f

                             at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 442] (through reference chain: com.mypackage.MyClass["chineseCharKey"])

 

Can someone please have a look with these inputs and help resolve the issue? Struggling from quite some time. Any help would really help.

 

Thank you,

Jayant


Back to the top