Bad envelope tag: definitions - Web Service Error

L

Lee

Hi,

I have an application that will open and parse a WSDL file, create and
build the stub code (using WSDL2Java api), and now I am trying to
invoke the web service methods. I have tried doing this using:

1. WSIF (using WSIFOperation.executeRequestResponseOperation)
2. Axis (using axis.call.client.invoke)
3. Just reflection (load the stubs and just use Axis for type mapping)

However, for all 3 of these methods I get:

org.xml.sax.SAXException: Bad envelope tag: definitions

However, if I create and build the stubs first, package them up and
include them in my application project, then the above methods work
fine.

Has anyone encountered this, or can anyone give me a hint?

Many thanks

Lee.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top