[jboss-user] [JBossWS] - Re: how autheticate JME Client (midlet) on jboss server

2008-11-05 Thread jopersson
If you start with making the ws-client working from a plain JavaSE setup small app ? From there it is maybe easier for you to move to JavaME ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186945#4186945 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBossWS] - Re: Unsupported content type: application/xml

2008-11-05 Thread jopersson
Hi, Client libraries depends on enabled features like ws-security etc. It is easier to see the problem if you post client and server code snippets along with stack traces for both. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186943#4186943 Reply to the p

[jboss-user] [JBossWS] - Re: EJB client for a Web service

2008-11-05 Thread jopersson
Is the jndi name present in JNDIView in JMXConsole ? Does EJBClientItf annotate @Remote ? If you like you can extend your Web Service with a remote interface also, making EJBClient redundant ? | @Remote | public interface POJOWsItf | View the original post : http://www.jboss.com/inde

[jboss-user] [Remoting] - Re: https invoke with Remoting

2008-10-30 Thread jopersson
Thing is our Jboss server is not https aware but we have confirmed by enabling https on Jboss that Swing app can talk to Jboss server with: |// Swing client. |service = new KService(wsdlURL, new QName(namespaceURI, localpart)); |port = service.getKPort(); |

[jboss-user] [Remoting] - https invoke with Remoting

2008-10-29 Thread jopersson
Hi, Trying to invoke service from Java swing app over https and client certificate is not sent to server. Tested scenarios using SSLSocket and HttpsURLConnection. SSLSocket works and HttpsURLConnection does not. This code using SSLSocket to access the service works, it does not use any JbossRemo

[jboss-user] [JBossWS] - https jboss ws client

2008-10-28 Thread jopersson
Hi, Trying to use https endpoint address in client proxy (Jboss-4.2.3.GA) from java swing client with endorsed liraries and WS-Security UsernameToken enabled. Solution goes thru a Portwise security server like: swingclient->https->portwise->http->jboss-in-dmz. Code from Swing client: | Sy

[jboss-user] [JBossWS] - Re: @WebServiceRef not working in ear

2008-10-16 Thread jopersson
Would also like to bundle in EAR, but did not succeed..found this: "JBoss will not support the Java EE 5 EAR format until version JBoss 5.x." Maybe we have to wait until 5 is GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182563#4182563 Reply to the pos

[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: Unable to create Provi

2008-10-10 Thread jopersson
Hi, I'am run a java client with (also having the jboss ws client jar in cp) : -Djava.endorsed.dirs=C:/jboss-4.2.3.GA/lib/endorsed C:/jboss-4.2.3.GA/lib/endorsed : = jaxb-api.jar jboss-jaxrpc.jar jboss-jaxws-ext.jar jboss-jaxws.jar jboss-saaj.jar serializer.jar xalan.jar xerces

[jboss-user] [JBoss and NetBeans] - Re: From WAR to EAR problem

2008-10-09 Thread jopersson
As I understand jbossas 4 does fully support EE5 EAR apps ? ...maybe in jboss version 5 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181262#4181262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181262

[jboss-user] [JBoss and NetBeans] - From WAR to EAR problem

2008-10-09 Thread jopersson
Hi, Developing web app with Netbeans 6.1 and deploy it to Jboss 4.2.3. When deploying as WAR file it works fine. Now trying to repack into en EAR, but same web app does not work when bundled inside an EAR file ? (using Woodstock and JSF in web app) Any ides? Stack trace: 13:24:38,392 ERROR [

[jboss-user] [JBossWS] - Re: Username token is not interoperable with gSOAP client

2008-10-03 Thread jopersson
If possible run Wireshark Network Analyzer with "capture filter" host and compare the two client messages sent to server...but this "debugger" does not work if you are running locally, then maybe tcpmon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180216

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jopersson
(hope real experts can comment on this) For being on the safe side you shold not use concurrent calls on the port from your client app.. Instead collect your client calls and run them in sequence to the server endpoint...my personal opinion. View the original post : http://www.jboss.com/index.

[jboss-user] [JBossWS] - Re: Are ports reusable/concurrent?

2008-10-02 Thread jopersson
Bundled WSDL file in META-INF in client and loads it with classloader works fine and reduces network traffic. URL wsdlURL = Resources.findFileAsURL(wsdlURLFileName); String namespaceURI = Resources.getProperty("namespaceURI"); String localpart = Resources.getProperty("localpart"); service = new M

[jboss-user] [JBossWS] - Re: jbossws remote ws

2008-10-01 Thread jopersson
Had similar problem, found that our host name contains '_' cause the problem getting an output stream... If you have underscore in hostname try to remove that (RFC 2396). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179936#4179936 Reply to the post : http

[jboss-user] [JBossWS] - Re: JbossWS from ip address to host name

2008-10-01 Thread jopersson
Hi, Found the problem. We sit in a Windows environment where '_' is standard in machine names. Removed underscore and things work fine now. /johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179792#4179792 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBossWS] - JbossWS from ip address to host name

2008-09-30 Thread jopersson
Hi, Running Swing client endorsed from Jboss-4.2.3-GA release with JbossWS (native) it works fine when using server ip adderss : POST /KService HTTP/1.1 SOAPAction: "" Content-Type: text/xml; charset=UTF-8 JBoss-Remoting-Version: 22 User-Agent: JBossRemoting - 2.2.2.SP8 Host: 192.168.0.1:8080 Ac

[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule

2008-09-12 Thread jopersson
A (maybe not very good) way for getting client ip Thread.currentThread().getName() Name string is in format "someworkerthreadname#[127.0.0.1:1867]" and parse that string View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176056#4176056 Reply to the post : h

[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule

2008-09-11 Thread jopersson
Custom LoginModule is driven by Web Service's . I can see earlier on call stack that hostName and protocol can be found in LoginContext: my.security.auth.spi.DatabaseServerLoginModule.login(DatabaseServerLoginModule.java:116) sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.j

[jboss-user] [Security & JAAS/JBoss] - Peer address from LoginModule

2008-09-10 Thread jopersson
Hi, Building a LoginModule in Jboss base class AbstractServerLoginModule and need to get client peer address IP from within 'login' method? tia johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175593#4175593 Reply to the post : http://www.jboss.com/ind

[jboss-user] [EJB 3.0] - Loading properties from an EJB3

2008-08-29 Thread jopersson
Hi, Is it possible to load properties from a properties file with the @Resource annotation from within an EJB3 ? Or another way of doing it without using JNDI ? tia Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173279#4173279 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Load properties from an EJB3

2008-08-29 Thread jopersson
wrong forum...will repost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173278#4173278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173278 ___ jboss-user mailing list jboss

[jboss-user] [EJB/JBoss] - Load properties from an EJB3

2008-08-29 Thread jopersson
Hi, Is it possible to load properties from a properties file with the @Resource annotation from within an EJB3 ? Or another way of doing it without using JNDI ? tia Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173274#4173274 Reply to the post : h