[JBoss-user] [JBossWS] - Re: ClassNotFoundException with jbossws1.0.1

2006-06-19 Thread dannox02
I am still having problems getting jboss1.0.1 to work correctly. Here are the steps I used to set this up. 1. Download jboss 4.0.4 GA zip file and unzip 2. Delete client/jbossws14-client.jar and /server/default/deploy/jboss14.sar 3. Replace the above files with the .jar and .sar from jbossws 1.0.

[JBoss-user] [JBossWS] - Re: ClassNotFoundException with jbossws1.0.1

2006-06-14 Thread dannox02
Yes it is exactly the same, I just copied from one directory to the other. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950926#3950926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950926 __

[JBoss-user] [JBossWS] - ClassNotFoundException with jbossws1.0.1

2006-06-14 Thread dannox02
I've just upgraded my jbossws installation from jbossws1.0.0 GA to jbossws 1.0.1. My test service that worked fine on 1.0.0 (a jsr-181 POJO endpoint) deploys fine, but when I try to invoke an operation I get the following ClassNotFoundException. I am using JBoss 4.0.4 GA which was unzipped (I d

[JBoss-user] [JBossWS] - Re: 4.0.4 GA and jbossws

2006-05-17 Thread dannox02
Ok, this would be the problem. I am not installing using the installer, just the downloading the zip file. I'll give the installer a try to see what happens. This would also explain the deployment scanner error I'm getting about EJB3 when I install jbossws GA manually. Thanks, View the origina

[JBoss-user] [JBossWS] - Re: 4.0.4 GA and jbossws

2006-05-17 Thread dannox02
Well it contains jbossws14.sar and jbossws-client14.jar, but you can't deploy a jsr181 pojo with these (as has been noted in several posts now) unless you install jbossws.sar and jbossws-client.jar from the jbossws GA release which must be downloaded seperately Am I really missing some

[JBoss-user] [JBossWS] - 4.0.4 GA and jbossws

2006-05-17 Thread dannox02
I've been trying out the jbossws to create jsr-181 pojo syle endpoints on CR2. I know that on CR2 you had to manually copy the jbossws GA files to get things working. I assumed that 4.0.4 GA would include the jbossws GA, but it looks like I still have to copy the jbossws manually to get this w

[JBoss-user] [JBossWS] - Re: Can't build jbossws samples

2006-05-15 Thread dannox02
Thanks, I upgraded to the GA release for ws and it is working fine now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943523#3943523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943523

[JBoss-user] [JBossWS] - Re: Can't build jbossws samples

2006-05-10 Thread dannox02
Also this example is from trying to build the jsr181pojo example. However I get the same problem even with examples I write myself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942650#3942650 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [JBossWS] - JSR181 web service deployment error.

2006-05-10 Thread dannox02
I originally posted this as a reply to another post, but then thought it would be better to start a new topic. I have been trying to get some simple web services going using the JSR181 based on the user guide example code as well as some of the things I've found on the forum. However, I always

[JBoss-user] [JBossWS] - Can't build jbossws samples

2006-05-10 Thread dannox02
I've been trying to get my web services working on Jboss 4.0.4CR2 and have had no luck at all :-( First I can't compile the sample files or my own examples with Ant. When I run the build I get the following error: | compile15: | [javac] Compiling 6 source files to D:\jbossws-samples-1.

[JBoss-user] [JBossWS] - Re: JSR181 Annotated Web Services Intro

2006-05-10 Thread dannox02
I've been trying to do exactly this but have had no luck. So now I've copied your example exactly and tried these steps. I always get the following error with mine and your example: | 08:29:15,625 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4. | 0.4.CR2/server/default/

[JBoss-user] [JBossWS] - Re: Deploying service with arrays

2006-05-04 Thread dannox02
"esvehla" wrote : | We ended up moving to JBoss 4.0.4.CR2 which gets you past this problem but we have a new set of problems. | Actually, that was going to my next question. Does 4.0.4 fix the problem with arrays? I have not considered starting from WSDL since I am actually exposing a bun

[JBoss-user] [JBossWS] - Deploying service with arrays

2006-05-04 Thread dannox02
I've done a bunch of searching around on this already and have found a solution, but I'm a little confused about if this is my only option. I have a simple service which returns an array of a simple complex type. I'm using wscompile to build the service, everything deploys fine, but when invoked

