RE: [Axis2] - Problem with authentication Negotiate

2024-02-21 Thread Luis Silva
Subject: Re: [Axis2] - Problem with authentication Negotiate To further clarify, see the example using CACHED_HTTP_CLIENT below; however that example is going to change slightly soon for httpclient 5.x. https://axis.apache.org/axis2/java/core/docs/http-transport.html On Fri, Feb 16, 2024 at 2:57 PM

Re: [Axis2] - Problem with authentication Negotiate

2024-02-16 Thread robertlazarski
t;> >> >> >> Best Regard’s, >> >> Luis Silva >> >> >> >> >> >> *From:* robertlazarski >> *Sent:* Wednesday, 7 February 2024 15:29 >> *To:* java-user@axis.apache.org >> *Subject:* Re: [Axis2] - Problem with authe

Re: [Axis2] - Problem with authentication Negotiate

2024-02-16 Thread robertlazarski
*Sent:* Wednesday, 7 February 2024 15:29 > *To:* java-user@axis.apache.org > *Subject:* Re: [Axis2] - Problem with authentication Negotiate > > > > It might take me a few days to look at this but I can probably help. > > > > > > I'm about to make commits t

RE: [Axis2] - Problem with authentication Negotiate

2024-02-07 Thread Luis Silva
Hi Robert, All help is welcome. If necessary, I’m available to help with testing. Best Regard’s, Luis Silva From: robertlazarski Sent: Wednesday, 7 February 2024 15:29 To: java-user@axis.apache.org Subject: Re: [Axis2] - Problem with authentication Negotiate It might take me a few days to

Re: [Axis2] - Problem with authentication Negotiate

2024-02-07 Thread robertlazarski
It might take me a few days to look at this but I can probably help. I'm about to make commits that upgrade Axis2 from httpclient 4.x to 5.x for the next release and this feature will need to be fixed for that too. On Wed, Feb 7, 2024 at 4:32 AM Luis Silva wrote: > Hi, > > > > I’m having a prob

Re: [Axis2] - Use oauth 2.0 when making a Soap Request

2023-08-08 Thread robertlazarski
Axis 2 1.7.9 and Rampart 1.7.1 are very old and a difficult combo. Rampart is going through a very major refactoring right now, including upgrading OpenSAML and WSS4J to the latest. See RAMPART-449. See the github Rampart repo to follow along. Right now the focus is fixing the unit tests. Any typ

Re: Axis2 classes from Axis

2023-07-30 Thread robertlazarski
I'm pretty sure those classes are related to ""SOAP encoding" which axis2 doesn't support. I'm traveling now, but if you are not using SOAP encoding then there is no issue really. If you are using SOAP encoding, can you change that? On Thu, Jul 27, 2023 at 1:50 PM Marco Rossi wrote: > Good a

Re: [Axis2] Problem with list services link in het axis2 home page

2023-02-08 Thread Maarten van den Broek
Hello, I have analyzed and solved the problem. The cause was that I used a generated web.xml for webapp version 2.3 instead of the version 2.5 used by Axis2 1.8.2. Tomcat Jasper generated code for 2.3 that does not work with webapp 2.5. Adapting webapp version in the web.xml solved the probl

Re: [Axis2] Problem with list services link in het axis2 home page

2023-01-31 Thread robertlazarski
Any clue on why there is a certificate issue? Since the problem seems related to JSP and therefore you have the source as part of the war, do you think you could debug it and propose a fix? On Tue, Jan 31, 2023 at 4:47 AM Maarten van den Broek < mbr...@messagedesign.nl> wrote: > Hello, > > I am

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-11 Thread Prasanth
Eclipse doesn't download the mar file when using the maven plugin so I had manually download it and save it. It was still using 1.7.1 (while I downgraded the rampart version to 1.6.4 in the pom). After manually downloading the mar file and including it in the build path the security elements are n

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-11 Thread robertlazarski
I am working on a new Rampart release now, the goal is by the end of the year. For now, increase your rampart logging by: log4j.category.org.apache.rampart=TRACE I also suggest putting all your Axis2 logging at the TRACE level. Let us know if that clarifies the HTTP 403 error. You seem not to

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-11 Thread Prasanth
I have talked to the service provider they don't seem to have access to the actual request to tell me what is wrong. They keep telling me to make sure I have username token, nonce and time stamp in the request. Looking at the log shouldn't I see the security details in the below SOAP request? Al

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-11 Thread robertlazarski
On Mon, Oct 10, 2022 at 10:22 AM Prasanth wrote: > 2022-10-10 15:18:49,171 [main] DEBUG httpclient.wire.content - << > "403 Forbidden[\r][\n]" > > Thanks, > Prasanth > > The error "http 403" means "forbidden" and is a red flag. There is something, somewhere, that is denying access to that URL.

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-10 Thread Prasanth
I have tried to use Axis2 1.7.9 with Rampart 1.6.4 but still the same result the credentials are not present in the request. 2022-10-10 15:18:49,121 [main] DEBUG org.apache.axis2.transport.http.SOAPMessageFormatter  - end writeTo() 2022-10-10 15:18:49,121 [main] DEBUG httpclient.wire.content  -

