using weblogic clientgen to generate related java classes for calling SOAP WS

<?xml version="1.0" encoding="utf-8"?>
<project name="b" basedir="." default="build-client">
	<taskdef resource="net/sf/antcontrib/antlib.xml" />
	<taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" classpath="C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar"/>
    <target name="build-client">
      <clientgen
        wsdl="http://<host>:<port>/xx/PUBLIC_WS?WSDL"
        destDir="clientclasses"
        type="JAXRPC"/>
    </target>
</project>

 

你可能感兴趣的:(weblogic)