re[2]: Issues running service client on AIX 5L

2008-12-11 Thread Dominic Smith
Hi, Thank you very much for sharing this information. It was very useful. It would be great help if you could provide a patch? Patch as follows (I notice in the current source the libaxis2_http_receiver module has already been addressed): Index: src/core/transport/http/sender/Makefile.am

Re: IncompatibleClassChangeError with WSDL2Java XMLBean Generated Client

2008-12-11 Thread Timothy R J Langford
Hello, Ok. It is the morning after and things are easier with a fresh head. I stopped using my build file and went through the build process separately and the issue vanished. I tracked down a problem in the build process where the target wsdl was not being downloaded successfully when I

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

2008-12-11 Thread asheikh
Hello, Could any one please give me some guidance of how to handle this? Thanks in advance On Thu, Dec 11, 2008 at 9:08 AM, asheikh [EMAIL PROTECTED] wrote: Hi, I have a service that receives that from another system and sometimes my service generates the following message. How can I

Re: Axis2 Client get Premature end of file. from server

2008-12-11 Thread Tsvetelin Saykov
Hi all, I find that the error Premature end of file. which I received from Lotus Domino over MS Windows server is something happening in HTTP level. To solve this problem I configure the Axis2 HTTP Transport Sender not to use Transfer-Encoding : Chunked

access files inside AAR - File Path! not Resource / URL

2008-12-11 Thread Seem
I have an unsolved problem accessing a file which is inside my aar-folder. Unfortunately I need a file Path for a 3rd Party function and not a Resource or an URL. Do you have any advices how to get the right path to the file? My folder structure is like this /META-INF /bin (Service classes)

Re: access files inside AAR - File Path! not Resource / URL

2008-12-11 Thread Deepal Jayasinghe
Have a look at following article, which provides a way to access your resources inside the service archive file. http://wso2.org/library/259 Deepal I have an unsolved problem accessing a file which is inside my aar-folder. Unfortunately I need a file Path for a 3rd Party function and not a

Re: access files inside AAR - File Path! not Resource / URL

2008-12-11 Thread Seem
Yes, I tried this, but there is still the problem, that I need a file Path and not a resource/URL to invoke File file = new File(file Path) for further operations. and this was not a solution to get the correct Path: getClass().getClassLoader().getResource(conf/config.xml).getPath();

Re: access files inside AAR - File Path! not Resource / URL

2008-12-11 Thread Deepal Jayasinghe
Yes, I tried this, but there is still the problem, that I need a file Path and not a resource/URL to invoke File file = new File(file Path) for further operations. and this was not a solution to get the correct Path: getClass().getClassLoader().getResource(conf/config.xml).getPath();

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-11 Thread Rodrigo Asensio
Finally It was solved. how ? the ws was done in coldfusion 7 who uses axis1 and there are some problems with doc-literal and soap encoding. Server side changed the wsdl and now I can retrieve arrays[] with the same code. Thanks for helping. R Rodrigo Asensio [EMAIL PROTECTED]

Re: access files inside AAR - File Path! not Resource / URL

2008-12-11 Thread Seem
Just to clarify, I have a similar problem like this: http://www.nabble.com/Accessing-a-file-in-AAR-to16787898.html#a16898376 but I do not understand his mentioned solution. Should I use the getResourceAsStream(), create a temporary file from the inputstream, get the file path und use it with my

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-11 Thread Deepal Jayasinghe
Oh, good. I though you were using Axis2 at the server side too . Finally It was solved. how ? the ws was done in coldfusion 7 who uses axis1 and there are some problems with doc-literal and soap encoding. Server side changed the wsdl and now I can retrieve arrays[] with the same code. Thanks

Re: Problem with a simple Object[] in RPCServiceClient

2008-12-11 Thread Rodrigo Asensio
nop, I said this is a coldfusion axis1 ws. I found that according to the specification, fault and header message parts must be defined as document/literal, even if the body is defined as RPC style. regards and thanks Rodrigo Asensio [EMAIL PROTECTED] http://www.rodrigoasensio.com To err is

axis2 - creating a customer exception

2008-12-11 Thread SPARAGA
I have created a custom exception and it is being throw by the web service. The exception has two fields and getter and setter methods for those fields. Those fields are being set by the service before it throws the customer exception. On the client side, the only exception I am able to catch

Infinite Loop

2008-12-11 Thread Pathuri, Hanu
Hi, We have a web service (say A) deployed in Tomcat/Axis-2 environment. It nee= ds to access another web service (B) for which we have java api based jaxws= framework. The developers of B publishes a java jar file for clients to use the B web = service. This API makes use of JAXWS API.

compatibility issues

2008-12-11 Thread Rodrigo Asensio
I'm axis2 and I'm generating ws for other consumers, some of them are ms crappy biztalk. They are getting some conflicts if they find in the wsdl something like this: xs:element maxOccurs=unbounded minOccurs=0 name=persons nillable=true type=ax21:Person/ the minOccurs=0 and the nillable=true is

Response a Custom XSD

2008-12-11 Thread Rodrigo Asensio
Axis2 141 we are developing a ws based on our customer spec. He gave me a XSD and the response XML (inner the soap msg) should be in a specific way. I made it 100% using AXIOM OMElements because I didnt found a way to do the XS:ATTRIBUTES as is shown below. xs:element name=BigObject