Re: Axis2 1.8.2 with Rampart 1.7.1

2022-10-10 Thread robertlazarski
First of all, see RAMPART-449 for a discussion on the next release. To see the messages, the way I would do it is the SOAP Monitor as explained in the docs. On Thu, Oct 6, 2022 at 4:50 AM Prasanth wrote: > Hi, > > I am building a client for a web service using Axis2 1.8.1 and Rampart > 1.7.1 wi

Re: AXIS2 1.8.2 Eclipse Plugin Problem.

2022-08-29 Thread robertlazarski
This week is starting off really busy at my day job, though I expect to have some time to investigate this issue in the next day or two. Seems like we don't have any committers using these plugins, and we are all volunteers so please bear with us. Robert On Fri, Aug 26, 2022 at 12:17 PM wrote:

Re: Axis2 1.8.1 Release?

2022-05-25 Thread robertlazarski
A prerequisite for the next Axis2 release was Axiom 1.4.0 and that release was just completed today ... should hit the Maven repos later today or tomorrow. Axis2 should be following up soon - I'm guessing next week though since we are all volunteers it is hard to say with certainty. On Mon, May 2

Re: [axis2-jaxws] Errors occurred while build effective model

2022-05-01 Thread Andreas Veithen-Knowles
On Wed, Feb 2, 2022 at 3:34 PM robertlazarski wrote: > I see the problem, I just compiled the axiom from the latest in git: > > [DEBUG] org.codehaus.mojo:aspectj-maven-plugin:jar:1.14.0 > [DEBUG]org.aspectj:aspectjrt:jar:1.9.7:runtime > [DEBUG]org.aspectj:aspectjtools:jar:1.9.7:runtime >

RE: [Axis2] 1.8.0 not encoding CDATA xml string inputs

2022-04-25 Thread Fedor, Joey
@f8eb657 · GitHub<https://github.com/apache/ws-axiom/commit/f8eb657ee0c9ee0fd4754ccdc6c96da20dc6de4d> Hope this was helpful in solving your issue, Joey From: Tom B. Lake [42-Q] Sent: Sunday, April 24, 2022 9:23 PM To: java-user@axis.apache.org Subject: Re: [Axis2] 1.8.0 not encoding CDA

Re: [Axis2] 1.8.0 not encoding CDATA xml string inputs

2022-04-24 Thread Tom B. Lake [42-Q]
The web service code is from wsdl2java and has a skeleton, a MessageReceiverInOut and type classes. The aar is maven generated. In 1.6.2 the xml encoding happens before MessageReceiverInOut gets the soap message. On Sat, Apr 23, 2022 at 7:00 AM Andreas Veithen-Knowles < andreas.veit...@gmail.com>

Re: [Axis2] 1.8.0 not encoding CDATA xml string inputs

2022-04-23 Thread Andreas Veithen-Knowles
On Wed, Apr 20, 2022 at 3:58 PM Tom B. Lake [42-Q] wrote: > Hi Axis2 team, > > We are upgrading from Axis2 1.6.2 to 1.8.0 war. In 1.8.0 testing, if a web > service operation has a string input wrapped in a CDATA tag (because its > xml), the string isn't being xml encoded for < and > characters. W

Re: [Axis2] 1.8.0 not encoding CDATA xml string inputs

2022-04-22 Thread robertlazarski
Axis2 1.6.2 is from ten years ago. I took a look in the git commit messages and a few classes, and couldn't find an obvious reason for the change. It's possible this change was deliberate to fix something in relation to xml-c14n - just a guess. If you could help me pin down what class in the code

Re: [Axis2] support for jakarta.servlet

2022-02-04 Thread robertlazarski
We are all volunteers so it'd require community support to push it forward. It'd break Tomcat 8 and 9 support - is that really true? I am Wildfly user so I am not 100% sure. So little runs on Tomcat 10 right now so it's hard to say. For example, widely used projects like Jenkins won't run on Tomc

