• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mapping wsdl field names to database values

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All - I am currently working on a web service application (WSDL/SOAP).
Certain tables in our application database are populated via a back-end external process which the web service application does not govern. The xsd field names used when designing the wsdl were created to be expressive so as it is easier for the calling client to integrate with web service.

Now i have to map the xsd field names with the values in one of the external table as mentioned above. I can't do a direct mapping or use reflection as the names of wsdl xsd fields don't match with the table values. For e.g.
in the wsdl i have a field called "driverAge" whereas the corresponding match table value is "drAge". Here the driverAge is the actual age of the vehicle driver whereas the drAge is a weight associated with the age of the driver. I have to associate the two for some computations.

I want to avoid doing this matching programatically and was looking at a simple approach to do this more by convention or some sort of flexible mapping.


Let know your thoughts.

Thanks,
 
reply
    Bookmark Topic Watch Topic
  • New Topic