[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-31 Thread zozilla
acxsjones, i met the same question you've met.
in a standalone client, i wrote

  | String namespaceURI = "..";
  | List list = new ArrayList();
  | HandlerInfo hi = new HandlerInfo();
  | hi.setHandlerClass(MyClientHandler.class);
  | list.add(hi);
  | 
  | service.getHandlerRegistry().setHandlerChain(
  | new QName(namespaceURI, "WSEEDemoEndpointPort"),
  | list);
  | 
it throws such exception, it seems should be work, but it throws such excpetion 

  | java.lang.UnsupportedOperationException: Components should not use the 
getHandlerRegistry() method
  | 
can anybody help me?

View the original post : 
http://locahost:8080/index.html?module=bb&op=viewtopic&p=3892524#3892524

Reply to the post : 
http://locahost:8080/index.html?module=bb&op=posting&mode=reply&p=3892524


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-26 Thread [EMAIL PROTECTED]
In case you don't know how to do this for a standalone java client, have a look 
at application-client.xml. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891754#3891754

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891754


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-26 Thread [EMAIL PROTECTED]
With J2EE-1.4 compliant WS clients, you add the handler to the service-ref 
element, like this


  |   
  | 
  |   HelloEjb
  |   org.jboss.test.webservice.handlerflow.HelloHome
  |   org.jboss.test.webservice.handlerflow.HelloRemote
  |   org.jboss.test.webservice.handlerflow.HelloBean
  |   Stateless
  |   Container
  |   
  | service/HelloService
  | javax.xml.rpc.Service
  | META-INF/wsdl/HelloService.wsdl
  | 
META-INF/jaxrpc-mapping.xml
  | 
  |   ClientHandler1
  |   
org.jboss.test.webservice.handlerflow.ClientHandler1
  |   impl:HelloHeader
  | 
  | 
  |   ClientHandler2
  |   
org.jboss.test.webservice.handlerflow.ClientHandler2
  |   impl:HelloHeader
  | 
  |   
  | 
  |   
  | 

There is no portable API that allows you to do that in WS4EE. Access to 
HandlerRegistry is not allowed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891752#3891752

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891752


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-25 Thread acxsjones
OK I am lost:

The example you pointed me to is calling an EJB.

I have a test client that was built from the wsdl of an ejb under 4.0.2 with 
wscompile.  

I can talk to the ejb via soap xml and the wsdl with no problem.  I can not 
find any way to add a soap header to the classes already generate from 
wscompile.

So I need an example of a j2se client that calls a webserice with a soap header.

I have been able to attach a handler to the server side, but my client is not 
running under a container.

Thanks for any help you can give.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891727#3891727

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891727


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-25 Thread [EMAIL PROTECTED]


  | [EMAIL PROTECTED] /cygdrive/d/projects/jboss-branch/jboss-4.0.x/testsuite
  | $ ant -Dtest=org.jboss.test.webservice.handlerflow.HandlerFlowTestCase 
one-test
  | 
  | one-test:
  | [junit] Running 
org.jboss.test.webservice.handlerflow.HandlerFlowTestCase
  | [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.512 sec
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891691#3891691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891691


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Looking for example code

2005-08-22 Thread acxsjones
Any help out there

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891069#3891069

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891069


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user