Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URGENT- Rename or Regenerate Axis Classes

Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We have a webservice and its corresponding Java Bean classes(generated out of Apache Axis WSDL2Java emitter) for each element in the incoming Soap message body.

Now the problem comes when i've have to rename an element in the soap body, how should i make Axis runtime invoke the same webservice without regenerating the entire Java2WSDL and WSDL2Java.

I have tried renaming the Java Bean class and all its corresponding references in deploy.wsdd, server-config.wsdd etc.

The exception is get is ...

faultCode: {}Server.userException
faultString: org.xml.sax.SAXException: Invalid element in XXXXXXXX - YYYYYYYYYYY

Hope i'm clear.
Appreciate quick response.....SOS...

Thank you.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic