Hi,
I have simplified the problem, but still don't have any solution.
Mostly this is either a bug or undocumented thing in axis2.
A) Create a service.aar with user supplied wsdl. (ie) Generate a
skeleton out of the wsdl and package it as *.aar file and drop that as
part of axis war deployment.
B) The service is getting deployed, but it can't seem to find the wsdl.
I debugged the code, it is looking for
Wsdl in wsdl.list.
" InputStream wsdlfilesStream =
serviceClassLoader.getResourceAsStream("meta-inf/wsdl.list");"
What is this wsdl.list? I can't seem to find any reference to it any
where?. Do I need to add the location of the wsdl here?
Regards,
Haneef
-----Original Message-----
From: Gagan Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 10:31 AM
To: [email protected]
Subject: RE: Axis and weblogic deployment
Hi Haneef,
Do you have
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
In your weblogic.xml ? If Not ,Insert it and give it a try
Regards
Gagan
-----Original Message-----
From: Ali, Haneef [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 7:51 PM
To: [email protected]
Subject: Axis and weblogic deployment
Hi,
I have a wsdl. I generated skeleton out of the wsdl and calling an ejb
from the skeleton. Since I'm using my wsdl, I have "useOriginalwsdl"
parameter = true. I have deployed it as an ear file in weblogic whose
contents are axis.war + ejb code .jar + skeleton.aar . If I go to the
axis page, it shouws that my services is deployed, but if I tried to
retrieve the wsdl, it is not able to return my original wsdl.
I debugged the code and found that
AxisService.getParameter("wsdl4jDefinition") returns null. Can any one
let me know who will set the value of the parameter, or what should I do
to set the parameter.
Note:
I deployed the same thing in tomcat, and it is able to return the
wsdl, and the parameter "wsdl4jDefiniton" is set to some value. Just
don't understand what is the difference in weblogic. Is there any
problem with my deployment
Thanks,
Haneef
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]