Re: List or object array in response?

2007-02-27 Thread Deepal Jayasinghe
Hi Ronald; Can you please send us the source code , that will help us to find out the issue. Thanks Deepal > Hello, > > After working with Axis1.x for some time now I just started working > with Axis2. It works pretty nice out of the box until I tried > returning a List or Array of objects. > I

List or object array in response?

2007-02-27 Thread Ronald Pieterse
Hello, After working with Axis1.x for some time now I just started working with Axis2. It works pretty nice out of the box until I tried returning a List or Array of objects. I read in some posting that I should get the latest snapshot release to get this working but that did not help. I get:

Re: getting MissingResourceException when running a client using SAAJ

2007-02-27 Thread SMT Palanikumar
Hi dims, I have created an issue for the problem. https://issues.apache.org/jira/browse/WSCOMMONS-174 Thanks, Palanikumar On 2/27/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Palanikumar, Could you please log a bug in JIRA? so that we make sure we don't forget this for the next release.

Re: generated code for sequence of any

2007-02-27 Thread Amila Suriarachchi
On 2/28/07, no spam <[EMAIL PROTECTED]> wrote: A WSDL file from a certain unnamed, but very large, software company reads, in part, like this: (the schema)

Re: [Axis2] Any way to use GoogleSearch.wsdl with Axis2?

2007-02-27 Thread Amila Suriarachchi
try to use the RawXMLINOutMessageReceiver see http://ws.apache.org/axis2/1_0/userguide.html What you can do is to go through the wsdl file and find out the expecting request by the google search service. Then write the similar OMElement in your client and send it. Then you will receive the reques

Re: [Axis2] 2D String array return problems

2007-02-27 Thread Deepal Jayasinghe
You could use bean which has bean array inside that , like following; class Bean1 { private Bean2 [] bean2; } class ServiceClass { public Bean1[] echoBean(Bean1[] bean1){ } } VinceK wrote: >What would be a good substitute besides beans? > >Deepal Jayasinghe wrote: > > >>Hi VinceK ; >> >

Re: [Axis2] 2D String array return problems

2007-02-27 Thread VinceK
What would be a good substitute besides beans? Deepal Jayasinghe wrote: > > Hi VinceK ; > > Axis2 does not support 2D array , and hoping add that soon. > > Thanks > Deepal > >>I'm having problem getting the return String[][]. >>I'm using wrapped style and here is my wsdl file. >> >> >>>target

Re: [Axis2] Any way to use GoogleSearch.wsdl with Axis2?

2007-02-27 Thread VinceK
I just want to be able to use the webservice. I Know that Axis2 does not support rpc/encoded. I was just wondering if there is an alternative. Christian Kloner wrote: > > depends what you want to do? just querying for yourself or do you want > to integrate the google search results into your a

Re: sendReceive and sendRobust

2007-02-27 Thread keith chapman
This might help too http://wso2.org/library/290 Thanks, Keith On 2/28/07, Rishi krish <[EMAIL PROTECTED]> wrote: Hi All I am confused abt the usage of these 2 methods in the ServiceClient class. As per the axis2 doc - we should use sendRobust if we are not needing the response but care abt t

Re: [AXIS2] Echo ws with headers

2007-02-27 Thread keith chapman
R you trying to add cusom SOAP headers to the response message? If so you can try the following in the message Receiver. // Create a SOAPHeader block SOAPHeaderBlock soapHeader = soapFactory.createSOAPHeaderBlock(); // Add the SOAP header to the envelop msgContext.getEnvelope.getHeader().addChil

Re: [Axis2] Any way to use GoogleSearch.wsdl with Axis2?

2007-02-27 Thread Christian Kloner
depends what you want to do? just querying for yourself or do you want to integrate the google search results into your application? VinceK wrote: What would be the best way to use http://api.google.com/GoogleSearch.wsdl with Axis2? -

Re: setParam0(OMElement param) or xs:any

