Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 - Java Webservice - How to change Service Name and Portname on WSDL?

 
Santhosh Kalisamy
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,

I am working on Migration project. I have to upgrade my Java webservice from Axis to Axis2.

services.xml




Java Webservice Class:


WSDL File (Part)


I have used Java annotations to change port number (based few tutorials and forums). But it didn't update port name on WSDL.

Could anyone help me to update Port Name on WSDL please?


Because, my Java webservice client is VB6 and it is hard to update them...

For reference I have pasted the VB6 (snippet) code:



When I replace

with


It worked.

But, It is very hard to fix on client side. So, would like to fix on Server side byt changing the SERVICE NAME and PORT NAME on WSDL.

Please share your views.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic