Hi

I don't know if there is any library especially suited for calling SOAP
services from a Dropwizard application, but we are using Apache CXF[1]
quite successfully. We have the following plugin definition in the build
section of our POM file:

<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>3.1.6</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>validate</phase>
<configuration>
<sourceRoot>${basedir}/generated</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>WSDL path or URL here</wsdl>
<extraargs>
<extraarg>-impl</extraarg>
<extraarg>-verbose</extraarg>
</extraargs>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>

The plugin loads the WSDL file and generates Java code for calling the SOAP
service. You'll need to add "generated" as a source folder to your project.

[1] http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html

2016-08-30 2:32 GMT+03:00 Rajendra Pawar <[email protected]>:

> We have need to call SOAP services from my drop wizard application, Can
> you guys suggest the best if breed library which can be used with drop
> wizard.
>
> --
> You received this message because you are subscribed to the Google Groups
> "dropwizard-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jonne Jyrylä
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to