RE: Empty Responses in Firefox
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 azav...@softservecom.commailto:azav...@softservecom.com wrote: Can anyone help me on this? From: Andriy Zavada [mailto:azav...@softservecom.commailto: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.commailto: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 azav...@softservecom.commailto: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
How to use Handler in c++ for attachment
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
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 azav...@softservecom.comwrote: 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 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 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
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: {Disarmed} Re: Empty Responses in Firefox
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.icohttp://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 azav...@softservecom.commailto: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.commailto: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.commailto: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.commailto:uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.commailto: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 azav...@softservecom.commailto:azav...@softservecom.com wrote: Can anyone help me on this? From: Andriy Zavada [mailto:azav...@softservecom.commailto: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.commailto: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 azav...@softservecom.commailto: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
ds:Refence URI not Encripted
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: ... ds:Reference URI=#Id-20736546 ... ds:Reference URI=#Timestamp-16437003 the working one: dsig:Reference URI=#bcyKqLafyGSUXDbAEVXbIg22 ... dsig:Reference URI=#5KdQ0TRTux484dTYM5mpHQ22 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) ?xml version=1.0 encoding=UTF-8? !-- ! ! Copyright 2006 The Apache Software Foundation. ! ! Licensed under the Apache License, Version 2.0 (the License); ! you may not use this file except in compliance with the License. ! You may obtain a copy of the License at ! ! http://www.apache.org/licenses/LICENSE-2.0 ! ! Unless required by applicable law or agreed to in writing, software ! distributed under the License is distributed on an AS IS BASIS, ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ! See the License for the specific language governing permissions and ! limitations under the License. ! -- wsp:Policy wsu:Id=SigOnly xmlns:wsu=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; wsp:ExactlyOne wsp:All sp:AsymmetricBinding xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; wsp:Policy sp:InitiatorToken wsp:Policy sp:X509Token sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient; wsp:Policy sp:WssX509V3Token10 / /wsp:Policy /sp:X509Token /wsp:Policy /sp:InitiatorToken sp:RecipientToken wsp:Policy sp:X509Token sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never; wsp:Policy sp:WssX509V3Token10 / /wsp:Policy /sp:X509Token /wsp:Policy /sp:RecipientToken sp:AlgorithmSuite wsp:Policy sp:TripleDesRsa15 / /wsp:Policy /sp:AlgorithmSuite sp:Layout wsp:Policy sp:Strict / /wsp:Policy /sp:Layout sp:IncludeTimestamp / sp:OnlySignEntireHeadersAndBody / /wsp:Policy /sp:AsymmetricBinding sp:Wss10 xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; wsp:Policy sp:MustSupportRefKeyIdentifier / sp:MustSupportRefIssuerSerial / /wsp:Policy /sp:Wss10 sp:SignedParts xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy; sp:Body / /sp:SignedParts ramp:RampartConfig xmlns:ramp=http://ws.apache.org/rampart/policy; ramp:usersam/ramp:user ramp:encryptionUserdave/ramp:encryptionUser ramp:passwordCallbackClasscom.heinsohn.test.PWCBHandler /ramp:passwordCallbackClass ramp:signatureCrypto ramp:crypto provider=org.apache.ws.security.components.crypto.Merlin ramp:property name=org.apache.ws.security.crypto.merlin.keystore.typeJKS/ramp:property ramp:property name=org.apache.ws.security.crypto.merlin.file C:\RUNT\keystore\mytestkeystore.jks/ramp:property ramp:property name=org.apache.ws.security.crypto.merlin.keystore.passwordmytestkeystore/ramp:property /ramp:crypto /ramp:signatureCrypto ramp:encryptionCrypto ramp:crypto provider=org.apache.ws.security.components.crypto.Merlin ramp:property name=org.apache.ws.security.crypto.merlin.keystore.typeJKS/ramp:property ramp:property name=org.apache.ws.security.crypto.merlin.file C:\RUNT\keystore\mytestkeystore.jks/ramp:property ramp:property name=org.apache.ws.security.crypto.merlin.keystore.passwordmytestkeystore/ramp:property /ramp:crypto /ramp:encryptionCrypto /ramp:RampartConfig /wsp:All /wsp:ExactlyOne /wsp:Policy
Re: ds:Refence URI not Encripted
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: ... ds:Reference URI=#Id-20736546 ... ds:Reference URI=#Timestamp-16437003 the working one: dsig:Reference URI=#bcyKqLafyGSUXDbAEVXbIg22 ... dsig:Reference URI=#5KdQ0TRTux484dTYM5mpHQ22 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)
Re: {Disarmed} Re: Empty Responses in Firefox
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 azav...@softservecom.comwrote: 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.icohttp://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 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 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 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 -- S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - The Open Source SOA Company