Hallo - does nobody need to logout a JBOSS-WS
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205782#4205782
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205782
___
jboss-us
Hello JBossWS team,
one more year is gone..
does something changed in your stack concerning @Statefull and @Addressing in
context of WS?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203525#4203525
Reply to the post :
http://www.jboss.com/index.html?mo
realy no idea?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165819#4165819
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165819
___
jboss-user mailing list
jboss-user@lists
another "ugly" solution is the following:
instad of
| @XmlIDREF
|
use:
| @XmlJavaTypeAdapter(Entity2StringXMLAdapter.class)
|
and here is the implementation for the Adapter:
| public class Entity2StringXMLAdapter extends XmlAdapter
| {
|
| @Override
| public Strin
my environment:
jboss4.2.2GA
EJB3
JAX-WS
I deploy my stateless session beans as @WebService and configure it as:
| @WebContext(contextRoot="bla", urlPattern = "bla", authMethod ="BASIC",
transportGuarantee ="NONE", secureWSDLAccess = true)
|
For the authMethod=BASIC i use a class which imp
authMethod=Form is not supported
http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide#WebContext
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156814#4156814
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=415681
does anyone has experience with JAX-WS using the authMethod=FORM like this:
| @WebService(...)
| @WebContext(contextRoot = "/context-ws", urlPattern = "/Manager",
authMethod = "FORM", transportGuarantee = "NONE", secureWSDLAccess = false)
| @Stateless
| @SecurityDomain("xx")
|
where
JBOSS 4.2.2.GA
The injection of the WebServiceContext run into an Exception.
The Interceptor Class:
| public class XXXInterceptor
| {
|
| @PersistenceContext(unitName="XXX") private EntityManager entityManager;
| @Resource() private WebServiceContext wsContext;
| @EJB p
JBOSS 4.2.2.GA
The injection of the WebServiceContext run into an Exception.
The Interceptor Class:
| public class XXXInterceptor
| {
|
| @PersistenceContext(unitName="XXX") private EntityManager entityManager;
| @Resource() private WebServiceContext wsContext;
| @EJB p
really no solution?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122742#4122742
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122742
___
jboss-user mailing list
jboss-user@
I have the same problems using JAX-WS and EJB3.
I am very interested in a solution for this problem.
ghinkle introduced an extended ServiceEndpointInvoker - is there any document
how to do that or can you gif me a small intro please.
View the original post :
http://www.jboss.com/index.html?mo
I try to deploy an EAR to the all configuration of jboss5beta3 and get the
following exception (the same ear works fine at jboss4.x):
|
| 16:58:15,154 INFO [Catalina] Server startup in 267 ms
| 16:58:17,971 WARN [BeanSchemaBinding] You should use the 2.0 version of
the Microcontainer xm
I have the same problem in jbosws 1.2 and 2.0
is there any mistake in my request?
really no idea?!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065275#4065275
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065275
__
the generated WSDL:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The call to the webservice works fine but the parameter are null (or 0 in case
of int).
I use a AJAX- Client and send directly the xml.
the Bean:
| @WebService(
| endpointInterface="com.dooris.ws.TheServicePortType",
| targetNamespace="http://www.tai.it/TheService";,
| servi
there was a problem with the proxy...
thank you for your help!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064226#4064226
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064226
___
yes it sounds like a problem with the content-type. But I set the HTTP- HEADER
with
'Content-Type':'text/xml'
And I tried the following encode variations:
plain:
http://schemas.xmlsoap.org/soap/envelope/";>http://hibernate.base.dooris.com/jaws";>
escape:
%3C%3Fxml%20version%3D%221.0%22%20encod
I try to create a SOAP- connection between jboss-ws and an AJAX- Client
(WebBrowser). The WebService is proper deployed.
If I start a AJAX-Request to the WebService's URL then I will get the following
exception:
| 09:59:04,171 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml
ok - now I understood! I do not start from WSDL. I generate the WSDL by jboss
at deployment time.
Now I generated my java sources by wsconsume from the (bad generated) WSDL and
I got the same Exception, of Corse.
What is the way to tell jboos to generate valid WSDL from my java sources?
View
I do not know if I understood your question, but I think I start from WSDL:
| public class TheServiceImplTest
| {
| TheService mySessionBean;
| @Before
| public void setUp() throws Exception
| {
| String strURL =
"http://localhost:8080/TheServiceImplService/TheS
Thank you, that works now.
But now I get the following exception for any SOAPBinding:
| javax.xml.ws.WebServiceException: org.jboss.ws.metadata.wsdl.WSDLException:
javax.wsdl.WSDLException: WSDLException (at /definitions/message[1]/part):
faultCode=UNBOUND_PREFIX: Unable to determine namespace
I got exceptions by tring a hallo world example
I use: jboss-4.2.0.GA with jbossws-1.2.1.GA (default WS)
My EJB- endpoint:
| import javax.ejb.Stateless;
| import javax.jws.WebMethod;
| import javax.jws.WebResult;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
I have the same problem by using an javascript/AJAX client.
That is the xml, that I send to the webservice:
| http://schemas.xmlsoap.org/soap/envelope/";>http://hibernate.base.dooris.com/jaws";>
|
and that is the xml of the response:
| env:ServerUnsupported content type:
application/x-
I have the same problem in this jbpm version:
| 18:20:07,572 INFO [STDOUT]
[2007.03.07][com.dooris.base.portal.BPMAction][org.jbpm.JbpmException: problem
closing services {persistence=org.jbpm.JbpmException: no jbpm tx service
configured}][ERROR]:
| 18:20:07,572 ERROR [STDERR] javax.ejb.E
I created a statless Sessionbean as followed:
| @Stateless
| public class BaseSession implements BaseSessionRemote, BaseSessionLocal
| {
|
| @Resource SessionContext context;
| @PersistenceContext(unitName="myName") private EntityManager
entityManager;
|
| public Ma
the org.jbpm.taskmgmt.TaskInstanceFactory provides the possibility to create a
TaskInstance (docs:
http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#customizingtaskinstances).
But that is no interface, that I can implement. To extend the TaskInstance is
no possibility for me because o
I hava just a bad solution, but it would be greate to find something better:
| public static Class[] getClassesFromPackage(final String
strPackageName) throws ClassNotFoundException
| {
| ArrayList classes = new ArrayList();
| // Get a File object for the package
place the persistence.xml into the META-INF of your .ejb3 and refer to the
other archiv by noting
D:/jboss-4.0.4.GA/server/default/external.jar
| http://java.sun.com/xml/ns/persistence";
|xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
|xsi:schemaLocation="http://java.sun.
"florian79" wrote : Hallo!
|
| The mixin tag allows the attribute transient="false". So is it possible to
persiste the mixin class by ejb3/hibernate?
|
| Example in jBOSS AS (container managed):
|
| | ClassA extends BasicClassA
| | {
| |
Hallo!
The mixin tag allows the attribute transient="false". So is it possible to
persiste the mixin class by ejb3/hibernate?
Example in jBOSS AS (container managed):
| ClassA extends BasicClassA
| {
| public String getA(){..}
| }
| ClassB extends BasicClassB
| {
| publi
I am new in the world of EJB3. I deployed an .ear file to jboss 4.0.4.GA usin
Hibernate Entity Manager
well, my SessionBean:
@Stateless
| public class BaseSession implements BaseSessionRemote
| {
|
| @PersistenceContext(unitName="dooris-portal") private EntityManager
entityManager;
I am new in the world of EJB3. I deployed an .ear file to jboss 4.0.4.GA usin
Hibernate Entity Manager
well, my SessionBean:
@Stateless
| public class BaseSession implements BaseSessionRemote
| {
|
| @PersistenceContext(unitName="dooris-portal") private EntityManager
entityManager;
32 matches
Mail list logo