Are you using WSAS 2.2? This has many bug fixes to Axis2 1.3. I think
you have hit a bug in Axis2 1.2 which has since been fixed.
Of course you can generate code & WSDL with WSAS. There are several
options available to you.
1. Use the online tools http://tools.wso2.org/tools_wsdl2code/ or
http://tools.wso2.org/tools_wsdlview/
2. Download WSAS 2.2 (http://wso2.org/projects/wsas/java) and use the
GUI tools available in the
console(http://wso2.org/project/wsas/java/2.2/docs/tools/wsdl2code.html
& http://wso2.org/project/wsas/java/2.2/docs/tools/wsdlview.html) or in
WSAS IDE, The Eclipse Plugin(
http://wso2.org/project/wsas/java/2.2/docs/tools/ide.html)
3. Download WSAS and use the java2wsdl or wsdl2java command line tools
which will be available in WSO2WSAS_HOME/bin
See http://wso2.org/project/wsas/java/2.2/docs/tools/cmd/code_gen.html
FYI, there are other interesting online tools hosted at
http://wso2.org/tools
HTH
Azeez
stlecho wrote:
Hi,
I am trying to upload an AAR that has been generated by Axis2 v1.2. This AAR
can be deployed successfully with Axis2. When uploading the AAR in WSAS I'm
receiving the following error message: 'Error:
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException:
Undeclared namespace prefix "xs" at [row,col {unknown-source}]: [285,211] at
...'
When looking at the WSDL generated by Axis2, there is indeed a problem with
the definition of the "ws" namespace, but Axis2 has apparently no problem
with it.
It is not clear if this is a bug with Axis2, so I was thinking about
generating an AAR with WSAS. Is this possible ?
Attached to this post, you'll find the WSDL generated by Axis2:
http://www.nabble.com/file/p15224671/NoticeRequesterInterface.wsdl
NoticeRequesterInterface.wsdl
http://www.nabble.com/file/p15224671/NoticeRequesterInterface-generated-by-axis2.wsdl
NoticeRequesterInterface-generated-by-axis2.wsdl
Regards, Stefan Lecho.
_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user