Error 407 Proxy Authentication Required

2008-09-26 Thread Stefan Lischke
Hi,

i found a lot of mails in this ml about the proxy authentication problem i am 
having.
Its best described at the end of this mail

http://www.mail-archive.com/axis-user@ws.apache.org/msg41921.html

Im connecting to a debian squid proxy.

Is there a solution to this problem or should i file a Jira.

Has someone a working system through a proxy with authentication?

thanx for any help on this issue.

Stefan



signature.asc
Description: OpenPGP digital signature


Re: Error 407 Proxy Authentication Required

2008-09-26 Thread Stefan Lischke
Here is the HTTP Post Request
Any Ideas why Proxy-Authorization looks so strange and Credentials: is empty?

I tried System.setProperty(http
and HttpTransportProperties.ProxyProperties
it switches proxy usage, but credentials arent set.

POST http://x HTTP/1.0\r\n
Request Method: POST
Request URI: http://x
Request Version: HTTP/1.0
Content-Type: text/xml; charset=UTF-8\r\n
SOAPAction: http://x\r\n
User-Agent: Axis2\r\n
Proxy-Connection: Keep-Alive\r\n
Content-Length: 5098
Proxy-Authorization: Basic Og==\r\n
Credentials: :
Host: x:4711\r\n
\r\n



Stefan Lischke wrote:
 Hi,
 
 i found a lot of mails in this ml about the proxy authentication problem i am 
 having.
 Its best described at the end of this mail
 
 http://www.mail-archive.com/axis-user@ws.apache.org/msg41921.html
 
 Im connecting to a debian squid proxy.
 
 Is there a solution to this problem or should i file a Jira.
 
 Has someone a working system through a proxy with authentication?
 
 thanx for any help on this issue.
 
 Stefan
 




signature.asc
Description: OpenPGP digital signature


Re: Error 407 Proxy Authentication Required

2008-09-26 Thread Stefan Lischke
Hi,

I created a Jira [1] for this
Its a blocker for me, because there is no other solution for this problem.

hope someone might take a look or report that she/he is running axis2 client 
through a proxy with
authentication.

thanx in advance

Stefan
[1] https://issues.apache.org/jira/browse/AXIS2-4050


Stefan Lischke wrote:
 Here is the HTTP Post Request
 Any Ideas why Proxy-Authorization looks so strange and Credentials: is empty?
 
 I tried System.setProperty(http
 and HttpTransportProperties.ProxyProperties
 it switches proxy usage, but credentials arent set.
 
 POST http://x HTTP/1.0\r\n
 Request Method: POST
 Request URI: http://x
 Request Version: HTTP/1.0
 Content-Type: text/xml; charset=UTF-8\r\n
 SOAPAction: http://x\r\n
 User-Agent: Axis2\r\n
 Proxy-Connection: Keep-Alive\r\n
 Content-Length: 5098
 Proxy-Authorization: Basic Og==\r\n
 Credentials: :
 Host: x:4711\r\n
 \r\n
 
 
 
 Stefan Lischke wrote:
 Hi,

 i found a lot of mails in this ml about the proxy authentication problem i 
 am having.
 Its best described at the end of this mail

 http://www.mail-archive.com/axis-user@ws.apache.org/msg41921.html

 Im connecting to a debian squid proxy.

 Is there a solution to this problem or should i file a Jira.

 Has someone a working system through a proxy with authentication?

 thanx for any help on this issue.

 Stefan

 
 




signature.asc
Description: OpenPGP digital signature


411 Length Required when using Squid proxy

2008-09-23 Thread Stefan Lischke
Hi,

I get an error message from our squid when using an axis2 client through a 
squid proxy with
authentication.

HTTP/1.0 411 Length Required
...
X-Squid-Error: ERR_INVALID_REQ 0


Does someone how to fix this?

thanx

Stefan



signature.asc
Description: OpenPGP digital signature


Re: howto avoid service isolation

2008-09-18 Thread Stefan Lischke
Thanx for your answer,

i tried using the ConfigurationContext, but when i put in an object from 
Service 1 and read it out
from Service 2 i get a ClassCastException when casting it to the right class.

Maybe thats because the different class-loaders? So i can only use simple java 
types to share
between both services? how can i share instances of my classes? do i have to 
put them in a lib in
the axis2/lib directory?

thanx for helping

Stefan

Deepal jayasinghe wrote:
 You can make them to a service group and then from the serviced group
 context you can share. Or you can put what you want to share into
 configuration context.
 
 -Deepal
 Hi,

 I have two Services, that needs to share a cache. How can i avoid service 
 isolation so that both
 service are using the same object?

 thx in advance

 Stefan

   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 




signature.asc
Description: OpenPGP digital signature


Re: howto avoid service isolation

2008-09-18 Thread Stefan Lischke
Deepal jayasinghe wrote:
 Stefan Lischke wrote:
 Thanx for your answer,

 i tried using the ConfigurationContext, but when i put in an object from 
 Service 1 and read it out
 from Service 2 i get a ClassCastException when casting it to the right class.
   
 Yes thats happen because of service isolation. Each service classes are
 loaded from different class loader. To avoid that problem you have to
 put that common class into a common place like lib directory.

ok thanx for help, thats what i done and it works like perfect.

Stefan




signature.asc
Description: OpenPGP digital signature


howto avoid service isolation

2008-09-15 Thread Stefan Lischke
Hi,

I have two Services, that needs to share a cache. How can i avoid service 
isolation so that both
service are using the same object?

thx in advance

Stefan



signature.asc
Description: OpenPGP digital signature


Databinding with JAXB documentation

2007-05-11 Thread Stefan Lischke
Hi there,

Is there any documentation about how to use JAXB Databinding within AXIS2?

thanx in advance

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]