Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Service Design query  RSS feed

Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, I've a query regarding design of webservices. We have two webservice providers to whom we connect through our web service client program. But the variables declared varies to refer to the same information. Take for example: Provider1 has declared a variable to refer account number as "acctID", provider2 declared it as "accountId" and in our existing client interface we have it as "accountNum".

So when we generated stubs from the wsdl files provided by verndors, the generated code would have corresponding setters and we are forced to do manual mapping to the fields from client program to corresponding provider requirements.

Please suggest if you have better design for this scenario. Thanks
(Env: Axis 1.4.1, JDK 1.5)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!