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

Experts any update on this?
4 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
4 months ago
Experts, any update on this?
7 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
7 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
8 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?
8 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
8 months ago
Thanks guys, there is a complaint from customer saying that instead of Chinese char ascii char are displayed in the xml send to 3rd party, how we can ensure the Chinese char is passed, whether there is any mechanism to convert ascii char to Chinese char in Java?
8 months ago
Thanks, is there any other option other than the application prompting user to login again to track the user session? I understand that if both cookie and session cookie are removed the only way is to ask the user to login? Is there any other alternative
8 months ago
Hi,

I am using XML with UTF-8 character encoding, there is a customer name which is in chinese char coming from DB is set as ASCII characters in the XML when we send this XML to another 3rd party. Please let me know why the ASCII char is displayed in XML with UTF-8 instead of chinese characters? Now to display chinese char in the XML which is already supporting UTF-8. Please clarify.

Thanks
8 months ago
Thanks, if i enable the cookies in weblogic.xml, if the user clears the cookie in his browser what will happen? whether still the Cookie will be enabled as we are removing all the jsessionId? please clarify.
8 months ago
Experts any update on this?
8 months ago
Hi,

I have few JSPs for which jsessionIds are getting appended in the URL, there are different ways to remove the jsessionId from the URL. What is the best possible solution. I am using weblogic. If the cookies are not enabled or cleared by the user , we need jsessionId for tracking , but if we remove jsessionId also then whether it will be a problem as there wont be any way to track the user (both cookie and session wont be there) ? Also for secure HTTPS url jsessionId is needed? and will be created still by the container? Please clarify.

Thanks
8 months ago
JSP
Hi,

I am having an abstract class Customer , which contains couple of abstract methods :-

protected  abstract CustomerVO createCustomer();

protected  abstract CustomerVO updateClient();

Now I have a CreateCustomer class which implements Abstract class Customer, where it needs to provide the implementation for createCustomer() only and not updateCustomer()




Please let me know if there is no need to provide the impl for an abstract method in concrete class , shall we make that method as empty like updateCustomer()? Whether it will create any issue? is there a better way to do it as I cannot change the design which is there for long back and is referenced in multiple places in the code.

Please clarify

Thanks


1 year ago