Nabeel
Nabeel

Reputation: 794

Working With Multiple WSDLs Best Practices

I have a requirement of creating a Web Service interface using multiple existing WSDLs files having different namespaces. Some of the methods parameters in these WSDL have common name e.g. userID is used as parameter in multiple methods/operations.

I tried generating proxy classes for each file and then manually copy pasting required methods web service project. Using IntelliJ Axis2 resulted WSDL definition differs from actual WSDLs definition e.g. userID parameter gets renamed as userID0 and UserID1. Using visual studio (wsld.exe) resulted WSDLs definitions are close match of actual WSDL definition but when I deploy service on server parameters always received null may be due namespaces issue.

I was just wondering if some one can guide me what are the best practice/way of creating a single web service interface from multiple existing WSDLs having same definitions as of original WSDLs.

Upvotes: 0

Views: 391

Answers (0)

Related Questions