2007-02-27 Thread Deepal Jayasinghe
Hi ; I am talking about smt like below; public Address[] compute(Man [] data){ //... } Do not use just Object ,use the actual type you want to use. Thanks Deepal Kay* wrote: > Thank you for your answer, but I don't understand can you please > do an example?Do you mean that I have t

[Axis2] Any way to use GoogleSearch.wsdl with Axis2?

2007-02-27 Thread VinceK
What would be the best way to use http://api.google.com/GoogleSearch.wsdl with Axis2? -- View this message in context: http://www.nabble.com/-Axis2--Any-way-to-use-GoogleSearch.wsdl-with-Axis2--tf3306741.html#a9197924 Sent from the Axis - User mailing list archive at Nabble.com.

Re: sendReceive and sendRobust

2007-02-27 Thread Deepal Jayasinghe
Hi Rishi ; sendRobust is to invoke an in-only operation , and when you use that if something goes wrong in the server then you will be notify . When you want to invoke an in-out operation (which has a response) then you need to use sendReceive. Since sendReceive has designed to invoke in-out it

Re: [Axis2] 2D String array return problems

2007-02-27 Thread Deepal Jayasinghe
Hi VinceK ; Axis2 does not support 2D array , and hoping add that soon. Thanks Deepal >I'm having problem getting the return String[][]. >I'm using wrapped style and here is my wsdl file. > > >targetNamespace="http://webservice.udcnet.com/starws/services/transport/bindings"; >xmlns:apachesoap="h

Re: [Axis2] WSDL2JAVA creates missing parameter

2007-02-27 Thread VinceK
My mistake. This wsdl works. However, I'm trying to use wrapped style with String [][] as return and it's giving me errors. java.lang.RuntimeException: Unexpected subelement getTestReturn. What do I need to do to achieve this? Amila Suriarachchi wrote: > > On 2/27/07, VinceK <[EMAIL PROTEC

Re: [Axis2] Getting error WSDL2JAVA GoogleSearch.wsdl

2007-02-27 Thread VinceK
Thanks. I was hoping to find what I could do to fix it. Amila Suriarachchi wrote: > > The reason is that the Axis2 does not support *use='encoded'*. > > Actually Basic profile prohibits the use of any encoded messages including > soap encoding. > > see Basic profile http://www.ws-i.org/Profil

[Axis2] 2D String array return problems

2007-02-27 Thread VinceK
I'm having problem getting the return String[][]. I'm using wrapped style and here is my wsdl file. http://webservice.udcnet.com/starws/services/transport/bindings"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://webservice.udcnet.com/starws/services/transport/bindings"; x

Re: axis2 adding extra namespace declaration in response

2007-02-27 Thread Rishi krish
Hi Ryan thanks for all your help. I did get the file from the nightly and it works great. thanks Anamitra On 2/27/07, Ryan Nelsestuen <[EMAIL PROTECTED]> wrote: RawXMLInOutMessageReceiver – the change is in the invokeBusinessLogic method – see http://issues.apache.org/jira/browse/AXIS2-1904

generated code for sequence of any

2007-02-27 Thread no spam
A WSDL file from a certain unnamed, but very large, software company reads, in part, like this: (the schema) the generated code looks like this:

sendReceive and sendRobust

2007-02-27 Thread Rishi krish
Hi All I am confused abt the usage of these 2 methods in the ServiceClient class. As per the axis2 doc - we should use sendRobust if we are not needing the response but care abt the fault and we should use sendReceive if we care abt the reponse and fault. Does it mean that calling sendReceive sho

[Axis2] Implement ACL using X.509 subject

2007-02-27 Thread aravind1001
Hi, I am trying to implement an ACL(access control list) based on the CN extracted out of the certificate that was used to sign a SOAP message. This will be executed after the signature verfication is successful. An easy way is to use HTTP authentication to implement this and use that identity in

[AXIS2] Echo ws with headers

2007-02-27 Thread Cencio1980
Hi, i'm trying to make a simple echo ws in axis2, but i loose soap headers in the response message. Now i'm trying to copy headers from request message to response message with an handler in the out pipe, but i have to iterate on each header and add it one by one and i'd like to avoid this metho

[Axis2] Implement ACL using X.509 subject

2007-02-27 Thread aravind1001
[re-post. previous one seems lost] Hi, I am trying to implement an ACL(access control list) based on the CN extracted out of the certificate that was used to sign a SOAP message. This will be executed after the signature verfication is successful. An easy way is to use HTTP authentication to imp

RE: axis2 adding extra namespace declaration in response

2007-02-27 Thread Ryan Nelsestuen
RawXMLInOutMessageReceiver - the change is in the invokeBusinessLogic method - see http://issues.apache.org/jira/browse/AXIS2-1904 _ From: Rishi krish [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 11:18 AM To: axis-user@ws.apache.org Subject: Re: axis2 adding extra names

Re: axis2 adding extra namespace declaration in response

2007-02-27 Thread Rishi krish
Hi Ryan thanks for the response. Can you pls tell me the class name I should be looking for? thanks Rishi On 2/27/07, Ryan Nelsestuen <[EMAIL PROTECTED]> wrote: They have just recently removed that declareNamespace call in the current code – look at that class in SVN. -

RE: axis2 adding extra namespace declaration in response

2007-02-27 Thread Ryan Nelsestuen
They have just recently removed that declareNamespace call in the current code - look at that class in SVN. _ From: Rishi krish [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 10:31 AM To: axis-user@ws.apache.org Subject: axis2 adding extra namespace declaration in response

axis2 adding extra namespace declaration in response

2007-02-27 Thread Rishi krish
Hi I am using axis2 1.1.1 [released version] and I am using RawXMLINOutMessageReceiver for my service operation. In the response Axis2 is adding an extra namespace which I beleive is derived from the package name of my service class. So if my service class is in package abc.bcd then its adding a n

[Axis2] Implement ACL using X.509 subject

2007-02-27 Thread aravind1001
Hi, I am trying to implement an ACL(access control list) based on the CN extracted out of the certificate that was used to sign a SOAP message. This will be executed after the signature verfication is successful. An easy way is to use HTTP authentication to implement this and use that identity in

RE: setParam0(OMElement param) or xs:any

2007-02-27 Thread Jones, Alan R
Kay, This may helpIf you mean that your Object[] in your example represents a specific object (rather than an array of actual base class Objects) and you are wondering why you are getting the default OMElement as a return type, I had a similar problem. I had the wrong namespace prefix in the

Re: Axis JMS Response Queue

2007-02-27 Thread Asankha C. Perera
Hi John I am not familiar with the code of Axis(1) you are referring to, but you would be most welcome if you wish to work on this enhancement for Axis2 asankha Turner, John wrote: Hi Asankha,     I have created the issue at http://issues.apache.org/jira/browse/AXIS

RE: Axis JMS Response Queue

2007-02-27 Thread Turner, John
Hi Asankha, I have created the issue at http://issues.apache.org/jira/browse/AXIS2-2266. I implemented this functionality previously with Apache Axis through a custom transport and inserting code into the client stubs during the build process. I was hoping it would be

Re: Axis JMS Response Queue

2007-02-27 Thread Asankha C. Perera
Hi John This is not possible in the current version of the JMS transport - but is a valid enhancement request of much importance. Could you raise a JIRA for this? Also, this implies that the response would then be received by another service, configured to listen on that permanent queue - as a

Re: getting MissingResourceException when running a client using SAAJ

2007-02-27 Thread Davanum Srinivas
Palanikumar, Could you please log a bug in JIRA? so that we make sure we don't forget this for the next release. -- dims On 2/27/07, SMT Palanikumar <[EMAIL PROTECTED]> wrote: Hi all, I deployed a webservice with the databinding framework as xmlbeans. I am using axis2 as the webservice contai

Axis JMS Response Queue

2007-02-27 Thread Turner, John
I have created an axis service and deployed it with a jms transport. This works fine with ActiveMQ as it looks like the ReplyTo attribute is set to reply to a temporary queue by the generated client stub classes. I would like to be able to specify a permanent queue as a reply to queue. Is there a

Re: [Axis2] Complex type deserializing: Empty parameter

2007-02-27 Thread Immi
WSDL2Java is not generating a WSDD file but it is generating a complex type class with my attributes and a static method: public static org.apache.axis.description.TypeDesc getTypeDesc() It seems that this is the substitutes the WSDD file. When I put this method in my complex type clas

Re: [Axis2] Complex type deserializing: Empty parameter

2007-02-27 Thread Anne Thomas Manes
If you use complex types, then you need a WSDD. You should run java2wsdl, then run wsdl2java. The secoond step will generate the WSDD for you. Anne On 2/27/07, Immi <[EMAIL PROTECTED]> wrote: 1. I use OfBiz as service container. But the problem seems to be Axis specific, that's why I posted my

[Axis2 1.1.1] Parametrizing POJO deployment

2007-02-27 Thread Jarek Kucypera
I created my service from POJO and now I need to parametrize the resulting sevice and the WSDL: first I need to incject some textual documentation about complex data types, it's fields and particualr port types' methods, as wsdl:documentation tags. And second, I want to influence the "nillable" pa

Re: setParam0(OMElement param) or xs:any

2007-02-27 Thread Kay*
Thank you for your answer, but I don't understand can you please do an example?Do you mean that I have to change parameters ? Thank you very very much!!! Kay* 2007/2/27, Deepal Jayasinghe <[EMAIL PROTECTED]>: Hi ; When you have a method which take Object then there is no way to find out

getting MissingResourceException when running a client using SAAJ

2007-02-27 Thread SMT Palanikumar
Hi all, I deployed a webservice with the databinding framework as xmlbeans. I am using axis2 as the webservice container in an embedded tomcat environment. I am getting an MissingResourceException which says that org.apache.axiom.om.impl.dom.msg.DomMessages.properties file couldn't be found. I ch

axis2 admin console still showing login page

2007-02-27 Thread unknown unknown
Hi all, I'm having problems with using administration console in axis2, after login (admin:axis2) it shows correct admin console but after clicking on any link it shows login page again. It simply forgets my login ... Maybe because I sit behind proxy and firewall, could you help ? Regards, Andrej

Re: how to set dataBinding type in service.xml

2007-02-27 Thread donald yang
Hi Amila, Many thanks for your reply. As I have found AXIS2 can not correctly map the following java data types[1] to xml data type and marshall and unmarshall these objects. That is why I query if it is possible to change the data binding from default one to alternative one to solve this problem

Re: setParam0(OMElement param) or xs:any

2007-02-27 Thread Deepal Jayasinghe
Hi ; When you have a method which take Object then there is no way to find out the type of that object. That is why it generates WSDL with xsd:any. To solve that U need to write the method to take the method with correct Object type (String [] or what ever). Thanks Deepal Kay* wrote: > Hello! (

Re: [Axis2] Complex type deserializing: Empty parameter

2007-02-27 Thread Immi
1. I use OfBiz as service container. But the problem seems to be Axis specific, that's why I posted my question in this forum. 2. I got no WSDD. Do I need one??? I figured out, that the request is working if I change the namespace of the complex type argument . (The whole envelope is at my first