Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Stanley Tan

Ranch Hand
+ Follow
since May 17, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Stanley Tan

Thanks Lasse for the good description
17 years ago
I'm seeing this a lot in the Java AXIS documentation. What is an actor? How about a localpart?
17 years ago
Mark,
I'm using SOAP headers right now for authentication. I have a .NET Web service that exposes Web methods but requires a SOAP header to be passed along with the invocation. I've created a Java stub to the .NET Web service using AXIS and all is working fine until I call a method that requires a SOAP header. How do I go about specifying a SOAP header from a Java client that uses a stub generated from AXIS? Thanks for any input!

Stanley
17 years ago
I'm using Axis to access a Web service with the proxy created through WSDL2Java. It's working just fine, except for Web methods that require a SOAP header. How do I go about including SOAP headers?
Any help is greatly appreciated. Thanks
17 years ago
Thanks for the info! Hmm... are there any truly free ones out there?
Hi Sir,
Thank you for replying. I tried out the XMLEncoder class, but it seems to work only with Java beans. If for instance, I wanted to serialize my own class into XML such as:
public class TestClass
{
public String x1 = "this is variable x1";
public int y = 999;
}
How would I do that? There's no built-in XMLSerializer in Java, is there? As you said, there are a lot of projects out there. Could you recommend some free ones to help me get started? Thanks.
In .NET, there's an XMLSerializer class which serializes objects into XML. Is there an equivalent to this in Java? I tried looking in the API documentation, but there doesn't seem to be any.
Any guidance would be greatly appreciated. Thanks.
Congratulations to the winners!
17 years ago
Thanks a lot! I agree with you that its much easier to create Web services with Visual Studio .NET rather than in Java, though I haven't tried any Java IDEs yet.
Can you give me more information/sample code on how to TcpTunnelGui for monitoring?
Thanks!
17 years ago
Yes, but with RMI, you are limiting yourself to the Java platform. Also XML Web services operate by default over port 80 and hence can traverse most firewalls.
17 years ago
At the rate all these standards, drafts and other things are coming out, I'm starting to wonder how I'll ever keep up
17 years ago
Excuse me for my ignorance, but what is Apache Axis for a layman? A different version of SOAP?
17 years ago
Prasad DV,
I hope you come back and visit the JavaRanch Web Services forum... well, at least once in a while
Have a question for you or anyone else that can answer...
What is the WS-I draft? As I understand it, it is for interoperability, but aren't Web services supposed to be interoperable since it follows well-defined standards such as WSDL, SOAP, etc.
17 years ago
It's a way to expose functionality over the Internet. It's like calling a regular method, but the code (functionality) resides somewhere on the Internet. There is so much great potential for this. Just imagine before when you wrote DLLs. You had to distribute that DLL to your client programmers. Everytime a change is made, you must redistribute your DLL. With Web services, that no longer is a problem because you expose functionality in a single-central location over the Internet.
It's also a great way of doing business as companies can expose to other companies their Web services and transact (automatically) over the Internet without human intervention.
17 years ago
Thank goodness for standards like WS Security. Also, I love using the toolkits for making it so much easier to implement security measures rather than relying on my own methods which are not as fullyt tested. I really hope that in the near future, implementations of the Web Services standards will be fully standards-compliant for interoperability's sake.
17 years ago