[jboss-user] [JBossWS] - Re: SAAJ API & basic authentication (AS 4.0.4)

2006-09-14 Thread mhae
Thanks. I couldn't find the test case you are talking about but it is probably similar to this: MessageFactory messagefactory = MessageFactory.newInstance(); SOAPMessage message = messagefactory.createMessage(); SOAPPart soapPart = message.getSOAPPart(); SOAPEnvelope envelope

[jboss-user] [JBossWS] - SAAJ API & basic authentication (AS 4.0.4)

2006-09-07 Thread mhae
I secured my web service with basic authentication and I'm trying to use the SAAJ API to access it: //System.setProperty("http.basic.username", "user"); //System.setProperty("http.basic.password", "pass"); URL endpointUrl = new URL(endpoint); SOAPMessage response = connection.call(message,