1

I am totally new to SOAP services. I wanted to know how to create a SOAP service using Axis/CXF (anything is fine), but the end-product should be a WAR file which i can deploy on JBOSS 7.

I tried but was able to reach till WSDL using the following example http://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/ but it doesnt say how to generate a war file :-(

Can you please suggest link or example on how to create a SOAP service from scratch.

Thanks and regards,

Rohit

Rohit
  • 401
  • 2
  • 4
  • 11
  • 2
    Hi Rohit: if you had googled for it a bit you'd have found: https://community.jboss.org/wiki/CreateJAXWSEndpointFromAWSDLFile?_sscc=t – Ahmed Masud Jun 20 '13 at 10:33
  • and tutorial how to create WAR file http://stackoverflow.com/questions/1001714/how-to-create-war-files – user1516873 Jun 20 '13 at 10:36
  • Hi Ahmed, thanks a lot. I was able to generate the classes using Wsconsume but now i want to import it in eclipse with maven, can you please suggest what maven project archetype should i use so that i can copy paste the generated calles in their place – Rohit Jun 20 '13 at 11:08

1 Answers1

0

If you use Maven, you can specify that during you 'build' phase in you .pom file:

<build>
    <plugins>
        <plugin>
            <artifactId>maven-ear-plugin</artifactId>
            <configuration>
                <unpackTypes>war</unpackTypes>
            </configuration>
        </plugin>
    </plugins>
</build>
mike.tihonchik
  • 6,855
  • 3
  • 32
  • 47