Re: [axis2-jaxws] Errors occurred while build effective model

2022-02-02 Thread robertlazarski
I see the problem, I just compiled the axiom from the latest in git: [DEBUG] org.codehaus.mojo:aspectj-maven-plugin:jar:1.14.0 [DEBUG]org.aspectj:aspectjrt:jar:1.9.7:runtime [DEBUG]org.aspectj:aspectjtools:jar:1.9.7:runtime [DEBUG]com.sun:tools:jar:11.0.2:system Yet it seems part of t

Re: Re: [Axis2] log4j inquiry

2022-01-26 Thread robertlazarski
; > *From: *robertlazarski > *Reply-To: *"java-user@axis.apache.org" > *Date: *Wednesday, January 26, 2022 at 4:12 PM > *To: *"java-user@axis.apache.org" > *Subject: *{EXTERNAL} Re: [Axis2] log4j inquiry > > > > *CAUTION**:* The message originated from

Re: Re: [Axis2] log4j inquiry

2022-01-26 Thread Malaluan, Jay Joel
: "java-user@axis.apache.org" Date: Wednesday, January 26, 2022 at 4:12 PM To: "java-user@axis.apache.org" Subject: {EXTERNAL} Re: [Axis2] log4j inquiry CAUTION: The message originated from an EXTERNAL SOURCE. Please use caution when opening attachments, clicking links or resp

Re: [Axis2] log4j inquiry

2022-01-26 Thread robertlazarski
The latest log4j2 is 2.17.1. That's the version used in our pom.xml in git. 1.6.x actually ships with log4j 1.x. The Axis2 release of 1.8.0 shipped log4j2 jars, which unfortunately needs to be patched manually via the latest jars. We'll be releasing 1.8.1 soon that will fix that. On Wed, Jan 26

Re: Axis2 How to use my own HttpClient with SSL cert

2021-11-04 Thread robertlazarski
I don't see where the cert is loaded in your code. BTW, the latest httpclient version is 4.5.13. Anyways, if unsure you can find the cert of the target server via: openssl s_client -connect myserver.com:443 -showcerts Then you can set up httpclient like so ... tested with

Re: [Axis2] Issue with wsdl2java

2021-10-21 Thread robertlazarski
I took a look at the source, the best I can tell is that your policy is not in the couple default policies supported - but it is close. http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization http://schemas.xmlsoap.org/ws/2004/09/policy/encoding This is a case where you need to lo

RE: [Axis2] Migration Issues

2021-10-01 Thread Chea Sovanreach (NCS)
Hi Robert, Please ignore the previous email. I have managed to successfully build the jar files using Maven. Have a good weekend. Cheers, Kind Regards, Reach From: Chea Sovanreach (NCS) Sent: Friday, 1 October 2021 2:06 pm To: java-user@axis.apache.org Subject: RE: [Axis2] Migration Issues

RE: [Axis2] Migration Issues

2021-09-30 Thread Chea Sovanreach (NCS)
lease help to advise on how we can build the jar file from the source code. Much thanks, Kind Regards, Reach From: robertlazarski Sent: Thursday, 30 September 2021 8:18 pm To: java-user@axis.apache.org Subject: Re: [Axis2] Migration Issues [External email] Please be cautious when clicking on

Re: [Axis2] Migration Issues

2021-09-30 Thread robertlazarski
ds, > > *Reach* > > > > > > > > *From:* robertlazarski > *Sent:* Wednesday, 29 September 2021 6:00 pm > *To:* java-user@axis.apache.org > *Subject:* Re: [Axis2] Migration Issues > > > > [External email] Please be cautious when clicking on any lin

RE: [Axis2] Migration Issues

2021-09-29 Thread Chea Sovanreach (NCS)
. Kind Regards, Reach From: robertlazarski Sent: Wednesday, 29 September 2021 6:00 pm To: java-user@axis.apache.org Subject: Re: [Axis2] Migration Issues [External email] Please be cautious when clicking on any links or attachments. Concerning help for a migration

Re: [Axis2] Migration Issues

2021-09-29 Thread robertlazarski
Concerning help for a migration to Axis2, I don't have much to add unfortunately. I myself wrote part of the migration guide 15 years ago and without being a recent user I would have to dive deep into the source code of both projects - something you and your team would be better suited for. There

Re: [Axis2] Migration Issues

2021-09-29 Thread robertlazarski
While there has not been an official axis 1 release since 1.4 in 2006, there has been hundreds of commits to the project in git since then. https://github.com/apache/axis-axis1-java The Apache security team requires all active repos to have vulnerabilities fixed. There are no open CVE's in the pr

