Home > Java, JBoss, Web Services > How to create and secure a POJO web service in JBoss (in seven easy steps)
  1. Dennis
    1 September 2010 at 12:46 pm

    Hello,

    Will this work with JBoss 4.2.3..we are way behind..

    Thank You

    • 1 September 2010 at 1:20 pm

      Hello Dennis, I am not sure if it would work on 4.2.3. I have only tried it with JBoss 5.Have a go and post here if it does. It would be interesting to know if it works.

  2. Dennis
    1 September 2010 at 12:53 pm

    Hello,

    Is this the correct jboss-web.xml file to be modified as above?

    C:\jboss-4.2.3.GA\server\all\deploy\jbossws.sar\jbossws-context.war\WEB-INF

    Thank You

    • 1 September 2010 at 1:21 pm

      I have changed the one that is under WEB-INF/. How many jboss-web.xml are there? If you have several check for any under the WEB-INF folder.

      • Dennis
        1 September 2010 at 2:12 pm

        Hello,
        I am attaching/sending a jpg of the jboss-web.x ml files found from a Search on Windows…

        Thank You

  3. Panos
    2 September 2010 at 10:26 am

    Dennis, it should be in the WEB-INF/ of your project. For example in my project it’s in

    C:\Projects\WSProject\LoginWS\WebContent\WEB-INF

    From the picture you sent to me, the closest that matches a web application is the one in

    C:\jboss-4.2.3.GA\server\all\deploy\juddi-service.sar\juddi.war\WEB-INF

    But I am assuming that your web application is called “juddi”.

  4. 3 February 2012 at 2:19 pm

    A big thank you for your post.

  5. Govindh
    7 May 2014 at 9:17 am

    Hi panos,
    I have created simple webservice and deployed in JBoss4.2.2. Now i want to secure that webservice using username/password token. I have followed your steps but when am checking in soapui i didnt get any response. if you have any document or video pls attach here it will be very useful for me.

    • 7 May 2014 at 7:14 pm

      Hello Govindh, I don’t have any other document or video, sorry. Do you get anything in the logs?

      • Govindh
        8 May 2014 at 4:31 am

        Hi panos,
        I didn’t get anything in this log but i can create webservice using username/token by using your previous post and i can run in soapui. Now i want to add SSL certificate for this webservice. How to add SSL certificate for my webservice?.

        Thanks Govindh

      • 11 May 2014 at 10:10 am

        Hello Govindh, this is another subject. Do a search on google on how to install SSL certificates onm your web server. This is what you want.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: