Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Apache Axis ignore  org.xml.sax.SAXException invalid element

Thread view: 
Fealfu - 28 Aug 2007 07:41 GMT
I´m working with WS in Axis Technology, the question is how can I
change the WS to include, for example, additional response fields,
without recreate axis java client?

When I add an aditional field the client throws a
org.xml.sax.SAXException invalid element exception.

Thanks a lot.
Jan Thomä - 28 Aug 2007 08:56 GMT
> I´m working with WS in Axis Technology, the question is how can I
> change the WS to include, for example, additional response fields,
> without recreate axis java client?

You could use an array of response fields in your response message. In Java
that would look like:

class MyResponse {

   private ResponseField[] contents;

   // getter+setter..

}

class ResponseField {
   private String message;
   private String code;
}

That way, you can add any amount of response fields without having to
recreate the client.

Hope that helps.

Best regards,
Jan Thomä

Signature

_________________________________________________________________________
insOMnia - We never sleep...
http://www.insOMnia-hq.de



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.