Sarone Thach

Ranch Hand
+ Follow
since Jun 25, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sarone Thach

Hi there,

I would like to see some source code of a java class or application that can read an XSD file and generate an XML message. Based on the rules defined in the XSD.

Could someone be able to point me in the right direction, whether it be key words so I can do a google search or a tutorial that explains how its done.

thanks,
:-)
what is professional literature you speak of? Can you recommend some good books or web links that you often refer to?
It would be very much appreciated.

The best practice I have found for myself is to walk along the same path that others have taken.
20 years ago
yeah the IBM web services sdk v5.1 doesn't appear to help :-(
I have tried Parasoft SOAPtest 3.0, doesn't generate the SOAP request correctly.

I'm beginning to think that there is no tool out there that is reliable or will generate the correct SOAP request based on a WSDL....

If some one can confirm or prove me wrong it will put my mind at ease.

thanks.
Hi all,

does anyone know of a really good tool that is able to automatically create a SOAP message from a WSDL. I have tried using XML spy, it comes up with part of the SOAP message, but does not appear to handle one-to many relationships and inheritance/complex objects very well. Also the complex object definitions can come from a schema.

thanks,

Sarone
Hi All,

I'm learning how to test web services. Since this is a relatively new, I haven't had any luck finding books that shows me how to test web services.
Can anyone recommend some books, articles, web page??

thanks,
Sarone
20 years ago
Hi could someone tell me what function on package to use to programmitically get my localhost as an IP address?
Namely on the Mac.
I'm using JKD 1.4.2_03
Hi could someone tell me what function on package to use to programmitically get my localhost as an IP address?
Namely on the Mac.
I'm using JKD 1.4.2_03
20 years ago
Hey Warren, thanks alot for your help, it has given me hints on how to understand this thing. I think I fully understand this now. Here is my final class.
I have assumed that the data I'm getting is big-endian. I just wanted to understand what the struct meant in java. So if little-endian reverse the shifting (<<

I think this is correct. I hope this helps others.
21 years ago
Well I have done a little more reserch, I hope this is close to correct.
Here is the equvilent java class:

I'm not entirely sure if the bit shifting is correct and if I'm &ing it with the correct values. If anyone can spot a problem let me know. thanks.
21 years ago
Hey there,
can you tell me what this means? and how I can create a Java class to represent this struct?
#pragma pack( push, 1 )
typedef struct _StrmHeader
{
BYTE bIdType : 4;
BYTE bValueLengthSize : 2;
BYTE bIdLengthSize : 2;
BYTE bValueType;
}
StrmHeader;
#pragma pack( pop )
thanks.
sarone
21 years ago
Yeah I speed it up, because it would take too long to hang otherwise.
I was issolationg a problem in my application, to prove that the hang was not due to my code, but to the popping and unpopping the frame.
It does not hang on the windows platform. Only the MacOS. I thought someone might have some idea why this is, so I can fix it in my application. Or perhaps, my code for popping and unpopping is wrong.
I am compiling the code in JBuilder9 on Windows, then running it on the Mac, I wonder if that makes a difference.
21 years ago
Hmm, you did answer the orginal question.
It's still hanging. My theory has been proven wrong. Any one got ideas.....
21 years ago
Hi there!
could someone please tell me how I can check if my JFrame is either fully iconified or fully maximised or in full display.
The reason I ask this is because when I run my test program on a MacOS X (10.3.2 JKD 1.4.2)platform, minising and maximising, the program hangs. I think it is something to do with me trying to deconifing the frame, when it has not yet been completely iconified. But then again it can be my code, if you spot the a bug, please let me know.
Confused, read the code it might make some sense.
If it is absolutely impossible, please tell me, so I can stop searching for answers and get some sleep.
thanks,
Sarone
21 years ago
Hey I hope I'm in the right forum.
I'm currently having problems with painting a JTable, every time the JTable UI has to be repainted, because of updates, it uses a lot of CPU time.
How do I reduce/prevent this? I really need to update the UI every second as part of my application requirement. The table would have an average of 50 rows, and each row has about 8 columns.
CPU usage is around 30%.
please any suggestions is welcome.
thanks.
Sarone
21 years ago
hi there,
I would like to check if the string i got is a valid number.
for example a "abc" will false.
"123" will return true.
I have tried new Integer("abc"); but I get a NumberFormatException.
Is there another way to check that the string is a valid number without getting exceptions?
thanks heaps,
sarone
21 years ago