Library for creating java stubs for webservice

I would like to know if anyone could recommend a good library for creating explicit web services as clients.

I am currently using a product that has a generator built in that only needs WSDL, and then creates the necessary classes and methods.

My problems is that it gives warnings and does not create any method for some web services that I am trying to use.

The real problem is that it does not explain what the problem is (so I can go with the owner of the web service and change it) and not let me change the output, so I can probably fix the problem myself.

However, web service owners (because this happens with several different ws) say that their ws works fine, and in fact, if I use soapUI they actually work !!!

I quickly looked through the libraries used by soapUI, and I look promising.

I know that Axis is supposed to do this work, but I am worried that my crash generator is already using this library (which makes me the thing that it won't work again)

And lately, I don't know if these two libraries generate the original java header or only have methods like

Object [] args = ...;
service.inkvoke("updateCustomer", args );

When I would like to have something like:

CustomerWs cws = ....
cws.updateCustomer(custId, custName, custAddress /*etc*/ );

So who has a GOOD ws stub that can recommend?

, ,

+3
6

? Axis Wsdl2Java Ant. . , classpath Eclipse ( , ). Ant :

<taskdef name="axis-wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask" />
<target name="foo">
<axis-wsdl2java
              output="${build.dir}"
              testcase="false"
              verbose="true"
              typemappingversion="1.2"
              url="http://ws.domain.com/url/of/WebService?wsdl" />
<!-- Compile, etc... -->
</target>
+2

, "Axis": Apache Axis 1 2006 , CPU ( ). . Apache Axis 2 - . Apache CXF Glassfish Metro.

: 100 % CPU spin. Cyrille Le Clerc , .

, Java. Axis , HTTP 500 . , Axis, . SOAP Axis 1.

+3

Apache CXF - Maven , . , , , WS.

, CXF + Maven + Subversion, Subversion, WSDL - - "" Maven.

+2

Apache Axis 2 - ... , . , , . , , , Axis 1?

+1

-, API. API JAX-WS. Apache CXF Metro JAX-WS, JBoss . Axis2 , .

API - , . , , , , wsdl.

, JAX-WS Java6. Java6, ..

+1

JAX-WS (http://metro.dev.java.net) - . , , .

0

Source: https://habr.com/ru/post/1710730/


All Articles