This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

Rithanya Laxmi

Ranch Hand
+ Follow
since Jan 24, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rithanya Laxmi

Hi Stephan,

    Whether having CDATA in the CXML dsecription will have any issue while parsing the CXML and retrieve the description value? whether any of the XML parser will have an issue in parsing the description enclosed in CDATA? I hope it is not.

Thanks.
Hi Stephan,

PFB the CXML we are generating with the description for which the value is coming from DB , we also have the xml:lang code as zh_CN for China description with utf8 char encoding, here when we generate the CXML by appending the description in chinese , automatically CDATA section is generated with numeric char references through the API we use as you can see below, but instead of the numeric char reference (encoded) we need to set the actual chinese characters (decoded) , if we escape the below numeric char references then we will get the real china char in decoded form , whether we need use that decoded form by setting that in the description element and pass back ? or is there a better way of handling it? since CDATA section is generated automatically based on the demand basis we dont have control over the CDATA section. This CXML we are passing to another punchout application.

Please clarify.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.038/cXML.dtd"><cXML payloadID="HSP!6dd843e" xml:lang="zh_CN" timestamp="01 August 2018 20:22:17 PM"><Header><From><Credential domain="NetworkId"><Identity>TEST</Identity></Credential></From>


<Description xml:lang="zh_CN"><![CDATA[气相色谱柱安装工具包]]></Description>
..


</Message>
</cXML>


Thanks
Hi,

I am using CXML generated through the cxmlbeans.jar, i need to pass the description in chinese characters in CXML for which i have use utf8 character encoding set. When there is a chinese spl characters in the desc , the CData is getting generated automatically from the API for description, whether I need to just unescape the HTML to get the real chinese char and set it to the description and pass back? or after setting this decoded value also we will get any issue while passing to 3rd party system?

Thanks

I am using Akamai CDN, but I can handle the first hit cache for the faster loading pages at the first time itself, also if there is a race condition b/w 2 Javascript files how we can handle it in a better way? Thanks
2 months ago
Hi,

I want to cache the resources and object during the first hit from the cache server, how we can handle first hit cache ? whether only CDN supports it or we have any other mechanism to handle it from Java itself. If so how we can use CDN to handle the first hit cache? any inputs on this is really appreciated.

Thanks
2 months ago
Experts any update on this?
7 months ago
Hi ,

I am producing a webservice using JAXWS and in the sunjaxws.xml I have the below configuration for the service


<?xml version="1.0" encoding="UTF-8"?>
<endpoints
    xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime"
    version="2.0">
    <endpoint
    name="TestDesign"
    implementation="com.xxx.test.services.TestDesignSoapImpl" 
    url-pattern="/TestDesign.asmx"/>
</endpoints>

Fore this WSDL URL is created as below as :-

http://www.xxx.com/TestDesign/TestDesign.asmx?wsdl

But when we invoke the above URL we are not getting any response it is not throwing any error and we are getting a blank screen? the same config was working fine earlier. There is no errors in logs. Why the WSDL is not generated? is there any issue with the config. Please shed some light into this.

Thanks
7 months ago
Experts, any update on this?
10 months ago
Hi,

I want to set a timeout for less number of data coming from webservice as well as larger number data coming from same webservice, in this case whether it is advisable to make the change by writing a logic to set 2 timeouts , for example for less number of data coming from webservice1  set timeout to default 1 min in Jaxws and for larger number of data from the same Webservice1 set the timeout to 3 mins? Whether it makes sense or it is better to set a flat timeout , common timeout for the both less and large data as a whole to 3 mins? this will be irrespective of the data load.

If the option 2 (flat timeout value) is better , what will happen if we get the response for less number of data  in seconds , whether it will have any side effects as we have set the timeout to 3 mins? Which is the best option we need to choose here. Thanks in advance.  

Thanks
10 months ago
Below is the SOAP request XML we are passing with junk characters instead of China characters

<S:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><S:Body>
<PARTN_NUMB>0070493607</PARTN_NUMB><NAME>广ä¸ç¦å¯¿ä»çç©ç§ææéå
¬å¸</NAME><NAME_2></NAME_2><NAME_3></NAME_3><STREET>ç½äºåºäººåéæå²è·¯3å·</STREET><COUNTRY>CN</COUNTRY><POSTL_CODE>510470</POSTL_CODE><CITY>广å·å¸</CITY>
</S:Body></S:Envelope>

Please let me know whether we need to make any code change to make it work so that real china characters are passed? whether it is an encoding issue? please clarify and provide your opinion on this. Thanks
11 months ago
By default Webservice request XML supports UTF-8/16 character encoding, the characters are selected as chinese but it is displayed as junk characters in XML? Please let me know whether there is anyway to send the real chinese characters?
11 months ago
Hi,

I have selected Chinese characters, but when it is passed as a request XML , I am getting the below characters, instead of the real chinese characters

ç½äºåºäººåéæå²è·¯3å·

Please let me know how we can pass the real chinese characters in the SOAP request XML which by default supports UTF-8?


Thanks
11 months ago