Axis-2 : Transport error: 502 Error: Bad Gateway

2011-08-02 Thread Gurkan Erdogdu
Hello all We are using Axis-2 (latest 1.6 version) to send MTOM enabled message over HTTPS sender. Our message looks like http://schemas.xmlsoap.org/soap/envelope/";>             http://gib.gov.tr/vedop3/eFatura";>             475BA9C1-87B0-42A5-AECA-1536F7A7B38F.zip             http://www.w3.

AW: POJOs and soapsession

2011-08-02 Thread Stadelmann Josef
Maybe you google for scope="soapsession" to get long lasting sessions and state-full service-objects. Also you need to engage addressing at server and client for your sefice. Basically you need to add init() and destroy() to your POJO, or any other class you defined. That works for us. But I hav

How to get xml string of axis2 object

2011-08-02 Thread Denise Wu
Hi, How to convert the input object of a webservice method into its xml string representation? Thank you, Denise. - To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@ax

AUTO: Marcin Markiewicz ist außer Haus. (Rückkehr am 21.08.2011)

2011-08-02 Thread Marcin . Markiewicz
Ich bin bis 21.08.2011 abwesend. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden Fällen wenden Sie sich bitte an Herrn Ralf Sehner (ralf.seh...@fiducia.de). Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "Axis-2 : Transport error: 502 Error: Bad Gatewa

Returning list arrays

2011-08-02 Thread Barry Hathaway
I have a POJO service method at returns a List[]: public List[] query(String sparcql) Then in my client I have: Class[] queryReturnTypes = new Class[] { List[].class }; try { Object[] queryResponse = serviceClient.invokeBlocking(queryQName,

How to read file from META-INF

2011-08-02 Thread Denise Wu
Hi, I have a "mySchema.xsd" located in the META-INF directory in the webservice archive file myService.aar. I would like to read this file "mySchema.xsd" in my webservice class. How to access it at runtime? Thank you. - To unsub

Re: Returning list arrays

2011-08-02 Thread Sagara Gunathunga
Can you try using latest Axis2 1.7.0-SNAPSHOTS ? BTW I don't think this is supported instead you could try for List of List in Axis2 1.7.0-SNAPSHOTS. Thanks ! On Tue, Aug 2, 2011 at 8:00 PM, Barry Hathaway wrote: > I have a POJO service method at returns a List[]: > >      public List[] query(St

Enabling addressing

2011-08-02 Thread Barry Hathaway
I'm trying to enable addressing so that I can use soapsession. In axis2.xml I have: In the client I have: serviceClient.engageModule("addressing"); However, when I invoke any of the methods of my POJO service I get: 2011-07-29 09:49:31,991 [main ] INFO ModuleDeployer

Re: Enabling addressing

2011-08-02 Thread Deepal Jayasinghe
Hi There, When you call Service client it creates Axis2 runtime as a result it loads all the modules. That is why you see the module deploy log message. But if you use the same service client to invoke the service multiple times then you will not see that message. Were you able to invoke your POJ

Re: How to read file from META-INF

2011-08-02 Thread Deepal Jayasinghe
You can get the class loader and read the file using getResource as stream. Once you ask for the class loader it will give you the class loader that Axis2 has used to load the your service class. Thanks. Deepal On Tue, Aug 2, 2011 at 10:33 AM, Denise Wu wrote: > Hi, > > I have a "mySchema.xsd"

Re: Enabling addressing

2011-08-02 Thread Barry Hathaway
Deepal, Thanks. The POJO service works without the: serviceClient.engageModule("addressing"); I can call all of the service methods without any problems. It is only when I enable addressing on the client side that I see problems. I did not do anything in the service itself (other than addin

Re: Returning list arrays

2011-08-02 Thread Barry Hathaway
Sagara, I'll have to give the snapshot a try, currently I am using 1.6.0. I did try changing the method to return Object[] and then later List. In both cases I received the same: Response from 'query' operation: [http://www.w3.org/2001/XMLSchema";>false] response. Thanks. Barry On 8/2/2011

Re: Returning list arrays

2011-08-02 Thread Sagara Gunathunga
On Tue, Aug 2, 2011 at 10:42 PM, Barry Hathaway wrote: > Sagara, > > I'll have to give the snapshot a try, currently I am using 1.6.0. > I did try changing the method to return Object[] and then later > List. > In both cases I received the same: Axis2 1.6.0 has limited support on above stuff bett

Re: Returning list arrays

2011-08-02 Thread Barry Hathaway
Sagara, Is there an easy way to grap the binary distribution of 1.7.0-SNAPSHOTS? When I look into the distribution/SNAPSHOT subdirectory the zip file is 1 year old. It is similar in the axis2-all/SNAPSHOT subdirectory. It looks like the automatic update procedure is not updating all of the va

Async axis client call timing out

2011-08-02 Thread Todd Chisholm
Hi, I'm experimenting with asynchronous calls between an axis client and an axis server. The server is just the example1/MyService.java, slightly modified to add a delay of a minute before replying. The client is based on the EchoNonBlockingDualClient.java. I'm getting a Read timed out AxisFaul

RE: Async axis client call timing out

2011-08-02 Thread Martin Gainty
the error and onComplete handlers of AxisCallback are called-back when there is error or response has been generated something like this should work: AxisCallback callback = new AxisCallback() { /** * This is called when we receive a message.

Re: Async axis client call timing out

2011-08-02 Thread Deepal jayasinghe
Hi Todd, Did you engage the addressing module in the server side ?. if not please engage it and see the results. if you have engaged addressing module and you still see the issue then it is definitely an Axis2 bug. Someone should have broken something, so please create a JIRA, (need to fix this A

Re: Enabling addressing

2011-08-02 Thread Deepal jayasinghe
This is a bug, could you please send your client and service code to axis2 list or create a JIRA. Thanks, Deepal > Deepal, > > The error messages my previous email messages below were produced when > I had: > > > > If I change it to scope="application" and turn off addessing on the > client then

How to access to header parameters ?

2011-08-02 Thread Pedro Oliveira
Hi, I have a wsdl like this http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ws="http://ws.customer.com/";> Bar Foo ? ?

Enum type as method parameter with Axis2

2011-08-02 Thread samsam
Hello, I am using Axis2 and its java2wsdl to generate wsdl file based on java class. The public methods in our service class use Enum type as complextype. In Netbeans, when I test it (right-click and select "test operation in browser"), Glassfish server generated the following error: 信息: [INFO]