Re: {Disarmed} Re: Empty Responses in Firefox

2009-01-22 Thread Uthaiyashankar
Hi,

In that case, you can disable favicon.ico fetching from firefox. You can
follow the steps given[1] to disable it. Simple axis server can only serve
service request. It can't serve other files/images. Hence, if you plan to
serve them, better to switch to either IIS or apache.

Regards,
Shankar

[1]
http://www.howtogeek.com/howto/internet/firefox/quick-tip-disable-favicons-in-firefox/


On Fri, Jan 23, 2009 at 12:02 AM, Andriy Zavada wrote:

>  I've deployed on IIS and it works!
>
> But I have to use simple axis2 server. For me using IIS or Apache is
> undesirable.
>
>
>
> Andriy
>   --
>
> *From:* uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] *On
> Behalf Of *Uthaiyashankar
> *Sent:* Thursday, January 22, 2009 5:59 PM
> *To:* Apache AXIS C User List
> *Subject:* {Disarmed} Re: Empty Responses in Firefox
>
>
>
> Hi
>
> It seems like when requesting for favicon.ico (*MailScanner warning:
> numerical links are often malicious:* 
> http://127.0.0.1:9090/favicon.ico),
> it returns error. simple axis2 server cannot serve favicon.ico. So could you
> deploy the system in apache httpd, and setup an favicon.ico and see whether
> it works?
>
> Regards,
> Shankar
>
> On Thu, Jan 22, 2009 at 4:41 PM, Andriy Zavada 
> wrote:
>
> I've built latest version of Axis2/C from SVN and still getting empty
> responses
>
>
>
> Best regards,
>
> Andriy Zavada
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Wednesday, January 21, 2009 8:17 PM
>
>
> *To:* Apache AXIS C User List
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> Even when I call http://localhost:9090/axis2/services I get empty
> responses sometimes.
>
> I'm using Simple Axis2 HTTP Server.
>
>
>
> Andriy
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Wednesday, January 21, 2009 6:45 PM
> *To:* Apache AXIS C User List
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> I'm using 1.5.0. Attached are tcpmon and server logs.
>
> When I send from Firefox through tcpmon I always receive response, but when
> without tcpmon sometimes (40%) I got empty response (only HTTP OK).
>
>
>
> Also I found that tcpmon sometimes sends multiple requests.
>
>
>
> Best regards,
>
> Andriy Zavada
>   --
>
> *From:* uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] *On
> Behalf Of *Uthaiyashankar
> *Sent:* Wednesday, January 21, 2009 6:19 PM
> *To:* Apache AXIS C User List
> *Subject:* Re: Empty Responses in Firefox
>
>
>
> When sending the request from firefox, can you capture the message using
> tcpmon and send it to us? Also, send the server log as well. You haven't
> specified which version of Axis2/C you are using. There was a bug fixed
> related to Firefox request [1][2], not sure you are having same problem.
> However, that problem is solved in the current trunk
>
> Regards,
> Shankar
>
> [1] http://issues.apache.org/jira/browse/AXIS2C-1278
> [2]
> http://markmail.org/message/m3uc2odt2lawlzwg#query:%22REST%20support%20on%20Axis2%2FC%22+page:1+mid:4kmm6ckuzhn6xwcw+state:results
>
> On Wed, Jan 21, 2009 at 8:52 PM, Andriy Zavada 
> wrote:
>
> Can anyone help me on this?
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Tuesday, January 20, 2009 10:31 AM
>
>
> *To:* Apache AXIS C User List
>
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> The problem is that server doesn't return anything, only HTTP 200.
>
> I'm using HTTP Analyzer to track all requests.
>
>
>
> Andriy
>  --
>
> *From:* Rajika Kumarasiri [mailto:rajik...@gmail.com]
> *Sent:* Monday, January 19, 2009 7:54 PM
> *To:* Apache AXIS C User List
> *Subject:* Re: Empty Responses in Firefox
>
>
>
>
>
> What's the Content-Type of the response. May be it is set incorrectly, so
> that the browser can't handle.
>
> -Rajika
>
> On Mon, Jan 19, 2009 at 10:43 PM, Andriy Zavada 
> wrote:
>
> Hi all,
>
>
>
> I'm sending several requests from Firefox 3 to my web service and sometimes
> I'm getting empty responses.
>
> When I am using tcpmon I receive response every time, the same in IE.
>
>
>
> Can anyone help me on this?
>
>
>
> Best regards,
>
> Andriy Zavada
>
>
>
>
>
>
> --
> http://wso2.org/
> http://llvm.org/
> http://www.osdev.org/
>
>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>
>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>
>


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


