Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!