Hi, Are you copying the ?wsdl from the web browser? They don't show the full content. Web browsers omit the namespace definitions. If you are using a web browser, check 'View Source' for full content.
There should be namespaces like xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" defined. You can use that full content and save it to a file. Or I think you can give the full URL directly to the wsdl2java.sh like this. /wsdl2java.sh -uri http://localhost:8080/axis2/services/Version?wsdl Hope this helps. Upul On Feb 13, 2008 5:40 PM, Ilon Sjögren <[EMAIL PROTECTED]> wrote: > Hello. > > I got a problem where my Axis2 (1.3) server is generating wsdl files for > services that i cant use to generate clients for the same services, mainly > because the WSDL is mallformed. > > I use eclipse for development, and eclipse do complain on the WSDL-files > as well. > Here is the output for http://localhost:8080/axis2/services/Version?wsdl > http://pastebin.com/f12734e55 > And here is the output for '/home/ilon/tomcat/axis2-1.3/bin/./wsdl2java.sh > -uri version.wsdl -d adb -s' > http://pastebin.com/f129de119 > > I'm getting similar problems when trying to generate WSDL for my own > services. > > If i could get a hint of where to search for answers in this matter i > would be very happy. > > Ilon Sjögren. > > -- > vuln.se
