Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes errors deploying aar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "errors deploying aar files" Watch "errors deploying aar files" New topic
Author

errors deploying aar files

Prasad Lakkavaram
Greenhorn

Joined: Sep 01, 2005
Posts: 8
hi all,
I could manage to deploy the axis2 web application on Web Sphere 5.1 test server but I could not get the services to work .I am getting the following error for version service when deployed as version.aar
---------
33aeb2fa DeploymentEng I org.apache.axis2.deployment.DeploymentEngine Invalid service version.aar due to java.lang.NoSuchMethodError: javax.xml.namespace.QName: method <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String V not found
at org.apache.ws.java2wsdl.utils.TypeTable.populateSimpleTypes(TypeTable.java:38)
-----------
Can any one pl lemme know what this problem is ?
Thanks in advance
Prasad.
Sashwat Gupta
Greenhorn

Joined: Aug 04, 2005
Posts: 9
Hi,

This seems to be a jar versioning issue. In the was console try making the classloader policy as PARENT_FIRST and try. This may solve your problem.

Sashwat
Prasad Lakkavaram
Greenhorn

Joined: Sep 01, 2005
Posts: 8
Thanks William and Sashwat for your suggestions. I was able to get webService and client to work using axis2 using their wizards . I actually used axis2-1.1.1 nightly build to get them working.

I have another question about client code generated using webservices toolkit on Excel 2003 if any of you have worked on this before.
I have used http://www.oreilly.com/pub/h/1306
to test the webservice on Excel. When I created the webservice using websphere soap engine on rad 6.0 Excel created structures (VB code) for all my DTOs with that wsdl one of my input objects is mapped to
ex: struct_OpportunityCountRequ with fields
Public nwieId As String
Public oppLibId As Double
Public producerNumber As String
Public mailable As Boolean

but when I created wsdl from axis2 soap engine ( axis2 wizards added as plugin to RAD 6.0) then I could not get the structures for the DTOS of my webservice methods .Instead I have all the DTOS mapped to MSXML2.IXMLDOMNodeList in VB code

Could any one let me the reason for this difference in code generation ?
I would appreciate any suggestions.
Thanks,
Prasad
Prasad Lakkavaram
Greenhorn

Joined: Sep 01, 2005
Posts: 8
Thanks William and Sashwat for your suggestions. I was able to get webService and client to work using axis2 using their wizards . I actually used axis2-1.1.1 nightly build to get them working.

I have another question about client code generated using webservices toolkit on Excel 2003 if any of you have worked on this before.
I have used http://www.oreilly.com/pub/h/1306
to test the webservice on Excel. When I created the webservice using websphere soap engine on rad 6.0 Excel created structures (VB code) for all my DTOs with that wsdl one of my input objects is mapped to
ex: struct_OpportunityCountRequ with fields
Public nwieId As String
Public oppLibId As Double
Public producerNumber As String
Public mailable As Boolean

but when I created wsdl from axis2 soap engine ( axis2 wizards added as plugin to RAD 6.0) then I could not get the structures for the DTOS of my webservice methods .Instead I have all the DTOS mapped to MSXML2.IXMLDOMNodeList in VB code

Could any one let me the reason for this difference in code generation ?
I would appreciate any suggestions.
Thanks,
Prasad
Esther Capilla
Greenhorn

Joined: Jan 25, 2007
Posts: 12
Hello all,
I tryng to deploy the axis2.war in weblogic81, and I obtain the same error. How I can fix the error in weblogic81?

Thanks in advance
Esther
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: errors deploying aar files