RE: Axis2 1.8.0 Release timelines

2021-04-19 Thread Holechi, Vijeta
Great !! Thanks for the info Robert From: robertlazarski Sent: Monday, April 19, 2021 6:47 PM To: java-user@axis.apache.org Subject: Re: Axis2 1.8.0 Release timelines Thanks for mentioning CVE-2020-0822. We discussed this problem last month on the axis2 dev list. The clustering component

Re: Axis2 1.8.0 Release timelines

2021-04-19 Thread robertlazarski
mentioned i.e., > AXIS2-5959. > And also facing issue with one of the security vulnerability in Axis2 > 1.7.9 : * CVE-2020-0822.* > > > > > > *From:* robertlazarski > *Sent:* Monday, April 19, 2021 6:08 PM > *To:* java-user@axis.apache.org > *Subject:* Re: Axis2 1.

RE: Axis2 1.8.0 Release timelines

2021-04-19 Thread Holechi, Vijeta
Subject: Re: Axis2 1.8.0 Release timelines We are wrapping up the release now. We are volunteers so it's hard to say exactly when the release will be. The largest hurdle has been AXIS2-5959 regarding the complete removal of commons httpclient 3.x. I did a lot of coding in the last week on

Re: Axis2 1.8.0 Release timelines

2021-04-19 Thread robertlazarski
We are wrapping up the release now. We are volunteers so it's hard to say exactly when the release will be. The largest hurdle has been AXIS2-5959 regarding the complete removal of commons httpclient 3.x. I did a lot of coding in the last week on this. All that is remaining is some doc updates an

Re: [Axis2] Possible flaw in wsdl2java documentation? (jaxbri supported or not)

2021-01-31 Thread robertlazarski
I started to look into this. Jaxbri support was added after these docs were initially written, and they never got updated. Just wanted to reply to say I expect to have some upcoming commits here. I'll reply here when I know more ... It's fairly quick work but I haven't got to it yet. On Wed, Ja

RE: [Axis2] Migrating from Apache Axis 1.x to Axis2

2021-01-11 Thread nguys2056
Hi Axis team, Following up on the below inquiry, kindly request your comments. Thank you. Sent from Mail for Windows 10 From: nguys2056Sent: Tuesday, December 29, 2020 11:31 AMTo: java-user@axis.apache.orgSubject: [Axis2] Migrating from Apache Axis 1.x to Axis2 Hi Axis team, I have a question regar

Re: Axis2 not working with TLS V1.2

2020-11-05 Thread robertlazarski
I run all of my axis2 projects over TLS v1.2 without any problems. What error are you getting, exactly? Can you post a stack trace? On Thu, Nov 5, 2020 at 8:38 AM Fernando Cesar da Silva < fsi...@synchro.com.br> wrote: > Hi all... > > We are consuming a SOAP WS that changed the security protocol

Re: [Axis2] Dont get example POJOGUIDESPRING to run

2020-10-28 Thread robertlazarski
Also, check the logs in Tomcat as there could be an obvious problem there. If so, please post the entire stack trace. On Wed, Oct 28, 2020 at 9:03 AM robertlazarski wrote: > > Hello, > > This link should show the correct url of your service, if it is installed > correctly. > > http://localhost:8

Re: [Axis2] Dont get example POJOGUIDESPRING to run

