« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

Blog::Navigation

Blog::Editing

Bookmarks::Blogroll

Blog::Referrers

Today's Page Hits: 315

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

Powered by Roller Weblogger.
« WS-Trust support in... | Main | WSIT Security Sample... »
Wednesday Aug 22, 2007

Enable STS MEX endpoint

Back on this March, I published a tech tip in Sun Developer Network for securing Web services using WSIT with or without an STS.
Accomanying the tip, I also provided a sample application package.

Since then the MEX service for a Web service is implemeted as a seperate endpoint
in WSIT. With this change, to run the sample application of STS version with the current build of WSIT, one need to manually enable the MEX endpoint for the STS with the following modifications to the sample:

1. Add the entry
<endpoint
name="sts_mex"
implementation="com.sun.xml.ws.mex.server.MEXEndpoint"
url-pattern="/sts/mex" />
to the file etc\sts\sun-jaxws.xml.

2. Add the entry
<servlet-mapping>
<servlet-name>sts</servlet-name>
<url-pattern>/sts/mex </url-pattern>
</servlet-mapping>

to the file etc\sts\web.xml.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
Locations of visitors to this page
Copyright (C) 2003, jiandongg