TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vus Zib
NA
2
452
XML TAGS with decimal data values disappearing during POST
Jan 20 2020 2:15 PM
Im having challenges posting a soap msg specifically using C#, but I tested the same with Java and its working fine.
The challenge is my xml request is dropping all tags that have decimal data, eg amount , etc hence am getting Mandatory field missing exception.
When I try with java this is how im assigning the values to the decimal type xml elements : body.setTXNAMT(new BigDecimal(10));
In C# then I do this : body.TXNAMT = new decimal(10.00);
But then the C# client will drop this tag from the xml.
I have traced the request using WireShark only to realise that the xml has missing tags.
Kindly assist
Reply
Answers (
1
)
Detailed explanation of token using c#
how to get c# object from JSON, any tool?