Re: ds:Refence URI not Encripted

2009-01-22 Thread Manjula Peiris
Check the policy in your server side and compare for any mismatch.
BTW, this list is for Axis2/C and related project users. you may get a
better answer by posting to Rampart (Java) list.


On Thu, 2009-01-22 at 18:28 -0500, m4rkuz wrote:
> Hi Everyone,
> 
> I'm new to Axis2 and Rampart, but I need to do something very easy
> with them and haven't been able to do it..
> 
> The main problem is that I'm just to newbie at this, but for what I've
> learn I had seen the problem described below...
> 
> I need to consume a WebService that only needs to be signed, I have
> trayed the onlySing example for rampart but I keep getting:
> 
> FAULT MESSAGE: An unsupported token was provided
> 
> Somebody has a working client made with the oracle suit, (I Cannot use
> that) and send me an example soap message, comparing the two I only
> see one diference
> 
> Mine:
> ...
> 
> ...
> 
> 
> the working one:
> 
> 
> ...
> 
> 
> 
> how can I do to encript that URI ???
> 
> I had attached the policy file..
> 
> any Ideas??
> 
> 
> 
> Cordialmente,
> 
> 
> Marcus V. Sánchez D.
> __
> Enterprise Developer.
> Sun Certified Java Programmer (SCJP)



ds:Refence URI not Encripted

2009-01-22 Thread m4rkuz
Hi Everyone,

I'm new to Axis2 and Rampart, but I need to do something very easy with them
and haven't been able to do it..

The main problem is that I'm just to newbie at this, but for what I've learn
I had seen the problem described below...

I need to consume a WebService that only needs to be signed, I have trayed
the onlySing example for rampart but I keep getting:
*
FAULT MESSAGE: An unsupported token was provided*

Somebody has a working client made with the oracle suit, (I Cannot use that)
and send me an example soap message, comparing the two I only see one
diference

Mine:
...

...


the working one:


...



how can I do to encript that URI ???

I had attached the policy file..

any Ideas??



Cordialmente,


Marcus V. Sánchez D.
__
Enterprise Developer.
Sun Certified Java Programmer (SCJP)

	
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
	xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";>
	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>

	

			
		
	
	
		
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>

	

			
		
	
	
		
			
		
	
	
		
			
		
	
	
	

			
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

	
	

			
			http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>

			
			http://ws.apache.org/rampart/policy";>
sam
dave
com.heinsohn.test.PWCBHandler


	
		JKS
		
			C:\RUNT\keystore\mytestkeystore.jks
		mytestkeystore
	


	
		JKS
		
			C:\RUNT\keystore\mytestkeystore.jks
		mytestkeystore
	

			
		
	


RE: {Disarmed} Re: Empty Responses in Firefox

2009-01-22 Thread Andriy Zavada
I've deployed on IIS and it works!
But I have to use simple axis2 server. For me using IIS or Apache is 
undesirable.

Andriy

From: uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] On Behalf Of 
Uthaiyashankar
Sent: Thursday, January 22, 2009 5:59 PM
To: Apache AXIS C User List
Subject: {Disarmed} Re: Empty Responses in Firefox

Hi

