Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to approach this?  RSS feed

 
Amer Seifeddine
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks- I need to know what would be the best approach to resolve this situation ..

the server side webservice sends and receives soap messages for adding/querying records in this format:

<TableService action="Add, update or delete">
<Table1>
<Field1> Value1 </Field1>
<Field2> Value2 </Field2>
<Field3> Value3 </Field3>
<relationshipTable>
<Field3> Value3 </Field3>
</relationshipTable>
<Table1>
</TableService>

There is a special wsdl for every table (or service). There are xsd files to define every field based on database configuration.. those xsd files are automatically generated along with wsdl files based on the service configuration on the server side.. This is what I want to do:
Client side JAX-RPC to parse all those xml documents into Objects to be passed to the browser using javascript (DWR) so that they can be fetched, queried and updated then send them back to the server.

Since the wsdl can be changed depending on the service configuration on server side and since fields can be removed or added based on administration decisions and since I want to use generic JAX-RPC client to parse any such xml and not only for specific table.. I am thinking to use DII but what would be the best approach to attack this situation.

I beleive that this forum is the best on the net and I hope you can help me taking the best decision.. please and thanks in advance.

Examples or links are welcome..

[ November 05, 2008: Message edited by: Amer Seifeddine ]
[ November 05, 2008: Message edited by: Amer Seifeddine ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!