[JBoss-user] [JBossWS] - Re: jbossws1.0.1.GA, JSR-181, Collections and an Exception

2006-06-15 Thread fheldt
Hello Chris, you cannot return a Collection in a WebService, see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportedDataTypes Normaly the best way is to change the return type to an array and return listUsers.toArray(). Frank View the original post :

[JBoss-user] [JBossWS] - Re: jbossws-1.0.1 released

2006-06-13 Thread fheldt
Hello Thomas, i downloaded jbossws-1.0.1.GA.zip and replaced jbossws.sar and jbossws-client.jar as described. Seems there is a dependency missing, cause now i get this error on startup of jboss-4.0.4.GA (from server.log): | 2006-06-13 08:56:59,336 INFO

[JBoss-user] [JBossWS] - Re: JSR-181 POJO and JAAS

2006-06-08 Thread fheldt
Thomas, thanks for your reply, i didn't know that fact. But: my sample is a EJB Endpoint, so the question remains: Why does it not work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949793#3949793 Reply to the post :

[JBoss-user] [JBossWS] - JSR-181 EJB Endpoint with BASIC Authentication

2006-06-08 Thread fheldt
I'm currently switching a EJB WebService from JBoss.NET to JBossWS (4.0.4GA) using JSR-181/EJB3 and now i'm running into problems. The old JBoss.NET Version had a .NET Client which authenticates via BASIC Authentication (and it works btw). In the new JSR-181 Version i used the @PortComponent

[JBoss-user] [JBossWS] - Re: JSR-181 POJO and JAAS

2006-06-07 Thread fheldt
I'm running into the same problem at the moment. I put an extra @PortComponent Annotation to the Sessionbean, but that doesn't fix it either. | @Stateless | @WebService( | name=MyService, | serviceName=MyService | ) | @SOAPBinding( | style=SOAPBinding.Style.RPC, |

[JBoss-user] [JBossWS] - Re: Problem passing Vector over the wire

2006-03-29 Thread fheldt
You cannot return a Vector in a webservice. Change that to an array (if possible) an return vec.toArray(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933303#3933303 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933303

[JBoss-user] [JBossWS] - Re: jbossws under jboss-4.0.x ?

2006-03-13 Thread fheldt
I did another cvs update today and gave my little sample another try, this time with much more luck :-) I wrote a little Testclient with C#/.NET and it works like a charm, until the parameter string doesn't contain an umlaut. Calling sayHello with Müller gives: | 2006-03-13 14:28:19,068

[JBoss-user] [JBossWS] - Re: jbossws under jboss-4.0.x ?

2006-03-06 Thread fheldt
I did a cvs update today and rebuild the hole stuff. This is my testejb3.jar HelloService.java | package com.dhc; | | import javax.ejb.Remote; | | @Remote | public interface HelloService { | public String sayHello(String name); | } | HelloServiceBean.java | package

[JBoss-user] [JBossWS] - jbossws under jboss-4.0.x ?

2006-03-02 Thread fheldt
I'm sorry, but i don't get it. :-~ I wanted to try out the new jbossws stack (JSR-181 is nice :-), so i did everything decribed in http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDeployJBossWS to setup the new jbossws stack. I'm using jboss-4.0.4RC1 and took the binaries from docs/examples/jbossws.

[JBoss-user] [JBoss Portal] - Re: UTF-8 form support not working Jboss portal?

2005-09-15 Thread fheldt
You have to submit the form with the right charset form method='post' accept-charset=UTF-8 ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894886#3894886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894886

[JBoss-user] [JBoss.NET SOAP] - Re: Authorization problem using .net client

2004-07-14 Thread fheldt
IMHO the problem with .NET is, that the PreAuthenicate Method doesn't work as expected. The first call is done without Authorization - Header, only subsequent calls get the right header. But you can workaround this easily with a little subclassing: | using System; | | public class

[JBoss-user] [JBoss.NET SOAP] - Re: Changing in0,in1,... into more proper parameter names

2004-07-07 Thread fheldt
Do you have the xdoclet-module-jboss-net.jar from http://prdownloads.sourceforge.net/jboss/xdoclet-module-jboss-net.jar?download ? If so, this one doesn't include support for the jboss.wsdd-operation tag. I got it from http://www.nsdev.org/jboss/stories/jboss-net.html Don't know if there is

[JBoss-user] [JBoss.NET SOAP] - Re: Changing in0,in1,... into more proper parameter names

2004-07-06 Thread fheldt
Do you mean this? | /** | * ... | * @ejb.interface-method | * @jboss-net.web-method | * @jboss-net.wsdd-operation returnQName=key | */ | public void doSomething(Short key) throws Exception { | ... | } | View the original post :

[JBoss-user] [JBoss.NET SOAP] - Re: C# Client - Session problem

2004-06-09 Thread fheldt
1. Does your webservice.xml contain ? (or @jboss-net.web-service scope=Session if using xdoclet) 2. I suppose in your java-axis-client you have written stub.setMaintainSession(true); In .NET (here C#) you need the equivalent: webservice.CookieContainer = new CookieContainer(); Hope this

[JBoss-user] [JBoss.NET SOAP] - Mysterious warning with JBoss.NET webservice

2004-05-07 Thread fheldt
I have a mysterious warning showing up in the server.log file with my webservice. First i build my webservice with xdoclet from a session bean * @ejb.permission role-name=Master,Admin,Operator,User * @jboss-net.authorization *domain=dhcRealm *roles-allowed=Master,Admin,Operator,User

[JBoss-user] [JBoss.NET SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM

2004-04-07 Thread fheldt
Yes, i meant xdoclet, sorry for confusion. Does your webservice.xml contain lines like the following? | handler type=java:org.jboss.net.axis.server.JBossAuthenticationHandler | parameter name=securityDomain value=java:/jaas/.../ | /handler | handler

[JBoss-user] [JBoss.NET SOAP] - Re: Authentification with JBoss.NET and DatabaseServerLoginM

2004-04-06 Thread fheldt
Do you use ant? Then putting * @jboss-net.authentication * domain=openbroad * validate-unauthenticated-calls=true * * @jboss-net.authorization * domain=openbroad in your (Webservice) Session Bean should do the job, which means it puts the corresponding entry in webservice.xml View

[JBoss-user] [JBoss.NET SOAP] - HttpSession with JBoss.net

2004-03-25 Thread fheldt
Is it possible to use a Session (e.g. HttpSession) with JBoss.net? I have a stateless Session Bean as a webservice and it does fine. Now i have to add something like a cart, so it seems i need something like a HttpSession. In Axis i can use this: MessageContext mc =

[JBoss-user] [JBoss.NET SOAP] - Re: JBoss.net XDoclet module

2004-03-11 Thread fheldt
I'm using the xdoclet-module from http://prdownloads.sourceforge.net/jboss/xdoclet-module-jboss-net.jar?download with eclipse 2.1.2 without a problem. I just put it in the plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.2 dir and it worked. Frank a