Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Sabya Sachi

Greenhorn
+ Follow
since Oct 05, 2004
Merit badge: grant badges
For More
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 Sabya Sachi

Hi,

I want to build an asynchronous JAXRPC service & clients....How do I go about coding for the asynchronous service???What are the requirements in the interface and the class which implements the interface???Is there any other setting in xml files.....What settings should be done from the client side???
Do I need to use JAXM for asynchronous operations???

I am using JWSDP 1.3 with Tomcat 5.0 as the web container


Please help me out.............

Thanks in advance.......

Sabyasachi
19 years ago
Hi I have a JAXRPC service already in function...

I want to make this service as an asynchronous one.At present request-response is happening at one go.There might be some situations in my case where the response actually should come at some later point of time...

How do I go about building an asynchronous service...

Please help me out.

Thanks in advance....


Sabyasachi
19 years ago
Hi
I have developed a JAXRPC service.

Now I want to develop a SAAJ based service.I found it out from somewhere in the net that in SAAJ based service generation of WSDL even is not required.
The client just needs to have a schema of the service.


How do I go about developing a SAAJ based service???


How do I go about coding the service and the clients???

Please help me out....

Thanks in advance
Sabyasachi
19 years ago
Hi

I have solved the mutual authentication problem.Now I can handle various clients and can maintain their lists in the server side.

The settings actually were quite simple....I found out the solution from jws 1.0 doc


For mutual authentication I had to follow these steps.



I created a keystore for the server side using keytool with the server details.Then exported the contents into a file which acted as the public key certificate for the server.I gave the path of the keystore file in ssl connector tag in server.xml.
Client also generates a certificate from his/her side and exports the contents into a file which acts as the public key holder for the client.

The server certificate is passed to the client which client imports into his/her keystore.

Same happens at the server side.
The server imports the client certificate into his/her keystore.

The client just needs to set his/her keystore location and the password to it.

That's it and bingo.......

Cheers.....

Sabyasachi
19 years ago
Hi,

I had already done all the settings in server.xml earlier.But I am not getting one thing... how do you go about setting the client stores for various clients.The server needs to have the public keys of all the various clients.How does the server maintain this???

I am still in doubt...

Anyways your piece of information helped me to ceratin extent...

Sabyasachi
19 years ago
Hi,

I have already built my webservice and it is ready for use...

But I want to implement security into my service using SSL.

Let me first tell you I have used jwsdp-1.3 and the web container as Tomcat 5.0 to build my JAXPRC service.

I have followed the mutual authentication example provided in the jwstutorial but that does not seem to be too useful to me....cos that does not describe clearly how the authentication has to be done from various client sides.


I want to have a third party as the certifying authority for both the server as well as the client.

Kindly guide me how do I go about setting the properties in the server side as well as in the client-side....

I am now trying out my luck with SAML(Security Assertions MarkUp Language)....I have got certain pieces of code related to SAML but SAML Web Service integration is not described.Those just show how SAML works...Please help me out.It is very urgent for me.
Thanks in advance

Sabyasachi
19 years ago