Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Impossible to generate a WSDL 1.1(Unable to generate WSDL 1.1 for this service)
Impossible to generate a WSDL 1.1 [message #510478] Wed, 27 January 2010 10:32 Go to next message
Eclipse UserFriend
Hello!

I created a dynamic web project. After I created a web service with one of my class located in my web project. And finally to test, I launched the "run as".
All works very well!

However, when I go to check the WSDL generated, the version of the WSDL is 2 and I want a version 1.1. To solve this, I saw that we need to put this line :
<parameter name="useOriginalwsdl">false</parameter>

in the "WebContent/WEB-INF/services/Converter/META-INF/services.xml "

Unfortunetly, when I do this, my WSDL is still in version 2.

If i try to check my WSDL like this : http://localhost:8080/WebT/services/Converter?wsdl=wsdl1.1 I obtain the answer :
<error>
<description>Unable to generate WSDL 1.1 for this service</description>
−
<reason>
If you wish Axis2 to automatically generate the WSDL 1.1, then please +set useOriginalwsdl as false in your services.xml
</reason>
</error>


Do you have any idea to generate a WSDL 1.1?

Thank you very much

I use :
- Dynamic Web Module 2.5
- Axis 1.4.1
- apache 6
- java 1.6

[Updated on: Wed, 27 January 2010 10:44] by Moderator

Re: Impossible to generate a WSDL 1.1 [message #510647 is a reply to message #510478] Thu, 28 January 2010 03:21 Go to previous messageGo to next message
Eclipse UserFriend
any solution?
Re: Impossible to generate a WSDL 1.1 [message #510855 is a reply to message #510647] Thu, 28 January 2010 15:11 Go to previous message
Eclipse UserFriend
As far as I know, Axis2 generates both versions.

Take a look at

http://localhost:8080/WebT/services/Converter?wsdl

and

http://localhost:8080/WebT/services/Converter?wsdl2

and compare the two.
Previous Topic:WTP project API/extension
Next Topic:Eclipse project backup
Goto Forum:
  


Current Time: Wed Jul 23 17:33:38 EDT 2025

Powered by FUDForum. Page generated in 0.03080 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top