AW: AW: AW: AW: Multiple services.xml, one serviceGroup

2008-12-10 Thread Gaiser, Matthias
Yes, you're right. You can only provide general solutions for most use cases which unfortunately does not cover mine. If I get a good idea, how I can handle it without implementing everything by myself, I'll let this list know. Thank you for your effort, Deepal. Matthias. -Ursprüngliche

Re: Get wsdl url for service description

2008-12-10 Thread Alexey Zavizionov
Does this http://mail-archives.apache.org/mod_mbox/portals-wsrp4j-user/200506.mbox/[EMAIL PROTECTED] fixed? Thanks, Alexey. On Wed, Dec 10, 2008 at 12:48 AM, Alexey Zavizionov [EMAIL PROTECTED] wrote: Hello, I use Axis1 1.4 with my service. I have an application with multiport service

setting nillable property from POJO

2008-12-10 Thread prashant_4s
Hi, I have a simple POJO with properties as follows: public String s; public int k = 0; In WSDL file, i see these variables as : xs:element name=s nillable=true type=xs:string/ xs:element name=k type=xs:int/ Is it possible to control the nillable property? I would like to have String data type

RE: thread safe axis2 client stub

2008-12-10 Thread Paul French
3680 (20081210) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

RE: Axis2 default service (Deploy a service a context root)

2008-12-10 Thread Nowak Brad
Is there a way to embed tomcat into my app like I currently have SimpleHTTPServer? The goal of my project is to have a single .jar file to distribute to other developers, and having an integrated server for the Events service is a high priority. Thanks, Brad

Axis2 Client get Premature end of file. from server

2008-12-10 Thread Tsvetelin Saykov
Hi, I am new in Axis2 web services application development and I am experience a problem with Axis2 I am writing a Client application and I get Premature end of file. from server. The client application is running under Linux/Java6. The web services server is IBM Lotus Domino under MS Windows I

Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Rodrigo Asensio
Can't return a simple Object[] axis2 141 client code: RPCServiceClient serviceClient = new RPCServiceClient(); Options options = serviceClient.getOptions(); EndpointReference targetEPR = new EndpointReference(URL);

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Deepal Jayasinghe
Can't return a simple Object[] axis2 141 client code: RPCServiceClient serviceClient = new RPCServiceClient(); Options options = serviceClient.getOptions(); EndpointReference targetEPR = new EndpointReference(URL);

Axis2 and Axis interoperability

2008-12-10 Thread krzysztof.sobkowiak
Hi We are migrating our project from Java1.4 to Java6. Currently our software provides a web services implemented in Axis 1.1 + Castor 0.9.6 (document/literal) generated from existing wsdl. We must migrate our project to Java6. It is not possible to use Axis, because of the package

Re: Axis2 and Axis interoperability

2008-12-10 Thread Paul Hethmon
Start with your current WSDL you publish with Axis1 and use it to implement the stubs for Axis2. On 12/10/08 10:21 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi We are migrating our project from Java1.4 to Java6. Currently our software provides a web services implemented in Axis

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Rodrigo Asensio
Class[] returnTypes = new Class[]{(Struct_cards[])} this don't compile because the objects inside the array must be Class type, and I already tried that one Class[] returnTypes = new Class[]{Struct_cards[].class} Rodrigo Asensio [EMAIL PROTECTED] http://www.rodrigoasensio.com To err is human,

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Deepal Jayasinghe
Have a look at following class , it does what you want to do https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java Class[] returnTypes = new Class[]{(Struct_cards[])} this don't compile because the objects inside the array

Re: Help with service

2008-12-10 Thread Robin Lee (Tech Support @ ULS)
I was able to get as far as this. http://localhost/vip/services/BookInfoPort?method=GetBookInfoByISBN soapenv:Envelope ? soapenv:Body ? soapenv:Fault faultcodesoapenv:Server.userException/faultcode faultstringjava.lang.NullPointerException/faultstring detail/ /soapenv:Fault /soapenv:Body

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Rodrigo Asensio
the most accurate test for my case should be the testCompanyArray() where it converts doing something like this ArrayList resobj = new ArrayList(); resobj.add(Struct_cards[].class); (Class[])resobj.toArray(new Class[resobj.size()]) but the result is the same... below I'm posting the wsdl and

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Deepal Jayasinghe
Can you please send me your service code, then I will give you the exact solution. Deepal Rodrigo Asensio wrote: the most accurate test for my case should be the testCompanyArray() where it converts doing something like this ArrayList resobj = new ArrayList();

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-10 Thread Rodrigo Asensio
Here is the code. Also I'm trying to generate the clients with adb or xmlbeans and I'm getting [ERROR] Part 'fault' of fault message '{http://icu_test.dev}CFCInvocationException' must be defined with 'element=QName' and not 'type=QName' this is a coldfusion axis1 ws. I found that according to the

RE: thread safe axis2 client stub

