Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:32 Go to next message
Batistuta is currently offline BatistutaFriend
Messages: 6
Registered: January 2010
Junior Member
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 15:44]

Report message to a moderator

Re: Impossible to generate a WSDL 1.1 [message #510647 is a reply to message #510478] Thu, 28 January 2010 08:21 Go to previous messageGo to next message
Batistuta is currently offline BatistutaFriend
Messages: 6
Registered: January 2010
Junior Member
any solution?
Re: Impossible to generate a WSDL 1.1 [message #510855 is a reply to message #510647] Thu, 28 January 2010 20:11 Go to previous message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
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: Fri Apr 26 14:54:05 GMT 2024

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

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

Back to the top