It seems like when requesting for favicon.ico (MailScanner warning: numerical 
links are often malicious: 
http://127.0.0.1:9090/favicon.ico), it 
returns error. simple axis2 server cannot serve favicon.ico. So could you 
deploy the system in apache httpd, and setup an favicon.ico and see whether it 
works?

Regards,
Shankar
On Thu, Jan 22, 2009 at 4:41 PM, Andriy Zavada 
mailto:azav...@softservecom.com>> wrote:

I've built latest version of Axis2/C from SVN and still getting empty responses



Best regards,

Andriy Zavada



From: Andriy Zavada 
[mailto:azav...@softservecom.com]
Sent: Wednesday, January 21, 2009 8:17 PM

To: Apache AXIS C User List
Subject: RE: Empty Responses in Firefox



Even when I call http://localhost:9090/axis2/services I get empty responses 
sometimes.

I'm using Simple Axis2 HTTP Server.



Andriy



From: Andriy Zavada 
[mailto:azav...@softservecom.com]
Sent: Wednesday, January 21, 2009 6:45 PM
To: Apache AXIS C User List
Subject: RE: Empty Responses in Firefox



I'm using 1.5.0. Attached are tcpmon and server logs.

When I send from Firefox through tcpmon I always receive response, but when 
without tcpmon sometimes (40%) I got empty response (only HTTP OK).



Also I found that tcpmon sometimes sends multiple requests.



Best regards,

Andriy Zavada



From: uthaiyashan...@gmail.com 
[mailto:uthaiyashan...@gmail.com] On Behalf Of 
Uthaiyashankar
Sent: Wednesday, January 21, 2009 6:19 PM
To: Apache AXIS C User List
Subject: Re: Empty Responses in Firefox



When sending the request from firefox, can you capture the message using tcpmon 
and send it to us? Also, send the server log as well. You haven't specified 
which version of Axis2/C you are using. There was a bug fixed related to 
Firefox request [1][2], not sure you are having same problem. However, that 
problem is solved in the current trunk

Regards,
Shankar

[1] http://issues.apache.org/jira/browse/AXIS2C-1278
[2] 
http://markmail.org/message/m3uc2odt2lawlzwg#query:%22REST%20support%20on%20Axis2%2FC%22+page:1+mid:4kmm6ckuzhn6xwcw+state:results

On Wed, Jan 21, 2009 at 8:52 PM, Andriy Zavada 
mailto:azav...@softservecom.com>> wrote:

Can anyone help me on this?



From: Andriy Zavada 
[mailto:azav...@softservecom.com]
Sent: Tuesday, January 20, 2009 10:31 AM

To: Apache AXIS C User List

Subject: RE: Empty Responses in Firefox



The problem is that server doesn't return anything, only HTTP 200.

I'm using HTTP Analyzer to track all requests.



Andriy



From: Rajika Kumarasiri [mailto:rajik...@gmail.com]
Sent: Monday, January 19, 2009 7:54 PM
To: Apache AXIS C User List
Subject: Re: Empty Responses in Firefox





What's the Content-Type of the response. May be it is set incorrectly, so that 
the browser can't handle.

-Rajika

On Mon, Jan 19, 2009 at 10:43 PM, Andriy Zavada 
mailto:azav...@softservecom.com>> wrote:

Hi all,



I'm sending several requests from Firefox 3 to my web service and sometimes I'm 
getting empty responses.

When I am using tcpmon I receive response every time, the same in IE.



Can anyone help me on this?



Best regards,

Andriy Zavada





--
http://wso2.org/
http://llvm.org/
http://www.osdev.org/



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"



Re: Memory Leaks with Debug Build

2009-01-22 Thread Wiesner

Uthaiyashankar wrote:


Can you create a jira [1] for this? Which sample/policy file caused 
this problem?

[1] http://issues.apache.org/jira/browse/rampartc

Hello,
thank you for your fast response.

Ok, we did that: https://issues.apache.org/jira/browse/RAMPARTC-131


 



Running the test in debug mode but with Axis2 libraries build in
release
(either self-build or from the binary release) does not produce
the leak
though.


AFAIK, visual studio can find the leaks only when debug information is 
available. So even in release version, you might have the leaks, but 
visual studio might not report the error. Did you try to run it in 
loop and see the memory growth?




Yeah, we did that. The memory usage grew constantly very rapid.

Further question: is there any specific documentation, about what has to 
be freed when implementing the service client?
We tried to free the policy with 'neethi_policy_free' but that did not 
make any difference.


Regards,
Wiesner


Re: Empty Responses in Firefox

2009-01-22 Thread Uthaiyashankar
Hi

It seems like when requesting for favicon.ico (
http://127.0.0.1:9090/favicon.ico), it returns error. simple axis2 server
cannot serve favicon.ico. So could you deploy the system in apache httpd,
and setup an favicon.ico and see whether it works?

Regards,
Shankar

On Thu, Jan 22, 2009 at 4:41 PM, Andriy Zavada wrote:

>  I've built latest version of Axis2/C from SVN and still getting empty
> responses
>
>
>
> Best regards,
>
> Andriy Zavada
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Wednesday, January 21, 2009 8:17 PM
>
> *To:* Apache AXIS C User List
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> Even when I call http://localhost:9090/axis2/services I get empty
> responses sometimes.
>
> I'm using Simple Axis2 HTTP Server.
>
>
>
> Andriy
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Wednesday, January 21, 2009 6:45 PM
> *To:* Apache AXIS C User List
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> I'm using 1.5.0. Attached are tcpmon and server logs.
>
> When I send from Firefox through tcpmon I always receive response, but when
> without tcpmon sometimes (40%) I got empty response (only HTTP OK).
>
>
>
> Also I found that tcpmon sometimes sends multiple requests.
>
>
>
> Best regards,
>
> Andriy Zavada
>   --
>
> *From:* uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] *On
> Behalf Of *Uthaiyashankar
> *Sent:* Wednesday, January 21, 2009 6:19 PM
> *To:* Apache AXIS C User List
> *Subject:* Re: Empty Responses in Firefox
>
>
>
> When sending the request from firefox, can you capture the message using
> tcpmon and send it to us? Also, send the server log as well. You haven't
> specified which version of Axis2/C you are using. There was a bug fixed
> related to Firefox request [1][2], not sure you are having same problem.
> However, that problem is solved in the current trunk
>
> Regards,
> Shankar
>
> [1] http://issues.apache.org/jira/browse/AXIS2C-1278
> [2]
> http://markmail.org/message/m3uc2odt2lawlzwg#query:%22REST%20support%20on%20Axis2%2FC%22+page:1+mid:4kmm6ckuzhn6xwcw+state:results
>
> On Wed, Jan 21, 2009 at 8:52 PM, Andriy Zavada 
> wrote:
>
> Can anyone help me on this?
>   --
>
> *From:* Andriy Zavada [mailto:azav...@softservecom.com]
> *Sent:* Tuesday, January 20, 2009 10:31 AM
>
>
> *To:* Apache AXIS C User List
>
> *Subject:* RE: Empty Responses in Firefox
>
>
>
> The problem is that server doesn't return anything, only HTTP 200.
>
> I'm using HTTP Analyzer to track all requests.
>
>
>
> Andriy
>  --
>
> *From:* Rajika Kumarasiri [mailto:rajik...@gmail.com]
> *Sent:* Monday, January 19, 2009 7:54 PM
> *To:* Apache AXIS C User List
> *Subject:* Re: Empty Responses in Firefox
>
>
>
>
>
> What's the Content-Type of the response. May be it is set incorrectly, so
> that the browser can't handle.
>
> -Rajika
>
> On Mon, Jan 19, 2009 at 10:43 PM, Andriy Zavada 
> wrote:
>
> Hi all,
>
>
>
> I'm sending several requests from Firefox 3 to my web service and sometimes
> I'm getting empty responses.
>
> When I am using tcpmon I receive response every time, the same in IE.
>
>
>
> Can anyone help me on this?
>
>
>
> Best regards,
>
> Andriy Zavada
>
>
>
>
>
>
> --
> http://wso2.org/
> http://llvm.org/
> http://www.osdev.org/
>
>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


How to use Handler in c++ for attachment

2009-01-22 Thread jegan

Dear All,
 I am using c++ client for j2ee web service. Service method is
having one DataHandler object as parameter. So i have to pass one
DataHandler object to service method. I have searched the documents to use
Handler object in c++, but i couldn't find . Anybody is having ideas to use
Handler in c++ , please share with me..
-- 
View this message in context: 
http://www.nabble.com/How-to-use-Handler-in-c%2B%2B-for-attachment-tp21602702p21602702.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.



RE: Empty Responses in Firefox

2009-01-22 Thread Andriy Zavada
I've built latest version of Axis2/C from SVN and still getting empty responses

Best regards,
Andriy Zavada

From: Andriy Zavada [mailto:azav...@softservecom.com]
Sent: Wednesday, January 21, 2009 8:17 PM
To: Apache AXIS C User List
Subject: RE: Empty Responses in Firefox

Even when I call http://localhost:9090/axis2/services I get empty responses 
sometimes.
I'm using Simple Axis2 HTTP Server.

Andriy

From: Andriy Zavada [mailto:azav...@softservecom.com]
Sent: Wednesday, January 21, 2009 6:45 PM
To: Apache AXIS C User List
Subject: RE: Empty Responses in Firefox

I'm using 1.5.0. Attached are tcpmon and server logs.
When I send from Firefox through tcpmon I always receive response, but when 
without tcpmon sometimes (40%) I got empty response (only HTTP OK).

Also I found that tcpmon sometimes sends multiple requests.

Best regards,
Andriy Zavada

From: uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] On Behalf Of 
Uthaiyashankar
Sent: Wednesday, January 21, 2009 6:19 PM
To: Apache AXIS C User List
Subject: Re: Empty Responses in Firefox

