This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Regarding Spring-WS
Axis1 (1.4) - Simple client proof of concept - SAXParserException: Content is not allowed in prolog
using form bean in struts 2
Axis2 - WSDL to code