Re: Response a Custom XSD

2008-12-11 Thread Rodrigo Asensio
I'm seeing the wikipedia article ( http://en.wikipedia.org/wiki/Web_Services_Description_Language#Example_WSDL_file ) and I saw something like I want, that means is not that crazy, now my question is , how can I represent in the XML the attributes of an object having this obj for example class

Re: [Axis2] Custom Soap Header

2008-12-11 Thread Prasuna Lanka
I tried in the suggested way, but still the object contains null values. when i looked into the parse method of that class, i found the statement reader.getAttributeValue(*null*,entityID); returning null. The entity id is of Stirng type. xmlstgreamreader docs say, If the namespaceURI is null the

[AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread searl
Hi, I have a modified version of the Logging module MAR for logging the xml of sent and received messages in my services. The service side is logging the messages without problems. The client side is logging the outbound request but not the inbound replay. I have two services, A and B. A is

Re: [AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread Deepal Jayasinghe
Hi, I have a modified version of the Logging module MAR for logging the xml of sent and received messages in my services. The service side is logging the messages without problems. The client side is logging the outbound request but not the inbound replay. Did you engage the logging

Re: [AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread searl
Hi Deepal, Yes, I believe that the module is engaged for both services. Particularly since I'm seeing the message logged for the outbound request from the client side. I'm just not seeing the message logged for the inbound reply on the client side. leon On Thu, 11 Dec 2008 15:37:23 -0500,

Re: [AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread searl
On Thu, 11 Dec 2008 15:04:57 -0600, searl se...@ittc.ku.edu wrote: Hi Deepal, Yes, I believe that the module is engaged for both services. Particularly since I'm seeing the message logged for the outbound request from the client side. I'm just not seeing the message logged for the inbound

Re: [AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread Deepal Jayasinghe
Hmm, I think I can not give an exact answer without looking at the code, so if you can please create a JIRA[1] and attach all the stuff need to regenerate the issue. [1] : http://issues.apache.org/jira Thank you! Deepal Hi Deepal, Yes, I believe that the module is engaged for both services.

Re: [AXIS2 v1.4] Logging module not logging message reply receipt

2008-12-11 Thread searl
Hi Deepal, I will create the JIRA. Since I'm seeing the logging on the service side for both inbound request and outbound response BUT on the client side seeing the log for ONLY outbound request, I'm thinking that the InFlow phases must not be getting handled the same for clients and services.

RE: [Axis2] excludeOperations in services.xml problem

2008-12-11 Thread Raghu Upadhyayula
Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I've used the excludeOperations tag in services.xml as shown below. I'm using Axis2 1.4. excludeOperations operationcopy/operation

Re: Accessing a file in AAR

2008-12-11 Thread Seem
I have the same problem. Do I understand you right, that you pointed out a solution in this kind of manner: Should I use the getResourceAsStream() to get the file, create a temporary file from the inputstream, get the file path und use it with my 3rd party methods? sowmi wrote: Since I

Re: Accessing a file in AAR

2008-12-11 Thread Deepal jayasinghe
Seem wrote: I have the same problem. Do I understand you right, that you pointed out a solution in this kind of manner: Should I use the getResourceAsStream() to get the file, create a temporary file from the inputstream, get the file path und use it with my 3rd party methods? Once you

Re: [Axis2] excludeOperations in services.xml problem

2008-12-11 Thread Deepal Jayasinghe
Hi, I have a webservices (written in Java) with several operations. I want to exclude couple of operations from that. I’ve used the excludeOperations tag in services.xml as shown below. I’m using Axis2 1.4. excludeOperations operationcopy/operation

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

2008-12-11 Thread Dave Meibusch
Thank you, Deepal. This got me on the right track. actually I forgot, seems like I have even written an article about that http://wso2.org/library/2084

Re: [Axis2] excludeOperations in services.xml problem

2008-12-11 Thread Nadir Amra
hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008 04:20:43 PM: [image removed] Re: [Axis2] excludeOperations in services.xml problem Deepal Jayasinghe to:

Axis2 client - counting bytes sent and received

2008-12-11 Thread Dave Meibusch
Hi, I'm attempting to log statistics for my system, including the bytes sent/received for the components using Axis2 client code. Digging through the source of HttpClient, HttpMethod (latter is accessible from Axis2 MessageContext) has not been successful. The Content-Length HTTP header is not

Re: [Axis2] excludeOperations in services.xml problem

2008-12-11 Thread Deepal jayasinghe
hmmm, an excluded operation cannot be invoked, as far as I know from Axis 1.3. I will verify. Nope exclude operations will only exclude from WSDL, if that is not the case then something has broken. Deepal Nadir Amra Deepal Jayasinghe dee...@opensource.lk wrote on 12/11/2008

Re: [Axis2] Custom Soap Header

2008-12-11 Thread Amila Suriarachchi
On Fri, Dec 12, 2008 at 1:41 AM, Prasuna Lanka prasuna.la...@gmail.comwrote: I tried in the suggested way, but still the object contains null values. when i looked into the parse method of that class, i found the statement reader.getAttributeValue(*null*,entityID); returning null. The entity