BOWS
BOWS

Reputation: 434

What is the easiest way to generate a Java client from an RPC encoded WSDL

I’m new to the concept of web services and I’m currently working on a project where I need to retrieve some data from an external application via SOAP.

This application provides an RPC encoded WSDL. I’m currently finding it very difficult to create a client for this service in Java due to RPC being superseded.

The closest I’ve got so far is using JAX-RPC but every time I try to run the ws-compile programme I get an error which states “error code to large”.

I have researched on AXIS 2, and tried to compile it’s WSDL2JAVA but due to RPC encoding I keep getting exception on all the data binding methods.

I was wondering if I can have some advice or a guide on generating Java Clients from RPC encoded WSDLs. What are the steps? What should I consider before I even try to write the client?

I’m currently using netbeans 6.9.1

Upvotes: 9

Views: 11927

Answers (1)

Anuj Balan
Anuj Balan

Reputation: 7729

If you are trying to generate the client stub from the wsdl url, then follow this

Thank you

Upvotes: 3

Related Questions