Re: [Axis2]increasing the wait time for client waiting for responses

2006-07-19 Thread Samisa Abeysinghe
Assuming this is an Axis2 question, have we moved timeout setting to conf file? Samisa... Irfan Habib wrote: Hi, I noticed that sometimes the clients show the message [servicename] failed to create stub etc.. When the servers take too long to execute the request, how do I set [increase or

Re: [Axis2]increasing the wait time for client waiting for responses

2006-07-19 Thread Samisa Abeysinghe
Ok I found the solution for cliet side. Set the timeout on options using: AXIS2_OPTIONS_SET_TIMEOUT_IN_MILLI_SECONDS Samisa... Samisa Abeysinghe wrote: Assuming this is an Axis2 question, have we moved timeout setting to conf file? Samisa... Irfan Habib wrote: Hi, I noticed that

Can't generate java classes from this WSDL file.

2006-07-19 Thread xu cai
Hi Axis-users. I think a Request.java class should be generated from following wsdl file. The Request.javashould beone of the input parameter to the web service port. but no Request.java is not generated. I run the wsdl2java and the interface looks like: public com.jab.soap.intf.Reply

Re: [Axis2] Hibernate with axis2

2006-07-19 Thread Afkham Azeez
Here are possbile reasons: 1. On jboss-4.0.0 and possibly some other versions, the hibernate2.jar and cglib-full-2.0.1.jar should be removed from the lib directories since you may have used the latest hibernate version in Axis2, which conflicts with the older version used by jboss.

THe Axis upgrade - problem with log4j

2006-07-19 Thread Bharadwaj, Nandita \(GE Healthcare\)
I upgraded from Axis Beta 2 to Axis 1.4. The difference in the jars are... Axis Beta 2 Axis 1.4 axis.jar axis.jar commons-logging.jar commons-logging-1.0.4.jar jaxrpc.jar jaxrpc.jar log4j-core.jar log4j-1.2.8.jar

[Axis2] unable to run security sample.

2006-07-19 Thread Jan Bauer Nielsen
Hi. Using the latest nightly builds and following the steps in the README file I get the following error from the server. Can anyone please explain why this is so? $ ant securitySample Buildfile: build.xml securitySample: [java] Jul 19, 2006 9:34:44 AM

Re: [Axis2 v1.0] security sample problem

2006-07-19 Thread Wan Kaveevivitchai
Ruchith, now my result from eclipse is equivalent to the one run by ant. However, it looks like this Buildfile: build.xml securitySample: [java] 19.07.2006 09:08:39 org.apache.axis2.deployment.DeploymentEngine prepareRepository [java] INFO: no services directory found , new one

Re: Where to put Amazon Stub classes

2006-07-19 Thread Roberto Belardo
How do you find that the problem is that? I really don't know how to advance from this InvocationTargetException... Luis Rivera ha scritto: Roberto, I found my problem. It turned out not to be a Classloader problem, but a NullPointer problem in the server, which I had not found because I

Re: [MTOM/XOP+WSRM] servlet error

2006-07-19 Thread Chamikara Jayalath
Hi Elodie, I just fixed a bug in Sandesha2 not-in-order case is working properly now. Currently MTOM+RM will not work when InOrderInvocation property is set to true. This is due to a bug in OM ( https://issues.apache.org/jira/browse/WSCOMMONS-52 ). But it perfectly works when InOrderInvocation

Re: Where to put Amazon Stub classes

2006-07-19 Thread Roberto Belardo
Hi Luis, this is a beautiful morning. I don't know how but i solve everything. This morning the first thing i did was another experiment to better understand what was happening. So i rebuild Amazon stub classes with the axis tool: java org.apache.axis.wsdl.WSDL2Java -v -W -p myamazonservice

Re: [Axis2 v1.0] security sample problem

2006-07-19 Thread Ali Sadik Kumlali
Hi Wan,Since your message doesn't have security headers, your client application seems to load wrong axis2.xml which isn't configured for secure communication. Have you added following VM arguments before running your client application from Eclipse?-Daxis2.repo=client_repo

Re: [Axis2 v1.0] security sample problem

2006-07-19 Thread Wan Kaveevivitchai
hi, i did add the VM argument in eclipse as follow -Daxis2.xml=/users/alice3/axis2-std-SNAPSHOT-bin/samples/security/client_repo/conf/axis2.xml and the problem occur both running by ant and run by eclipse ??? Wan From: Ali Sadik Kumlali [EMAIL PROTECTED] Reply-To: Ali

Re: AW: How to access the SOAPHeader

2006-07-19 Thread Michele Mazzucco
Eran, maybe I'm wrong, but I think there's a small problem with the Service interface. The method defined there does not throw any Exception, while the common implementation (this.inMsgCtx = opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE)) does (of course you can add a try-catch

Problems with WSDL2Java

2006-07-19 Thread Christian Pöcher
Hi there, since I am still very fresh to the area of webservices, I'm not sure, if my problem is related to a bug in the code gerneration of Axis2 or if I made an error. I try to write a simple webservie that adds two integers and gives back the sum. After writing the WSDL file and and

[axis 2] WSDLToJava

2006-07-19 Thread Brian Dillon (ext. 944)
Hi, Just a couple of very quick questions. Firstly is there a way of getting the WSDL2Java to overwrite existing generated classes. I have found that I need to delete my stubs and skeletons before calling generate if I want to change anything. Following on from this is my second question. If it

Re: THe Axis upgrade - problem with log4j

2006-07-19 Thread Nilesh Ghorpade
Hi Nandita,You can access the Log4J API's at "http://logging.apache.org/log4j/docs/api/index.html".Secondly "Priority" is a class which is present in Log4J "org.apache.log4j.Priority". Also as per my knowledge you should not be using Priority in your implementation classes. Priority

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Ali Sadik Kumlali
Hi Jan,Both secUtil.jar and SecureService.aar include PWCallback class. secUtil.jar is used by client and -normally- you shouldn't need it at server side. If you put SecureService.aar into axis2/WEB-INF/services/ directory, you should be able to call PWCallback under SecureService.aar.By any

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Ruchith Fernando
Hi, since you are using the latest nightly you have to use rampart-SNAPSHOT.mar [1] and addressing-SNAPSHOT.mar [2] not the 1.0 release. Also please use wss4j-SNAPSHOT.jar [3]. I will update the README.txt. Thanks, Ruchith [1]

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Ruchith Fernando
Jan, Ali, The reason for this to fail without the secUtil.jar in WEB-INF/lib is that rampart/wss4j doesn't seem to have access to the service class loader, from which the handler _should_ pickup the callback handler class. I have made some changes in the latest rampart handlers with respect to

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Wan Kaveevivitchai
Dear Ruchith, i had changed now the modules in my client_repo/modules from addressing-1.0.mar and rampart-1.0.mar to addressing-SNAPSHOT.mar and rampart-SNAPSHOT.mar. then i ran ant, and i got the following result Buildfile: build.xml securitySample: [java] 19.07.2006

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Wan Kaveevivitchai
Dear Ruchith, Thank you, it seems to be that the client now found that library... after i run i got Buildfile: build.xml securitySample: [java] 19.07.2006 13:04:03 org.apache.axis2.deployment.DeploymentEngine prepareRepository [java] INFO: no services directory found , new one

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Jan Bauer Nielsen
Thanks a lot Ruchith. Now everything seems to work as expected. :-) Jan Ruchith Fernando wrote: Hi Wan, My bad... I forgot to mention one more jar !! Please add this [1] in to both service and client classpath. Thanks, Ruchith [1]

[Axis2] Hot deployment problem

2006-07-19 Thread Michele Mazzucco
Hi all, I'm 'hot-deploying' new web services from a handler running as first in the Axis2 chain (before the transport phase). I detect the target service is not available by checking the axis configuration obtained this way: registry =

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Deepal Jayasinghe
It will at least take 10 s to update the axisConfguration after you deploying the service . Michele Mazzucco wrote: Hi all, I'm 'hot-deploying' new web services from a handler running as first in the Axis2 chain (before the transport phase). I detect the target service is not available by

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Michele Mazzucco
Hi all, the solution seems to be wait for a few seconds + instantiate a new AxisConfiguration object. Any comment/suggest would be appreciated, Michele Michele Mazzucco wrote: Hi all, I'm 'hot-deploying' new web services from a handler running as first in the Axis2 chain (before the

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Ruchith Fernando
Hi Wan, If the message from the client is secured then probably you are missing the module ref=rampart/ from the server side axis2.xml Thanks, Ruchith On 7/19/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote: Dear Ruchith, Thank you, it seems to be that the client now found that library...

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Michele Mazzucco
Thanks Deepal. Actually I'm trying with Thread.sleep(5000L) and it seems to work. Do you think is better to wait 10 seconds? Michele Deepal Jayasinghe wrote: It will at least take 10 s to update the axisConfguration after you deploying the service . Michele Mazzucco wrote: Hi all, I'm

Re: [Axis2] unable to run security sample.

2006-07-19 Thread Wan Kaveevivitchai
Dear Ruchith, i had module ref=rampart/ from the server side axis2.xml. is there any other possibility that can cause the error? as i have wrote earlier...the same build was successfully run with the older version of axis2 at the server side (nightly build 6 Jun

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Michele Mazzucco
Deepal, is there any way to add a listener so when the configuration is updated my stuff will automatically receive the news? Thanks, Michele Deepal Jayasinghe wrote: It will at least take 10 s to update the axisConfguration after you deploying the service . Michele Mazzucco wrote: Hi

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Deepal Jayasinghe
Yes , you can register Listener in axis2.xml , and whenever service are added to system them will be notify. So you can update your configuration using that Listener. Adding a listener is very easy you can do that as follows (remember that listener need to implement

Re: [axis 2] WSDLToJava

2006-07-19 Thread robert lazarski
Have you tried using the interface is generated via the -ssi flag? That solves for me the problems you mention, if I understand you correctly. As for overwriting, either ant or maven can solve that for you. HTH, Robert http://www.braziloutsource.com/ On 7/19/06, Brian Dillon (ext. 944) [EMAIL

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Michele Mazzucco
Deepal, just the last few questions. After implementing the interface, should I register my listener object with AxisConfiguration.addObservers() as well? What should I put into the init() method? What about the moduleUpdate()?, for my knowledge the module update is visible only after a server

Article on Intalio|BPMS Community site

2006-07-19 Thread Arnaud Blandin
Dear Axis users and developers, We have just released an article detailling how you can write a web service with Axis 2 to later embed it in a business process defined in Intalio|BPMS. The article details the process of writing a webservice to send an email and how you can leverage the Axis2 Code

RE: Article on Intalio|BPMS Community site

2006-07-19 Thread Arnaud Blandin
Hi Michele, Thanks for noticing it, the site was asking you to actually register. You can now freely see the article without registering. Thanks, Arnaud PS: if you are interested in registering, you can use the following link:

Axis error

2006-07-19 Thread kavithaa Rajavenkateshwaran
I deployed a service using admin client . It  got deployed successfully and i'm able to call the service. But when I try to view list of deployed service from apache-axis page , I get following error.don't know what went wrong. Some pl advise.errorAXIS errorSorry, something seems to have gone

RE: WSDoAllReceiver: Request does not contain required Security header

2006-07-19 Thread Kirby Ian
I've got around this problem by changing the WSConstants namespace values in the source code and regenerating the jar file for wss4j. Is there a neater / configuration way? I've not been able to find it. Regards, Ian |-Original Message- |From: Kirby Ian [mailto:[EMAIL PROTECTED] |Sent:

Re: [MTOM/XOP+WSRM] servlet error

2006-07-19 Thread Mancinelli Elodie
Hi Chamikara, Your solution is correct. Can you explain me what is this property and why it allows to pass the bug? Change this property, make other mistake: The problem is when I implement method addressable (i.e. I define the ReplyTo and AcksTo value for WSRM implementation). I have also

RE: Generating soap:header info in the WSDL

2006-07-19 Thread Brian Fitzpatrick
So, I figured out how to configure Axis to generate soap:header information in the WSDL file, but it breaks the wrapped document-literal spec. Configuring Axis to send a parameter in the header, by setting parameter inHeader=true in the WSDD file creates WSDL that does not comply with

Re: Problems with WSDL2Java

2006-07-19 Thread Christian Pöcher
Just for the archive: I resolved the problem. It was of course my fault, although I wished the WSDL2Java tool would do a validity check, before generating code. In types I defined elements like element name=sum type=integer/ while in message I used a type attribute. message name=getSum

Re: Problems with WSDL2Java

2006-07-19 Thread robert lazarski
Your WSDL doesn't validate - try using one of the many wsdl validators and that should point you in the right direction. In the w3 case, you also need to supply the external schema reference. HTH, Robert http://www.braziloutsource.com/ On 7/19/06, Christian Pöcher [EMAIL PROTECTED] wrote: Hi

Re: [Repost][axis2] Error while invoking the service with SOAP1.2 messages

2006-07-19 Thread robert lazarski
This isn't the area I typically work in, but since you've posted three times I'll try and help. I don't use soap 1.2 on anything. But perhaps we can try a few things and see where that gets us. When you go to http://localhost:8080/axis2/ in the browser, does listServices show the

Reporting bugs (was: RE: Problems with WSDL2Java)

2006-07-19 Thread Derek
I still think that the original poster (below) has found an error worth logging in JIRA. Either Axis should generate a compilable webservice from his WSDL, or it should emit an error message explaining why it can't. It appears that neither is happening in this case. In general, I think errors of

Re: Reporting bugs (was: RE: Problems with WSDL2Java)

2006-07-19 Thread Davanum Srinivas
On 7/19/06, Derek [EMAIL PROTECTED] wrote: It seems to me that if WSDL2Java or similar tools EVER fail due to a NullPointerException, ClassCastException or other RuntimeException, or if they appear to run but produce uncompilable code, a JIRA should be filed in every case. ABSOLUTELY +1

Re: Axis client and .NET Web Service using NTLM security

2006-07-19 Thread Davanum Srinivas
Can you please try Axis1.4 and also download latest commons http client jar? -- dims On 7/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have spent about a week researching this and google just isn't getting me a viable working solution. Please advise if possible. I am using Axis

RE: [Axis2] Importance of SwA (Need Your Feedback)

2006-07-19 Thread Ben Malek, Hamid
Let me explain why it is important to fully support SwA in Axis2. As you know, ebMS is heavily built on SwA. The latest version of ebMS (ebMS-3) is still relying on SwA (support for MTOM will only be in the second part of the spec, but the B2B space will still be using SwA for many years

Re: Article on Intalio|BPMS Community site

2006-07-19 Thread robert lazarski
Is there a JIRA for this issue? If not, could you please file one? From the links src download, src/com/intalio/bpms/tools/webservices/email/Body_type1.java // This is horrible, but the OM implementation of getElementText() does not obey the proper contract. Specifically, it does //

Re: [Axis2] Importance of SwA (Need Your Feedback)

2006-07-19 Thread Davanum Srinivas
Hamid, Looks like you have a good grasp on the details...Could you please help us implement it? Let's start a JIRA and track progress. thanks, dims On 7/19/06, Ben Malek, Hamid [EMAIL PROTECTED] wrote: Let me explain why it is important to fully support SwA in Axis2. As you know, ebMS is

question

2006-07-19 Thread Bret Kumler
New to axis 2. In my ant script I have the following: codegen wsdlfilename=${wsdl.dir}/test.wsdl output=${generated_client_src.dir} serverside=false packagename=com.test.client testcase=true unpackClasses=true/ I noticed the generated package name is now this,

Re: Axis client and .NET Web Service using NTLM security

2006-07-19 Thread Martin Gainty
You are going to have to shoehorn the NTLM security credentials inside the SOAP:header e.g. wsse:Security xmlns:wsse=http://schemas.xmlsoap.org/ws/2002/12/secext; wsse:UsernameToken wsse:UsernameBob/wsse:Username wsse:PasswordYourStr0ngPassWord/wsse:Password

Re: question

2006-07-19 Thread Christian Kloner
hi Bret, I am using globus4 (axis 1.2) and Axis2 with my dynamic invocation API so i am not sure if it this is working but is there the attribute mapping-file where you can specify the namespace to package mapping like below? NStoPkg.mappings file (codegen mapping-file=NStoPkg.mappings

RE: question

2006-07-19 Thread Bret Kumler
It worked. Thanks! -Original Message- From: Christian Kloner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 1:25 PM To: axis-user@ws.apache.org Subject: Re: question hi Bret, I am using globus4 (axis 1.2) and Axis2 with my dynamic invocation API so i am not sure if it this

RE: Axis client and .NET Web Service using NTLM security

2006-07-19 Thread Simon Fell
Eh, why? CommonsHTTP supports NTLM auth over HTTP. The problem just looks like a bug crept into commonsHTTPsender somewhere along the lines. Cheers Simon -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 1:22 PM To: axis-user@ws.apache.org;

Re: question

2006-07-19 Thread Martin Gainty
Good Afternoon BretI Searched high and low for an example that would help you and this is what I found thus far !-- Setup the task to invoke AntCodegenTask -- target name="axis-init" taskdef name="codegen" classname="org.apache.axis2.tool.ant.AntCodegenTask"

Re: Where to put Amazon Stub classes

2006-07-19 Thread Luis Rivera
Roberto, axis-users, axis devs, Sorry for the cross posting, but we had not had much luck in the users's list, so I am hoping an axis/dev will have a good advise. I am sure more than one user has needed to use axis/tomcat and a JNI interface, so I am sure this has been done. Roberto, it

Re: Axis client and .NET Web Service using NTLM security

2006-07-19 Thread Martin Gainty
Yes Simon- Yes Zhao Sharon reported the bug http://www.mail-archive.com/axis-user@xml.apache.org/msg18632.html Brian Russell sunmitted a patch for CommonsHTTPSender.java a.. You need to modify the org/apache/axis/client/client-config.wsdd. Change the line transport name=http

Cannot load SchemaTypeSystem

2006-07-19 Thread Derek
Hi, folks. I just ran WSDL2Java (from yesterday's nightly build), and generated a bunch of output files. Now, I am trying to test a client which is written with those output files. Whenever I try, however, I get the following exception: Exception in thread main

Re: [Axis2] Help with SwA

2006-07-19 Thread Thilina Gunarathne
Hi, See my comments inline On 7/19/06, Ben Malek, Hamid [EMAIL PROTECTED] wrote: I have a big problem making Axis2 work fine with SwA. 1.The first problem is that I could not find any documentation on how to programmatically construct a SwA SOAP message using AXIOM API only. You can

Call fails with a timeout

2006-07-19 Thread Baiss Eric Magnusson
I have been using the following code to do a simple Web Services call and it is failing with a timeout the vast majority of the time of late and am wondering if there is anything I can do to solve the problem from my end. String endpoint = http://services.xmethods.net:80/soap;;

Re: [Axis2] Importance of SwA (Need Your Feedback)

2006-07-19 Thread Thilina Gunarathne
Hi, Please see my reply to your earlier mail. Also some comments in line. On 7/20/06, Ben Malek, Hamid [EMAIL PROTECTED] wrote: Let me explain why it is important to fully support SwA in Axis2. As you know, ebMS is heavily built on SwA. The latest version of ebMS (ebMS-3) is still relying on

RE: [Axis2] Importance of SwA (Need Your Feedback)

2006-07-19 Thread Ben Malek, Hamid
Thank you Dims, Paul, and Thilina for you kind replies. I certainly will be happy to help you guys with this if you need to. My contact info is at the end of this email. If you want me to help you with this, use my personal contact info as I may not be able to read all the emails from

[Axis2]Module not found

2006-07-19 Thread zhu jiang
Hi All, When I run the sample of EchoBlockingDualClient, I receive that: org.apache.axis2.AxisFault: Module not found What should I do? Thanks, Jiang

Re: [Axis2] Importance of SwA (Need Your Feedback)

2006-07-19 Thread Sanjiva Weerawarana
On Thu, 2006-07-20 at 05:14 +0600, Thilina Gunarathne wrote: Agreed. We need to do something to serialize the NON-MTOM attachments in the MsgContxt attachments object. I thought we did this .. Dims, didn't u put some stuff to store an unreferenced attachment in the MC?? Sanjiva.

Re: [Axis2] Hot deployment problem

2006-07-19 Thread Deepal Jayasinghe
Hmm , I dont have sample on AxisObserver. If you register AxisObserver in axis2.xml when modules adding into system observer will be notify. And mind you module can only add before system start , so once you get access to axisConfiguration it has already notified the observes about module

how to deploy a wsdd to axis1.x remotely

2006-07-19 Thread xu cai
hi axis-users. Irun org.apache.axis.client.AdminClient to deploy a web service to axis1.x remotely. but get a 401 return code. what's the default username/passwd shouldI use ? I tried tomcat user. but failed. -Jeff.