[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 = ..;
  | ListHandlerInfo list = new ArrayListHandlerInfo();
  | 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=bbop=viewtopicp=3892524#3892524

Reply to the post : 
http://locahost:8080/index.html?module=bbop=postingmode=replyp=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]
With J2EE-1.4 compliant WS clients, you add the handler to the service-ref 
element, like this


  |   enterprise-beans
  | session
  |   ejb-nameHelloEjb/ejb-name
  |   homeorg.jboss.test.webservice.handlerflow.HelloHome/home
  |   remoteorg.jboss.test.webservice.handlerflow.HelloRemote/remote
  |   ejb-classorg.jboss.test.webservice.handlerflow.HelloBean/ejb-class
  |   session-typeStateless/session-type
  |   transaction-typeContainer/transaction-type
  |   service-ref
  | service-ref-nameservice/HelloService/service-ref-name
  | service-interfacejavax.xml.rpc.Service/service-interface
  | wsdl-fileMETA-INF/wsdl/HelloService.wsdl/wsdl-file
  | 
jaxrpc-mapping-fileMETA-INF/jaxrpc-mapping.xml/jaxrpc-mapping-file
  | handler
  |   handler-nameClientHandler1/handler-name
  |   
handler-classorg.jboss.test.webservice.handlerflow.ClientHandler1/handler-class
  |   soap-headerimpl:HelloHeader/soap-header
  | /handler
  | handler
  |   handler-nameClientHandler2/handler-name
  |   
handler-classorg.jboss.test.webservice.handlerflow.ClientHandler2/handler-class
  |   soap-headerimpl:HelloHeader/soap-header
  | /handler
  |   /service-ref
  | /session
  |   /enterprise-beans
  | 

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=bbop=viewtopicp=3891752#3891752

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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-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=bbop=viewtopicp=3891754#3891754

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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-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=bbop=viewtopicp=3891691#3891691

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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-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=bbop=viewtopicp=3891727#3891727

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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-22 Thread acxsjones
Any help out there

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891069#3891069

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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