Announcement Announcement Module
Collapse
No announcement yet.
step by step process to run echo from sprin-ws distribution? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • step by step process to run echo from sprin-ws distribution?

    Hi Guys

    I am new to Spring-ws. I tried to deploy the echo example. But I am unable to do so.

    Can any of you, tell me step by step process to
    1) Compile the sample\echo
    2) Create a war
    3) Deploy the application in any container.. weblogic 8.x (preferred)
    4) Finally the link to access the deployed web service
    5) And if time permits, a way to access the web service using a client.

    Or u can point me to some link which would help me.

    Thanks in advance.

    Regards
    kathy
    Last edited by kathyHoller; Oct 11th, 2006, 06:38 AM.

  • #2
    Hi,

    You will need maven 2 to create the wars. Unfortunately, there is one file missing in the distribution, which you require to make the samples. The process to build is as follows:
    1. Download this pom, and place it in spring-ws-1.0-m2/samples/.
    2. Run "mvn package" in echo
    3. Deploy the target/echo.war

    The above process is for a standalone web container like tomcat. If you run on a fullfledged J2EE server like Weblogic, you fill add create a WEB-INF/weblogic.xml file, which contains the following:

    Code:
    <weblogic-web-app> 
        <container-descriptor> 
            <prefer-web-inf-classes>true</prefer-web-inf-classes> 
        </container-descriptor> 
    </weblogic-web-app>
    For more information, see this thread.

    Comment


    • #3
      step by step process to run echo from spring-ws distribution

      Hi Arjen

      I have been using Spring Core and Spring MVC in some of my project now and in the past.

      I know its very late for Spring Webservice.

      But I am new to the Spring webservice, i have gone through the echo webservice sample, its very simple and easy to start with.

      But the code download (example) was blocked and unavailable. Do you have one available (working model HelloWorld sample ) so that i can get started, I am planning to promote it in my company. Waiting for your reply.

      Comment


      • #4
        Actually, the Echo app is in the downloaded Spring-WS zip.

        Upon unzipping, you will find the Echo app in samples/echo dir.

        Comment


        • #5
          Thanks gjegadesh

          I found it...in the samples :-)

          Comment

          Working...
          X