Prev | Current Page 238 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"


classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
loaderref="axis" >



fork="true" failonerror="true">











The task will extract WSDL from the specified location and generate the following
client-side artifacts:
com\binildas\esb\jsrpojo\HelloServicePortType.java
com\binildas\esb\jsrpojo\PojoBindService.java
com\binildas\esb\jsrpojo\PojoBindServiceBindingStub.java
com\binildas\esb\jsrpojo\PojoBindServiceLocator.java
The Client Java class can be written against these generated files as follows:
public class Client
{
private static String wsdlUrl = "http://localhost:8081/services/
PojoBindService/main.wsdl";
private static String namespaceURI = "http://binildas.


Pages:
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250