When sending the request from firefox, can you capture the message using tcpmon 
and send it to us? Also, send the server log as well. You haven't specified 
which version of Axis2/C you are using. There was a bug fixed related to 
Firefox request [1][2], not sure you are having same problem. However, that 
problem is solved in the current trunk

Regards,
Shankar

[1] http://issues.apache.org/jira/browse/AXIS2C-1278
[2] 
http://markmail.org/message/m3uc2odt2lawlzwg#query:%22REST%20support%20on%20Axis2%2FC%22+page:1+mid:4kmm6ckuzhn6xwcw+state:results
On Wed, Jan 21, 2009 at 8:52 PM, Andriy Zavada 
mailto:azav...@softservecom.com>> wrote:

Can anyone help me on this?



From: Andriy Zavada 
[mailto:azav...@softservecom.com]
Sent: Tuesday, January 20, 2009 10:31 AM

To: Apache AXIS C User List
Subject: RE: Empty Responses in Firefox



The problem is that server doesn't return anything, only HTTP 200.

I'm using HTTP Analyzer to track all requests.



Andriy



From: Rajika Kumarasiri [mailto:rajik...@gmail.com]
Sent: Monday, January 19, 2009 7:54 PM
To: Apache AXIS C User List
Subject: Re: Empty Responses in Firefox





What's the Content-Type of the response. May be it is set incorrectly, so that 
the browser can't handle.

-Rajika

On Mon, Jan 19, 2009 at 10:43 PM, Andriy Zavada 
mailto:azav...@softservecom.com>> wrote:

Hi all,



I'm sending several requests from Firefox 3 to my web service and sometimes I'm 
getting empty responses.

When I am using tcpmon I receive response every time, the same in IE.



Can anyone help me on this?



Best regards,

Andriy Zavada





--
http://wso2.org/
http://llvm.org/
http://www.osdev.org/



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"