2020-10-28 Thread robertlazarski
Hello, This link should show the correct url of your service, if it is installed correctly. http://localhost:8080/axis2/services/listServices This url will show the state of axis2, and will identify problems. http://localhost:8080/axis2/axis2-web/HappyAxis.jsp BTW, I don't think it's related t

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread robertlazarski
You didn't mention which Websphere version you are using for your Axis2 client and I am not a user, though anyways your version may have its own commons-logging.properties so I suggest looking to see if you have one already . The issue could be, commons-logging on Websphere is set to Jdk14Logger.

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread Murali Challa
I have added the appenders as mentioned above but still no error logs are displayed. On Thu, 10 Sep 2020, 9:12 am robertlazarski, wrote: > Axis2 internally uses Apache commons-logging, which describes itself as > "an ultra-thin bridge between different logging implementations" . > > So adding an

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread robertlazarski
Axis2 internally uses Apache commons-logging, which describes itself as "an ultra-thin bridge between different logging implementations" . So adding an axis2 based appender in either a log4j or log4j2 logging implementation will work fine. On Wed, Sep 9, 2020 at 4:57 PM Murali Challa wrote: > S

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread Murali Challa
So I can remove the log4j jar that came with axis2 and can just add the below lines you shared? I believe Log4j and Log4j2 jars have different implementation right? In that case if I remove log4j jar, it will cause issues right? On Thu, 10 Sep 2020, 8:22 am robertlazarski, wrote: > log4j2 is fi

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread robertlazarski
log4j2 is fine, that's what I use in my own projects. For debugging, I suggest something like this in your log4j2.xml: Robert On Wed, Sep 9, 2020 at 4:41 PM Murali Challa wrote: > We already using log4j2 in our application for logs. > > Do we need have specific l

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread Murali Challa
We already using log4j2 in our application for logs. Do we need have specific log4j configuration as well to monitor Axis2 logs? On Thu, 10 Sep 2020, 6:42 am robertlazarski, wrote: > We are going to need some logging in order to help. If you put the > log4j.properties file distributed by Axis2

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread robertlazarski
We are going to need some logging in order to help. If you put the log4j.properties file distributed by Axis2 into your client classes dir, i.e. classes/log4j.properties , there should be some errors in the logs or console. Robert On Wed, Sep 9, 2020 at 12:42 PM Murali Challa wrote: > Hi Rober

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-09 Thread Murali Challa
Hi Robert, I created the client with Axis2 using the wsdl but it is falling while executing the line *factory.createElement**(adbsource). * My bad is that I'm not getting any errors to debug the issue. It is just stoping the execution there. I tried adding the most of required jars but still no

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-08 Thread robertlazarski
Yep, if you are just using Axis2 as the client then no need for an aar, use a webapp or any of that. Here's some docs for using a client stub: https://axis.apache.org/axis2/java/core/docs/userguide-creatingclients-xmlbeans.html Robert On Tue, Sep 8, 2020 at 5:27 AM Murali Challa wrote: > *You

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-08 Thread Murali Challa
*You need to create an aar file for your own services -* does it mean that I don't need to create aar since I'm creating client using wsdl of some other service and not creating my own web services? My requirement is just to create stubs using axis2 with existing wsdl and use the stubs to call th

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-08 Thread robertlazarski
You need to create an aar file for your own services. Web services clients and servers can use different implementations, both sides do not need to be Axis2 though you do need to be careful about the specifications both sides support. Robert On Tue, Sep 8, 2020 at 4:28 AM Murali Challa wrote:

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-08 Thread Murali Challa
Thanks Robert for sharing the arr structure. The .arr that you shared is created to consume some sample service right ? Or the arr is created by using the actual webservice source? Also can you please confirm if both the client and actual service need be created by using Axis2? In my case, we ar

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-07 Thread robertlazarski
The aar files I create for my own projects, just contains the services.xml. See below for an example: ./myaar.aar ./META-INF ./META-INF/MANIFEST.MF ./META-INF/services.xml If your web services were created via codegen like adb, the stub files are the client, the skeleton is the service on the ser

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-07 Thread Murali Challa
Yes Robert .. I'm going through the Axis2 docs and some videos to understand the implementation of Axis2 . As per my understanding, we need to create the .aar file and services.xml. Please confirm if my understanding is correct? .aar file need to be created for my Stub file or I need to include

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-07 Thread robertlazarski
version-1.7.9.aar is distributed by Axis2 and is optional. We have a lot of docs, see here for how to configure the services.xml. There is a learning curve that requires some time so I suggest going through the docs before getting started. http://axis.apache.org/axis2/java/core/docs/axis2config.h

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
Hi Robert, Sorry to bother you again.. I could see the aar file with name generated as version-1.7.9.aar. is this the one your mentioning about? And I don't see any services.xml created in my workspace. Can you please confirm if we need to create it manually ? and what all the details to be ment

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
Ok..thank you Robert .. Will try the above instructions and update you. Once again thanks for your kind support. On Mon, 7 Sep 2020, 1:29 am robertlazarski, wrote: > Yes, and also WEB-INF/conf/axis2.xml. > > On Sun, Sep 6, 2020 at 9:44 AM Murali Challa > wrote: > >> So in this case adding aa

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread robertlazarski
Yes, and also WEB-INF/conf/axis2.xml. On Sun, Sep 6, 2020 at 9:44 AM Murali Challa wrote: > So in this case adding aar file in my webinf is enough and no need to add > axis2 war file in websphere, is it? > > On Mon, 7 Sep 2020, 1:04 am robertlazarski, > wrote: > >> You can put the aar file of

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
So in this case adding aar file in my webinf is enough and no need to add axis2 war file in websphere, is it? On Mon, 7 Sep 2020, 1:04 am robertlazarski, wrote: > You can put the aar file of your axis2 code in your existing application, > by creating a WEB-INF/services directory that includes y

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread robertlazarski
You also need WEB-INF/conf/axis2.xml . The docs explain all this ... I am going by memory. Robert On Sun, Sep 6, 2020 at 9:34 AM robertlazarski wrote: > You can put the aar file of your axis2 code in your existing application, > by creating a WEB-INF/services directory that includes your aar.

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread robertlazarski
You can put the aar file of your axis2 code in your existing application, by creating a WEB-INF/services directory that includes your aar. Your aar file can include your axis2 code though that could alternatively go into WEB-INF/classes as normal. The aar file needs at least your services.xml. Th

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
So if I keep the Axis2 war file in my websphere, there is no need to keep Axis2 jar in lib folder of actual application? And in which location of websphere I need to keep this Axis2 war and how my app is going to refer to that war to run the webseries of my application? Might be asking more quest

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread robertlazarski
Please see my comments inline: On Sun, Sep 6, 2020 at 7:54 AM Murali Challa wrote: > Hi Robert , > > Do we need have the Axis2 war file in websphere to use Axis2 jar file in > our application? > Yes, axis2 as a web services server typically runs as a standard webapp ... at least if your intenti

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
Hi Robert , Do we need have the Axis2 war file in websphere to use Axis2 jar file in our application? And also I could see something called .aar , .mar files . These files also need to be added in websphere? Please suggest.. On Sun, 6 Sep 2020, 11:07 pm robertlazarski, wrote: > We have some W

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread robertlazarski
We have some Websphere specific instructions here. I am not a recent Websphere user myself. https://axis.apache.org/axis2/java/core/docs/app_server.html I suggest trying the "Happy Axis" page, something like: http://localhost:8080/axis2/axis2-web/HappyAxis.jsp Axis2 uses commons-logging interna

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
Can anyone from this group help me out please.. I'm debugging it from last 1 week but not getting any clue to resolve it. Thanks & Regards, Murali On Sun, 6 Sep 2020, 10:38 pm Alexey Borschenko, wrote: > No idea how it works under WebSphere. Sorry. > > On 6 Sep 2020, at 20:04, Murali Challa w

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Alexey Borschenko
No idea how it works under WebSphere. Sorry. > On 6 Sep 2020, at 20:04, Murali Challa wrote: > > Thank you for your response Alexey.. > > Yes.. I created the stubs with Axis2 and added required jars. > > But my doubt is that , any configurations we need to do in websphere to make > my stub wo

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Murali Challa
Thank you for your response Alexey.. Yes.. I created the stubs with Axis2 and added required jars. But my doubt is that , any configurations we need to do in websphere to make my stub work? Or any where any to declare the stub files ? When I ran the stub with a Java standalone program, service c

