This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis2 - Java Webservice - How to change Service Name and Portname on WSDL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 - Java Webservice - How to change Service Name and Portname on WSDL?" Watch "Axis2 - Java Webservice - How to change Service Name and Portname on WSDL?" New topic
Author

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

Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 56
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 - Java Webservice - How to change Service Name and Portname on WSDL?
 
Similar Threads
Axis2 - WSDL to code
Regarding Spring-WS
Axis1 (1.4) - Simple client proof of concept - SAXParserException: Content is not allowed in prolog
using form bean in struts 2