[JBoss-user] [JBossWS] - XDoclet to generate webservices.xml

2006-03-30 Thread dannox02
I'm trying to get my web service build automated with Ant and XDoclet. After some messing around, I finally got the wscompile task working, but I'm having the following problem with the XDoclet piece: When I run the wseedoclet task to generate webservices.xml, I get an invalid entry. Here is

[JBoss-user] [JBossWS] - Minimal ws4ee deployment

2005-09-16 Thread dannox02
We are using JBoss 4.0.2 as our application server, but at this only need bare bones installation. We have removed all the files from the server/default/deploy/ directory except the jbossweb-tomcat55.sar which leaves with enough to serve up JSP/JSF etc. Now we are adding web service support, so

[JBoss-user] [JBossWS] - Re: Using custom exception inheritance

2005-06-08 Thread dannox02
Anybody know about this? Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880866#3880866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880866 --- This SF.Net

[JBoss-user] [JBossWS] - Re: Using custom exception inheritance

2005-06-07 Thread dannox02
"[EMAIL PROTECTED]" wrote : Why not? Give it a try!!! Well, I'm asking because I did try and it did not work. And I haven't been able to find a way to get it to work. If the specifies that it throws a ParentException, but really throws a ChildException, the ChildException is not caught by the c

[JBoss-user] [JBossWS] - Using custom exception inheritance

2005-06-07 Thread dannox02
I have a web service that I have defined to throw a custom exception, which works fine. However now I'd like to go a step further and define new exceptions that derive from that exception. For example: My parent exception is ParentException, and it has two derived exceptions, ChildExceptionA an

[JBoss-user] [JBossWS] - Re: Arrays of complex types

2005-05-27 Thread dannox02
Oooops... forget my previous post, turns out to be a stupid mistake on my part... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879302#3879302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879302 -

[JBoss-user] [JBossWS] - Arrays of complex types

2005-05-27 Thread dannox02
I have an RPC Literal service on JBoss 4.0.2 with two methods, one takes an array of complex types as a parameter, the other returns a similar array of complex types. Based on the Wiki, I have wrapped these arrays in an object so now one method takes an object parameter, the other returns an o

[JBoss-user] [Security & JAAS/JBoss] - Re: Single sign on options

2005-05-06 Thread dannox02
Ok, I'm trying to get this to work as explained in the wiki. But when I uncomment out the line to turn on that valve and restart the server it does not start properly. Looks like there's a class not found exception, but there are som many errors that fly by I can't see what started it. As a re

[JBoss-user] [Security & JAAS/JBoss] - Re: Single sign on options

2005-05-05 Thread dannox02
What about JOSSO support in 4.0.2? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876670#3876670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876670 --- This SF.Ne

[JBoss-user] [Security & JAAS/JBoss] - Single sign on options

2005-05-05 Thread dannox02
Hi all, I'm a security newb and just trying to get a hight level feel for what JBoss 4.0.2 has to offer for single sign on. I have a we application that spans multiple WAR files (on a single server for now) however we need to be able to have a single sign on point so that when the client gets

[JBoss-user] [JBossWS] - Re: Using wscompile for doc/lit

2005-04-26 Thread dannox02
Sounds good! Of course, this leads back to my original question... how? ;-) I've tried a bunch of different options with wscompile, but it still produces the wrapper classes, and referenes those in the mapping file. How do I run wscompile so that the mapping file does not reference the wrapper t

[JBoss-user] [JBossWS] - Re: Microsoft .NET interop.

2005-04-26 Thread dannox02
This is the really hard decision in my case. I've read plenty of articles supporting the use of only doc/lit, some supporting use of RPC, some "wrapped" The way I see it, each type of service has it's place and it's pros and cons. I don't really understand why you should ALWAYS use doc/lit.

[JBoss-user] [JBossWS] - Re: Using wscompile for doc/lit

2005-04-26 Thread dannox02
"[EMAIL PROTECTED]" wrote : Another option is, to start of with a req/res structures in your SEI and do the unwrapping in your impl code. I think this is what I'm getting at, but I can't figure out how to do that... do you mean I can start with this kind of code: | public interface MathService

