vvsrk76
asked on
Java Deserializer is converting the String word to numeric
I generated the client for UPS address validation using by IBM Web services WSDL2Java emitter.
For some Reason when we pass the String like "Thousand Oaks", we are getting back as "1000 OAKS".Is there any issue with com.ibm.ws.webservices.eng ine.encodi ng.Deseria lizer getDeserializer method
Where it is converting "Thousand" to "1000"
Here is Code:
System.out.println("PropVa lue" + propValue);
if (propValue != null && !context.shouldSendXSIType ()) {
System.out.println("PropVa lue A" + propValue);
context.simpleElement(prop QName, null, propValue.toString());
System.out.println("PropVa lue B" + propValue);
Thank You...
For some Reason when we pass the String like "Thousand Oaks", we are getting back as "1000 OAKS".Is there any issue with com.ibm.ws.webservices.eng
Where it is converting "Thousand" to "1000"
Here is Code:
System.out.println("PropVa
if (propValue != null && !context.shouldSendXSIType
System.out.println("PropVa
context.simpleElement(prop
System.out.println("PropVa
Thank You...
It is probably the web service that is doing the conversion. Can you test this with some other WS client, to check whether the conversion is not specific to your code?
ASKER
com.ibm.ws.webservices.eng ine.encodi ng.Seriali zationCont ext class simpleElement method
is converting the value..
context.simpleElement(prop QName, null, propValue.toString()); is doing conversion.
is converting the value..
context.simpleElement(prop
ASKER
Please help me in this...
Now I can't change to other WS client.. We are in web sphere commerce product
Now I can't change to other WS client.. We are in web sphere commerce product
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Commerce solution