Re: [Axis2] - Need Help in Migrating from Axis1 to Axis2

2020-09-06 Thread Alexey Borschenko
You have to check migration documents. There are lot of changes from v1 to v2. It’s not just about placing v2 JARs into application. You will have to rework it a bit. > On 6 Sep 2020, at 11:16, Murali Challa wrote: > > Hi Team, > > Earlier we are using axis1 jar to consume the services from

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-30 Thread viji
Hello Robertlazarski, Thank you very much for your support. It works with a file path on the local file system. Can any Rampart expert user help me regarding my question, that can we give merlin certificate file as a stream instead of certificate file path as string? -- Sent from: http://axi

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-06 Thread robertlazarski .
I am not a rampart user though the examples I see in the docs use a file path on the local file system. So I would deploy it under WEB-INF/classes and pass a relative path to it. On Fri, Dec 6, 2019 at 12:10 AM viji wrote: > > the rampart configuration is done like following > > rampartConfig(S

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-06 Thread viji
the rampart configuration is done like following rampartConfig(String signatureCertFilePath, String certPassword) { Properties merlinProperties = new Properties(); merlinProperties.put("org.apache.ws.security.crypto.merlin.keystore.type", "JKS");

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-05 Thread robertlazarski .
You need an input stream of some sort, the three choices I would apply would be to store the cert in a DB in PEM format, in the WEB-INF/classes dir and use getResourceAsStream(), or figure out how to use the smb protocol from Java - in that order. On Wed, Dec 4, 2019 at 11:01 PM viji wrote: > He

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-05 Thread viji
Thank you so much for your reply. Yes , you are right.The application server is running in linux and certificate file is located in another windows system shared location. So can't we put the certificates in another server which is of different platform? -- Sent from: http://axis.8716.n7.nabb

Re: Axis2 WS Security- Issue in loading merlin file path

2019-12-05 Thread robertlazarski .
I don't know much about rampart, though this seems to be your problem? Caused by: org.apache.ws.security.components.crypto.CredentialException: Proxy file (smb://fileserver/cert/cert.jks) not found. On Wed, Dec 4, 2019, 23:01 viji wrote: > Hello, > > i am working on a web application and one of

[Solved] Re: Axis2 receiving and sending in one Method fails

2019-10-14 Thread camikusch
Am Tue, 8 Oct 2019 08:34:23 -1000 schrieb "robertlazarski ." : > Please see my comments inline. > > On Tue, Oct 1, 2019 at 11:51 PM camikusch wrote: > > > Hi, > > > > I'm trying to implement something like a SOAP Proxy. > > Database sends SOAP request to my Tomcat Server, Tomcat Server > > sends

Re: Axis2 receiving and sending in one Method fails

2019-10-08 Thread robertlazarski .
Please see my comments inline. On Tue, Oct 1, 2019 at 11:51 PM camikusch wrote: > Hi, > > I'm trying to implement something like a SOAP Proxy. > Database sends SOAP request to my Tomcat Server, Tomcat Server sends a > Request to > a Remote Server. The Answer from the Remote Server gets back to T

Re: Axis2: Security Bug Severity 1

2019-06-21 Thread robertlazarski .
What you describe is going a bit in opposite directions, enable trace logging to show everything and then have a policy to not show it. If that situation is unavoidable somehow, I would do it right the first time and encrypt the soap body. My next choice would be to solve this at the logging leve

Re: Axis2: Security Bug Severity 1

2019-06-21 Thread pavan landge
Hi Robert, But the question is, suppose some one did the log chaking with trace/debug level intentionally.then do we have any preventive measure to avoid it? Or it is the issue with Third party Axis2 jar which is displaying the password ? Best regards, Pavan landge On Wed 19 Jun, 2019, 8:49 PM

Re: Axis2: Security Bug Severity 1

2019-06-19 Thread robertlazarski .
On Tue, Jun 18, 2019 at 9:28 PM pavan landge wrote: > > > -- Forwarded message - > From: pavan landge > Date: Thu 13 Jun, 2019, 3:30 PM > Subject: Axis2: Security Bug Severity 1 > To: > Cc: pavan landge > > > Hi Team, > > I am using Axis2 jar for SAOP (Request/Response). In log

Re: Axis2 with HttpAsyncClients

2018-11-16 Thread Bhuvan Gupta
Thanks.. will check it out On Tue, Nov 13, 2018 at 9:42 PM robertlazarski wrote: > > > On Sat, Nov 10, 2018 at 12:36 PM Bhuvan Gupta wrote: > >> Hello All, >> >> Can Axis2 be used with HttpAsyncClient? >> If yes which version and are there any samples. >> >> >> >> >> > Axis2 absolutely supports

Re: Axis2 with HttpAsyncClients

2018-11-13 Thread robertlazarski
On Sat, Nov 10, 2018 at 12:36 PM Bhuvan Gupta wrote: > Hello All, > > Can Axis2 be used with HttpAsyncClient? > If yes which version and are there any samples. > > > > > Axis2 absolutely supports async connections over HTTP, check out the test package org.apache.axis2.transport.testkit.tests.asyn

Re: Axis2 / Java: java.lang.NullPointerException at org.apache.axis2.context.MessageContext.isFault(MessageContext.java:4304)

2018-08-30 Thread Alex Borschenko
On 8/31/2018 12:04 AM, robertlazarski wrote: On Thu, Aug 30, 2018 at 2:46 PM Alex Borschenko mailto:aaborsche...@gmail.com>> wrote: Hi All! I have deployed archive of services which consume/produce XMLs and now I'm trying to add one more service who will consume/produce JSON.

Re: Axis2 / Java: java.lang.NullPointerException at org.apache.axis2.context.MessageContext.isFault(MessageContext.java:4304)

2018-08-30 Thread robertlazarski
On Thu, Aug 30, 2018 at 2:46 PM Alex Borschenko wrote: > Hi All! > I have deployed archive of services which consume/produce XMLs and now I'm > trying to add one more service who will consume/produce JSON. > It is simple service which operates with POJOs. > > To enable JSON operations I added to

Re: [AXIS2]

2018-08-14 Thread robertlazarski
On Mon, Aug 13, 2018 at 11:07 PM Viji wrote: > hello , > > i've tried > options.setProperty(Constants.Configuration.CONTENT_TYPE, > Constants.MIME_CT_TEXT_XML); > > Which is: > > public static final String MIME_CT_TEXT_XML = "text/xml"; > > > but no change, same error getting . > > Your payl

Re: [AXIS2]

2018-08-13 Thread Viji
hello , i've tried options.setProperty(Constants.Configuration.CONTENT_TYPE, Constants.MIME_CT_TEXT_XML); Which is: public static final String MIME_CT_TEXT_XML = "text/xml"; but no change, same error getting . On Fri, Aug 10, 2018 at 7:24 PM, robertlazarski wrote: > > > On Fri, Aug 1

Re: [AXIS2]

2018-08-10 Thread robertlazarski
On Fri, Aug 10, 2018 at 7:48 AM Viji wrote: > yes you are right, same issue i had reported in developer mail list. I got > subscribed to developer mail list by mistake. so I've unsubscribed and > added account in user list . > > Regarding the issue , > > In mimebuilder > String type = ct.getPara

Re: [AXIS2]

2018-08-10 Thread Viji
yes you are right, same issue i had reported in developer mail list. I got subscribed to developer mail list by mistake. so I've unsubscribed and added account in user list . Regarding the issue , In mimebuilder String type = ct.getParameter("type"); Builder builder = MessageProcessorSelector.g

Re: [AXIS2]

2018-08-10 Thread robertlazarski
On Fri, Aug 10, 2018 at 7:17 AM Viji wrote: > > Hi, > > I have an error when running axis2 client with stub generated using Java 1.8 > and Axis2 1.7.8 > > org.apache.axis2.AxisFault > > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at > org.apache.axis2.transport.Tra

Re: Axis2: Exceptions getting throw with soapenv:Receiver instead of soapenv:Sender

2018-05-14 Thread robertlazarski
On Fri, May 11, 2018 at 11:28 AM, Kristina T. wrote: > I’m working on a project where we’ve we are programming against an API > defined via a VMware wsdl file. When we encountered an error conditions > we throw exceptions using classes defined from the axis2 WSDL code > generation process. > >

Re: Axis2 : Problem

2018-03-06 Thread robertlazarski .
On Tue, Mar 6, 2018 at 12:32 PM, Victor Moran wrote: > Hello, > > I have to get axis2 (version 1.7.7, or any version) working in Geronimo > 3.0.1 with embedded Tomcat 7.0.39.1 on Windows 10, but I encountered a > problem. > I have followed the steps in the tutorial (from the axis.apache website)

Re: Axis2 Upgrade to latest version

2017-12-11 Thread Andreas Veithen
On Fri, Dec 8, 2017 at 6:32 AM, akash prasad wrote: > Hi, > > By debugging i figured out the problem as in latest version there has been > some new configuration added and those was missing in my component. After > doing that i am getting the below exception > > Caused by: java.lang.ClassCastExcep

Re: Axis2 Upgrade to latest version

2017-12-07 Thread akash prasad
Hi, By debugging i figured out the problem as in latest version there has been some new configuration added and those was missing in my component. After doing that i am getting the below exception Caused by: java.lang.ClassCastException: org.apache.axis2.saaj.SOAPElementImpl cannot be cast to org

Re: Axis2 Upgrade to latest version

2017-12-06 Thread robertlazarski .
On Wed, Dec 6, 2017 at 11:14 AM, robertlazarski . wrote: > > > On Wed, Dec 6, 2017 at 10:35 AM, robertlazarski . < > robertlazar...@gmail.com> wrote: > >> >> >> On Wed, Dec 6, 2017 at 9:00 AM, akash prasad wrote: >> >>> Yes one of the jsp file have not updated. But still i am not able to see >>>

Re: Axis2 Upgrade to latest version

2017-12-06 Thread robertlazarski .
On Wed, Dec 6, 2017 at 10:35 AM, robertlazarski . wrote: > > > On Wed, Dec 6, 2017 at 9:00 AM, akash prasad wrote: > >> Yes one of the jsp file have not updated. But still i am not able to see >> my services. Is there any configuration changes or need to add any other >> node or so in services.x

Re: Axis2 Upgrade to latest version

2017-12-06 Thread robertlazarski .
On Wed, Dec 6, 2017 at 9:00 AM, akash prasad wrote: > Yes one of the jsp file have not updated. But still i am not able to see > my services. Is there any configuration changes or need to add any other > node or so in services.xml file. > I have compared with the samples as well. I couldn't find

  1   2   3   4   5   6   7   8   9   >