Thanks a lot Vinh!
Indeed this was the problem. From somewhere I had copied axis2-security.jar
into the lib folder which contained a rampart class.
Once I removed this jar, the module is getting loaded (i guess as there are
no error which I used to get). But now I am running into a different
excep
Hello there,
I am getting DeploymentException: java.land.NoClassDefFoundError for
one of my external library used in my java class. I checked that jar
file is in classpath while I creating "service.aar"
There should be some mistake with your service. Please double check.
Thank you!
Deepal
Normally, classloaders look up classes using the full package path and
class name, not just the class name. So it's not likely that the
problem is because of clashes between classes that have the same name
but different packages.
More likely, the NoClassDefFoundError is occuring because no such
Hi Alex,
Declaring the rampart in axis2.xml global config (and putting the
> rampart.mar in WEB-INF/modules, of course) would engage it globally for all
> services. If you only have one service running, this might be what you need.
> I haven't found a way to engage a module ona per-service basis,
Hari,
I have this class in the class path but what I found out is the
> ModulePolicyExtension class belongs to
> org.apache.axis2.wsdl.codegen.extension
>
> But the error I am getting is for this class org*/*apache*/*axis2*/*
> modules*/*ModulePolicyExtension
> Some where the code is looking for
It works now! Thank-you for pointing the solution to the problem.
This was driving me bonkers.
Thanks,
Shawn
Tom Seelbach wrote:
Looks like same problem as
https://issues.apache.org/jira/browse/AXIS2-3792
The backport-util-concurrent-3.1.jar is in the lib directory of the
main 1.4 binary dist
Hi,
I have a WSDL + XSD file. I used axis to implement a server for the given
WSDL.
So I used the Java Objects and Skeleton generated by Axis' wsdl2java.
Now I have a requirement where I have a soap XML file which will be same as
SOAP request XML. Only difference is instead of getting it over HTTP
Looks like same problem as https://issues.apache.org/jira/browse/AXIS2-3792
The backport-util-concurrent-3.1.jar is in the lib directory of the
main 1.4 binary distro, but not in the eclipse-codegen-wizard-1.4.zip.
Try adding it and see if it helps.
-Tom
Original Message
Su
Hello,
Could I please have some suggestions on how to get the 1.4 codegen
plugin to work in eclipse?
I have attached copies of the error output from when I ran eclipse in
debug mode and some wsdl I am attempting to generate stubs for.
Any help would be much appreciated.
Thanks,
Shawn
Sha
Anyone?
From: Simon Nunn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:46 AM
To: 'axis-user@ws.apache.org'
Subject: RE: WLS 10 MP1 - Axis 2 1.3 - BouncyCastle problem
Has anyone run into this? Any suggestions would be appreciated.
Thanks,
Simon
From: Simon Nunn [ma
Forgot to mention that we're using JAX-WS on the client side, too. There's no
ServiceClient there. No ConfigurationContext, either. Any ideas?
javax.xml.ws.Service is notoriously bad at exposing anything useful...
From: Nandana Mihindukulasooriya [mailto:[EMAIL P
Hi Nandana,
Yes I have this class in the class path but what I found out is the
ModulePolicyExtension class belongs to
org.apache.axis2.wsdl.codegen.extension
But the error I am getting is for this class org*/*apache*/*axis2*/*modules*
/*ModulePolicyExtension
Some where the code is looking for
or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yep. looks like we forgot to yank that.
- -- dims
Paul Fremantle wrote:
| I was confused by:
| axis2-1.3\samples\jaxws-calculator\resources\META-INF\services.xml
|
| Paul
|
| On Thu, May 8, 2008 at 3:25 PM, Davanum Srinivas <[EMAIL PROTECTED]> wrote
> How did you set the username/password on the client side? I can't find a
> way to get a hold on service Options...
http://wso2.org/library/3190#Step_3._Engaging_Rampart_and_setting_authentication_information
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED]
Hello there, I am getting DeploymentException:
java.land.NoClassDefFoundError for one of my external library used in my java
class. I checked that jar file is in classpath while I creating
"service.aar"Please help.Thanks & Kind Regards,Minal Satpute
Hi Hari,
do you have axis2-codegen-1.4.jar in your classpath ? If not, please add
this jar in to your classpath. This jar ships with Axis2 binary distribution
under lib. Even if you download the war distribution or create the
distribution using maven, it is there. But if you create the war usin
Can the keystore, truststore, and password be set in the axis2.xml config? If
so, what is the syntax?
From: Upul Godage [mailto:[EMAIL PROTECTED]
Sent: Monday, April 28, 2008 5:39 AM
To: axis-user@ws.apache.org
Subject: Re: question about CommonHTTPTransportSender
Like the "http" transport send
I was confused by:
axis2-1.3\samples\jaxws-calculator\resources\META-INF\services.xml
Paul
On Thu, May 8, 2008 at 3:25 PM, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Paul,
>
> No. You can't use a services.xml with JAX-WS.
>
> thanks,
> - -- d
Hi Nandana,
Thanks for the tips on debugging. I debugged the code and found that the
faulty modules has this 'rampart' module in it.
The error is the following
java*.*lang*.*NoClassDefFoundError*:* org*/*apache*/*axis2*/*modules*/*
ModulePolicyExtension
Which axis2 jar contains this class? I sear
How did you set the username/password on the client side? I can't find a way to
get a hold on service Options...
Thanks,
Alex
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: May 8, 2008 11:41 AM
To: axis-user@ws.apache.org
Subject: AW: can I use use rampart wi
Hi,
I'm currently using Java Reflection to load my service locator, getting
ports and invoke operations. Everything works fine for me apart from catching
exceptions. As I'm currently aware, whatever AxisFault thrown by the web
service call is wrapped under my InvocationTargetException which
Hi, Sanka
This does not work.
My original wsdl is like this
...
...
My service.xml is like this
...
false
true
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
Hi Alex,
WOW..!!now I copied the policy.xml into axis2.xml config and the whole scenario
(JAX-WS+Rampart policy) works fine.
As you said it in your mail, since I only have one service running, engaging
rampart globally in axis2.xml and specifying the policy in there does the trick
for me.
Chee
Hi Alex,
I have pasted the policy into my wsdl for the time being
and am refering to it in my service using wsdlLocation as shown below.
The service is deployed in a jar file under WEB-INF\servicejars.
My client engages the addressing and rampart before calling the service.
If I comment out the
Hi Nandana,
As I indicated, I added the rampart jars into the axis2 lib directory and
then I have added all the jars under axis2-1.4/lib directory to the
classpath in the eclispe build path. I Copied the axis2-1.4/conf/axis2.xml
to my source directory and added the lines I have indicated.
Ok. I w
Hi Hari,
There are no compilation errors but when I run the program , I get the same
> error
> "org.apache.axis2.AxisFault: The system is attempting to engage a module
> that is not available: rampart"
>
The possible reason is Rampart might not have been deployed correctly. Did
you add all depend
Hi Nandana,
Thanks for your immediate reply. I downloaded the rampart1.4 RC1 & followed
the following steps
1. Copied the rampart jar files into my axis2-1.4/lib directory
2. Copied the .mar files to axis2-1.4/repository/modules directory
3. Added the following lines to my axis2.xml file
I am using xsd2java command for generating standard Java Bean classes from
XML Schema.
I have multiple services and schemas. Some services share common schemas
too.
I want to keep common Java Beans Classes for all in a single jar.
So I used "xsd2java.bat" for all schemas & generating classes in
Not yet - I see the rampart deployment messages in the server log, and it seem
to send the "must understand" headers, but no password is either sent or
checked.
Where did you put your policy? I've placed mine in the axis config itself.
I'll keep you (and everyone here) posted.
HTH,
Alex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
No. You can't use a services.xml with JAX-WS.
thanks,
- -- dims
Paul Fremantle wrote:
| Isn't it possible to use a services.xml together with JAX-WS - at
| least to get this working?
|
| Paul
|
| On Thu, May 8, 2008 at 2:59 PM, Nandana Mihind
Isn't it possible to use a services.xml together with JAX-WS - at
least to get this working?
Paul
On Thu, May 8, 2008 at 2:59 PM, Nandana Mihindukulasooriya
<[EMAIL PROTECTED]> wrote:
> Hi Alex,
>
>> especially that it doesn't look like anyone from Axis team has tried this
>> particular (JAX-WS +
XmlSchema libraries have changed in 1.4 release to a snapshot version.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 08 May 2008 15:08
To: axis-user@ws.apache.org
Cc: axis-user@ws.apache.org
Subject: RE: WSDL2Java in Axis1.4 code generation errors.
Ok, this for Axis 1.4 version
Ok, this for Axis 1.4 version though
Regards,
Aravind R Yarram
email: [EMAIL PROTECTED]
"Krystian Szczesny" <[EMAIL PROTECTED]>
05/08/2008 10:02 AM
Please respond to
axis-user@ws.apache.org
To
cc
Subject
RE: WSDL2Java in Axis1.4 code generation errors.
Hi guys,
Actually I think i
Hi Alex
thnx for the tip but this gives me my original exception "Must Understand check
failed for headers" found in thread [1].:-(
Does this work for you at global level?
cheers
Tezcan
[1]http://markmail.org/search/?q=list%3Aorg.apache.ws.axis-user+What+is+%22Must#query:list%3Aorg.apache.ws.ax
Hi guys,
Actually I think it's less Axis2 issue and more XmlSchema ws commons
project issue.
I have created a bug report in jira:
https://issues.apache.org/jira/browse/WSCOMMONS-342
I suggest you start debugging and see where it takes you.
Best regards,
Krystian
From: [EMAIL PROTECTE
Hi Alex,
especially that it doesn't look like anyone from Axis team has tried this
> particular (JAX-WS + Rampart) configuration just yet (I hope the JAX-WS will
> be addressed in more details in Rampart 1.4).
>
Yes, it is not in the Road map of Rampart 1.4. Anyway we think this is
something we s
Declaring the rampart in axis2.xml global config (and putting the rampart.mar
in WEB-INF/modules, of course) would engage it globally for all services. If
you only have one service running, this might be what you need. I haven't found
a way to engage a module ona per-service basis, though.
HTH,
Hi, i am also facing the same kind of issuesi havent got any help so
far!
Regards,
Aravind R Yarram
<[EMAIL PROTECTED]>
05/08/2008 05:09 AM
Please respond to
axis-user@ws.apache.org
To
cc
Subject
WSDL2Java in Axis1.4 code generation errors.
Hello all,
In the past with axis u
Tezcan,
It will be helpful if you could share the work on this subject you've done so
far. What approaches have you tried? What were the roadblocks? Meanwhile, I'm
going to continue my attempts, and will definitely share the results once there
are some :)
Thanks,
Alex
P.S. I don't think the
Hi Nandana,
Yes, I looked at this thread, and it's confusing, at best. I can deploy the
rampart module all right (one doesn't need the Lifecycle for that, just drop
rampart.mar in the WEB-INF/modules), but the problem is - it doesn't load the
policy (specified in the axis2.xml, as there's no ot
Hi Alex
since for a long time I am trying to get the rampart to engage in my jax-ws
service without any success.
I am begining to think that rampart is not so far to be used in jax-ws style
webservices.
Anyway, if you get it to work, this way or with the way that it was mentioned
to me at [1],
Hi Nandana
thanks for your quick response.
I was affraid of this answer because it is exactly where I am having
difficulties at.
My service is developed with JAX-WS style annotations.
I can engage addressing using the @Addressing tag but I fail to see how I can
engage the rampart.
Any ideas on th
Hi
thanks for your answer.
Unfortunately it does not seem to do the trick.
I am getting the following error.
[ERROR] com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 32 counts of
IllegalAnnotationExceptions
org.apache.axiom.attachments.lifecycle.LifecycleManager is an interface, and
JAXB
Hi,
Have you correctly engaged Rampart to the service ? It seems that
service receives a SOAP message with a security header and security header
is not processed. To process this header you must have Rampart module
engaged to the service.
thanks,
nandana
On Thu, May 8, 2008 at 4:53 PM, <[EMA
Hi #
my service is issuing the following error that I do not understand why.
Can someone assist me regarding why and how to resolve this please?
cheers
Tezcan
[ERROR] Must Understand check failed for headers:
{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-sece
xt-1.0.xsd}Secur
Hi Keith,
here is the wsdl created by axis:
- http://schemas.xmlsoap.org/wsdl/";
xmlns:ns4="http://bank.ws.uniserv";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:ns0="http:
Hi Hari,
> Not knowing what else needs to be done?. I tried using rampart with 1.4 It
> didn't work. Does Rampart
> supported with axis2 1.4?
>
Yes, you can download Rampart 1.4 RC2 here [1]. Configuration should be like
this.
UsernameToken Timestamp
b
Hi,
I am trying to run a Sample test to connect to one of our webservices using
axis2 1.4 version generated
client. The wbeservice requires the security headers to be sent. But
whaterver I do, I am getting the following error
org.apache.axis2.AxisFault: The system is attempting to engage a module
Hello all,
In the past with axis upto 1.2, I have used the bundled wsdl2java tool
with a lot of confidence.
Recently however, I have discovered some code generation errors when using
the tool.
For instance, a Class X was generated such that:
public class ListOfIDXRefDataTypeIdXRefAppInstance
It has been availabe since may 2 /Johan
From: Nick Alex [mailto:[EMAIL PROTECTED]
Sent: den 8 maj 2008 10:55
To: axis-user@ws.apache.org
Subject: Axis 2 1.4 Version
Can anybody tell,
when axis2 Version 1.4 will be available
--Cheers
Nick
Hi,
Anyone knows how to load axis2 sources to Eclipse properly?
I've done like it's written on the webpage - mvn eclipse:eclipse and set
classpath variable.
But when I load the projects I get lots of errors like:
Project X is missing required source folders [that's not a problem, I
can creat
Can anybody tell,
when axis2 Version 1.4 will be available
--Cheers
Nick
If you want to attach a policy to a particular binding you should do that in
the services.xml as follows.
http://schemas.xmlsoap.org/ws/2004/09/policy";>
...
HTH
Sanka
On Sun, May 4, 2008 at 2:48 PM, jason zhang <[EMAIL PROTECTED]>
wrote:
>
stub1 = new
MultiPortTypes1Stub("http://localhost:8080/axis2/services/MultiPortTypes
1");
stub1._getServiceClient().getOptions().setProperty(org.apache.axis2.tran
sport.http.HTTPConstants.REUSE_HTTP_CLIENT,new Boolean(true));
stub1._getServiceClient().getOptions().setProperty(org.apache.axis2.t
I am using the RPCServiceClient which is an implementation of axis2. Is
there any other way out where I can invoke the service independent of
axis2.
RPCServiceClient serviceClient = new RPCServiceClient();
Options options = serviceClient.getOptions();
Endpoint
If you like to try and invoke this service using JavaScript you can try out
the WSO2 Mashup Server [1] which is released under Apache License. It can
generate a JavaScript stub for you or you can invoke your service directly
using a built in JavaScript Object which is called WSRequest.
[1] http://
How is your client implemented? as I said before transport sessions uses the
HTTPSession to maintain state. So unless your client is using the same
HTTPSessions this will not work. Try invoking the two services via a
browser.
Thanks,
Keith.
On Thu, May 8, 2008 at 12:21 PM, Subhro Moitra (smoitra)
57 matches
Mail list logo