[JBoss-user] [JBossWS] - Using a Web App Session with SOAP requests

2005-10-28 Thread bsheward
Hi, In my application, I want to force the users to login to a web application before they can use the application which communicates via SOAP. I have setup the web app based login, and can see a Subject gets created, but for some reason, when the app which uses SOAP sends its first request, i

[JBoss-user] [JBossWS] - Re: webservice.xml generation via wseedoclet task

2005-07-19 Thread bsheward
Oops, I mean, this is the line that I added to my Ant build.xml file: | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885505#3885505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885505 --

[JBoss-user] [JBossWS] - Re: webservice.xml generation via wseedoclet task

2005-07-19 Thread bsheward
I had the same problem with the META-INF and WEB-INF names and couldn't find any way to resolve it either, so I added the following line to my Ant build.xml file: This seemed to work just fine. Barry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885504#

[JBoss-user] [JBossWS] - Re: java.lang.ClassCastException: org.jboss.axis.message.RPC

2005-07-19 Thread bsheward
This strange behaviour does not just happen with returned values, I also have problems when passing parameters. Parameters which are arrays of objects work fine, but parameters which are scalar objects fail. For example, the following code fails: | public void testObjectParam() throws E

[JBoss-user] [JBossWS] - Writing clients to use BASIC/CONFIDENTIAL endpoints

2005-07-13 Thread bsheward
Hi, I want to use the following configuration which requires SSL and HTTP authentication: | | OrgEndpoint | /orgainization/* | BASIC | CONFIDENTIAL | | How can I change my Java client code to force it to use SSL and HTTP authenticat

[JBoss-user] [JBossWS] - Re: java.lang.ClassCastException: org.jboss.axis.message.RPC

2005-07-13 Thread bsheward
In case it is relevant, my implementation of getService() is: | protected Service getService( ) throws MalformedURLException, ServiceException { | URL wsdlLocation = new URL( urlstr ); | URL mappingLocation = this.getClass().getClassLoader().getResource( "META-INF/ja

[JBoss-user] [JBossWS] - How can I get the username when using BASIC auth-method

2005-07-13 Thread bsheward
Hi, I read about securing the endpoints on the Wiki page http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint, but I was wondering, is there any way in the session bean that I can find out the username and password which was used to access the endpoint when using the BASIC/CONFIDENTIAL au

[JBoss-user] [JBossWS] - java.lang.ClassCastException: org.jboss.axis.message.RPCPara

2005-07-12 Thread bsheward
Hi, I think I'm finally getting the hang of things, but I'm having some weird behaviour. I have been able to return an array of TestValueObject objects from a web services server and the client was able to work with the returned array just fine. The client code (a JUnit test) is: | pub

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-07-12 Thread bsheward
Thomas, You wrote: "[EMAIL PROTECTED]" wrote : Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. | | Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | | | | Service

[JBoss-user] [JBossWS] - Re: Unable to deserialize simple arrays of int and String

2005-07-11 Thread bsheward
Jason, Thanks so much for this information. When I started using the JARs in jboss/client, rather than the JWSDP JARs I was then able to work with simple arrays. Barry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884424#3884424 Reply to the post : http

[JBoss-user] [JBossWS] - Re: Hey ... I need a complete example of web service ... cou

2005-07-07 Thread bsheward
"[EMAIL PROTECTED]" wrote : What specifically is not clear about the wiki and the samples? Thomas, I would like to see what JARs we should have in the classpath to run a simple JAX-RPC client. I just read a post which stated I was using Sun's implementation of JAX-RPC rather than the JBoss one

[JBoss-user] [JBossWS] - Unable to deserialize simple arrays of int and String

2005-07-05 Thread bsheward
gArray 15:02:37,853 WARN [TypeMappingDescription] Class not found: com.cybertrust.rmp2.interfaces._arrays.intArray 15:02:37,857 INFO [AxisService] WSDD published to: /home/bsheward/rmp2/rmp2/jboss/server/dev/data/wsdl/rmp.ear/rmp.jar/WebServicesTest.wsdd I'm using wscompile to generate the

[JBoss-user] [JBossWS] - Re: Questions about the Wiki Page WSServerEJB

2005-07-05 Thread bsheward
Claire, Thanks. I'm now able to call a really simple web service. I think the problem was that I had a lot of these files at the EAR level, rather than the JAR level. Once I changed things to: test.ear test.ear/META-INF/MANIFEST.MF test.ear/META-INF/application.xml test.ear/test.jar test.ear/te

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-07-05 Thread bsheward
Thomas, Re: | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | I can't see anything in javax.xml.rpc.ServiceFactory which resembles the createService() method shown ab

[JBoss-user] [JBossWS] - Questions about the Wiki Page WSServerEJB

2005-06-29 Thread bsheward
Hi, I have a couple of questions about the WSServerEJB Wiki Page (http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB). There is a section that states: When you deploy the jar that contains all the artifacts we just taked about, you should see something like this in the JBoss console 14