[JBoss-user] [JBossWS] - Re: Microsoft .NET interop.

2005-04-26 Thread dannox02
Well, I was able to create a C# client to a basic rpc/literal service that just returned a String. No complex types, or exceptions... using .NET 2.2 and Visual C# 2005 express edition beta 2. But I keep running into stumbling blocks... what you said about exceptions has me worried, I haven't pl

[JBoss-user] [JBossWS] - Microsoft .NET interop.

2005-04-25 Thread dannox02
Hey all... time to gripe about Microsoft! I know that the current release of .NET will not write a client to a rpc/literal service, but I downloaded the new trial for VC# 2005 and the .NET 2.2 framework and it seems to create clients to rpc/literal service just fine. BUT according to the docum

[JBoss-user] [JBossWS] - Using wscompile for doc/lit

2005-04-25 Thread dannox02
This is really a wscompile question, but I thought I'd ask here to see if anyone could help. I am able create and deploy a doc/lit service as described in the Wiki, but I find the process to be a real pain. Here's what I'm talking about. You create an interface such as: | public interface Ma

[JBoss-user] [JBossWS] - Custom exception containing an array

2005-04-18 Thread dannox02
Hi all, I am trying to get custom exceptions to work. I have succeeded in getting a simple custom exception to work, that I can catch on the client and get the error etc. I am using: - JBoss 4.0.2RC1 - Document literal service For example, the following works fine: | public class CustomExce

[JBoss-user] [JBossWS] - Re: Returning a complex type

2005-04-18 Thread dannox02
Good question, especially since my final product will have to do just that ;-) I'll give it a try and see what happens. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874302#3874302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [JBossWS] - Re: Determining who called web service

2005-04-05 Thread dannox02
Never mind... I think I got it ;) I called MessageContext.getPropertyNames() to see what was available and there it was... remoteaddr! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872767#3872767 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [JBossWS] - Determining who called web service

2005-04-05 Thread dannox02
Hi all, Is it possible to log details about the caller of your web method in a Handler? I have created a handler which I can use to extract the username and password from the MessageContext for authentication purposes. I'd also like to create a logging Handler to log other details. In particul

[JBoss-user] [JBossWS] - Re: Returning a complex type

2005-04-05 Thread dannox02
That did it! Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872724#3872724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872724 --- SF email is sponsored by

[JBoss-user] [JBossWS] - Returning a complex type

2005-04-04 Thread dannox02
I have a web service deployed as rpc-literal. I have two methods, one returns an int, the other a complex type "Persion". What steps do I need to follow to get serialzation/deserialization of my complex type to work? I've found alot of examples of web services using simple types... none with com

[JBoss-user] [JBossWS] - Hide WSDL

2005-03-31 Thread dannox02
Hi all, Is there a way to keep the WSDL for a deployed web service from being displayed when a user uses the URL http://abc.com/servce?wsdl? If so, is it possible to hide only selected WSDL but allow others to be displayed? I have to host several web services on the same server, some of whic

[JBoss-user] [JBossWS] - Re: Step by step tutorial for document style web services

2005-02-13 Thread dannox02
Thanks Thomas, this helps a lot! I know now what I was missing from my implementation. I had a String parameter, but the stubs were created with a complex type parameter, and I never changed my implementation side to match this. So I figure that will fix the problem I was seeing here: http://w

[JBoss-user] [JBossWS] - Re: Step by Step Tutorials

2005-02-11 Thread dannox02
Sorry before when I said replace "-f:server" I meant to say replace the "-f:rpcliteral" with "-f:documentliteral"... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866287#3866287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [JBossWS] - Re: Step by Step Tutorials

2005-02-11 Thread dannox02
Thanks, it's great to see these tutorials. But why do you use rpc/literal services when document/literal is what is more interoperable with other platforms? .NET just ignores rpc/literal services... Any chance of getting a tutorial to show what would be different in these tutorials to deploy an

[JBoss-user] [JBossWS] - Document literal services

2005-02-11 Thread dannox02
I'm new to JBossWS, but have experience using AXIS. I'm having trouble with using document/literal for my web services in JBossWS. I have written a very simple service (as a standard JSE not an EJB): 1 method that takes a String parameter and no return value. I can easily expose and use this a