It's not a secret anymore!*
The moose likes Web Services and the fly likes Unable to generate custom WSDL  - Axis2 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 "Unable to generate custom WSDL  - Axis2" Watch "Unable to generate custom WSDL  - Axis2" New topic
Author

Unable to generate custom WSDL - Axis2

Prathamesh Vagal
Greenhorn

Joined: Jun 11, 2013
Posts: 3


Hi All,

I am trying to generate WSDL based on existing custom WSDL provided. Custom WSDL was validated using SOAPUI. It generates operations perfectly.
However, when deployed this WSDL within EAR it is not getting recognized by axis2.

We have tried deploying custom WSDL & Schema (XSD) in EAR as follow
1. EAR->WAR->WEB-INF->services->AAR->META-INF->custom wsdl, xsd, services.xml
2. EAR->WAR->WEB-INF & xsd->services.xml,wsdl.

Note: we had kept useoriginalwsdl = true in services.xml for all above cases.
We didn't receive any error in deployment however we received message as Unable to generate WSDL 1.1 for this service If you wish Axis2 to automatically generate the WSDL 1.1, then please set useOriginalwsdl as false in your services.xml

We also had kept service name from WSDL,EAR name, WAR name, WSDL name and Service name from services.xml same.

Can anyone provide exact deployment structure of custom WSDL with EAR for Axis2?
It is bit urgent.
Prathamesh Vagal
Greenhorn

Joined: Jun 11, 2013
Posts: 3
Can anyone kindly help on this issue? It is bit urgent.
Prathamesh Vagal
Greenhorn

Joined: Jun 11, 2013
Posts: 3
Did nobody ever tried deploying web services using axis2 custom wsdl approach?
 
Consider Paul's rocket mass heater.
 
subject: Unable to generate custom WSDL - Axis2
 
Similar Threads
I am passing a non-pojo to a web service. Not all attributes are being marshalled
Axis2 POJO web service - wsdl generating xs:anyType
Need help using annotations with Axis2
webservice deployment issue with tomcat 5.5 , axis2 1.4 , jdk 1.4
URL parameter passing