2008-12-10 Thread Kraus, David
. blog: http://amilachinthaka.blogspot.com/ -- David Ojeda __ NOD32 3677 (20081209) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com __ NOD32 3680 (20081210) Information __ This message was checked by NOD32 antivirus system

RE: thread safe axis2 client stub

2008-12-10 Thread Paul French
/ -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ -- David Ojeda __ NOD32 3677 (20081209) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com __ NOD32 3680 (20081210) Information

IncompatibleClassChangeError with WSDL2Java XMLBean Generated Client

2008-12-10 Thread Timothy R J Langford
Hello, I am using axis2 wsdl2java to generate an XML Beans binding client from a customers WSDL schema. This mostly seems to be working fine; the request I am testing returns the correct response and I can navigate most of the returned structure using the java object model. However my tests

Re: Help with service

2008-12-10 Thread Robin Lee (Tech Support @ ULS)
Alright, to add to this method, i've figured out how to pass in parameters, but the parameters keep getting mixed up (even though i am passing the name of the field in as well).

RE: Help with service

2008-12-10 Thread Martin Gainty
you need to get your connection parameters sorted out at a min username/password/host/port/DatabaseName check to make sure there is a DB listener installed 3306 for MySQL use netstat to verify 1521 for Oracle use tnsping SID to verify Martin __

Re: Help with service

2008-12-10 Thread Robin Lee (Tech Support @ ULS)
Thank you for the response.. At the moment, the service works in a java environment... We are using SQL Server 2000.. The url is passed through a java object into axis, and is returned the same way. I'm trying to expose this so that a .NET application can access the same webservice. ...Robin

Re: wsdl problem

2008-12-10 Thread Andreas Veithen
Miguel, Did you try this also with a more recent version of Axis2? Andreas On Tue, Dec 9, 2008 at 05:11, [EMAIL PROTECTED] wrote: Hi I have the following wsdl error when i deploy my web service project in a soalris server i get this information via

Axis2 : Can we have 2 Service with same name but different targetNameSpace

2008-12-10 Thread John Eapen
We are trying to migrate to Axis2 1.4. Have a requirement where we need to support 2 or more services with same Service Name but obviously belongs to different namespace. ( the requirement is due to the fact the we need to support multple versions of a given service as product moves from say 1.0

Server-Side Asynchronous WebService

2008-12-10 Thread John Eapen
Hello - Using Axis2. Need some help with implementing a web service method which has asynchronous behaviour on the server side. Is there a good example of this ? I was reading some docs on the web which said this requires WS-Addressing to be implemented.I am not sure if that is still the case.

Re: [Axis2] Custom Soap Header

2008-12-10 Thread Prasuna Lanka
Amila Thanks much for the response. I tried BeanUtil.deserialize method(with 4 parameters: classname, OMelem, defaultobjsupplier, null) to get an instance of the custom header, the object is returned but all with null member values..I have the xml string in hand, but why am i not able to get the

Accessing the in flow message context in out flow handler

2008-12-10 Thread Dave Meibusch
Hi, I have a custom handler to log statistics for SOAP messages. The challenge I have is accessing some of the properties of the in flow message context in my handler's flowComplete() that is being executed last in OutFaultFlow. ie. I need to access and log properties of the in message context

Re: Accessing the in flow message context in out flow handler

2008-12-10 Thread Deepal Jayasinghe
Hi, I have a custom handler to log statistics for SOAP messages. The challenge I have is accessing some of the properties of the in flow message context in my handler's flowComplete() that is being executed last in OutFaultFlow. ie. I need to access and log properties of the in message

RE: Accessing the in flow message context in out flow handler

2008-12-10 Thread Martin Gainty
check out the testcase org.apache.axis2.context.OperationContextTest AxisOperation axisOperation = new InOutAxisOperation(new QName(test)); OperationContext operationContext1 = axisOperation .findOperationContext(messageContext1, sessionContext); HTH Martin

Re: Accessing the in flow message context in out flow handler

2008-12-10 Thread Deepal Jayasinghe
actually I forgot, seems like I have even written an article about that http://wso2.org/library/2084 Deepal check out the testcase org.apache.axis2.context.OperationContextTest AxisOperation axisOperation = new InOutAxisOperation(new QName(test)); OperationContext

Re: [Axis2] Custom Soap Header

2008-12-10 Thread Amila Suriarachchi
On Thu, Dec 11, 2008 at 3:51 AM, Prasuna Lanka [EMAIL PROTECTED]wrote: Amila Thanks much for the response. I tried BeanUtil.deserialize method(with 4 parameters: classname, OMelem, defaultobjsupplier, null) to get an instance of the custom header, the object is returned but all with null

following tags were not closed: soapenv:Envelope...

2008-12-10 Thread asheikh
Hi, I have a service that receives that from another system and sometimes my service generates the following message. How can I make sure the response/SOAP message (Axis 1.3) from my service is not malformed... *Error Messsage: * org.apache.axiom.om.OMException: