Hi!
i have the problem of sending an attachment along with the normal web service
invocation of the bpel process..
i dont understand how to attach attachments to the invocation made with jbossws
wsconsume generated client..
i examined jbossws attachment examples, but in all of them, they add a
googled further, and found this on axis2 documentation:
| /* Sample client which sends a message with SwA type attachments */
|
|public void uploadFileUsingSwA(String fileName) throws Exception {
|
| Options options = new Options();
| options.setTo(targetEPR);
Actually i checked the examples provided by ActiveBPEL and in their data type
or message type definitions they dont add anything.
Instead, while testing with SoapUI, they enable and then add attachments on the
fly.
So i wonder how to add an attachment to an web service invocation from the
jboss
thanks for clarification.. i had a look on jbossws 2.0.1 examples now, but
there is something i dont yet understand:
actually what i would expect is to have some api to "attach" a DataHandler to a
web service invocation.
for example, im trying to invoke a web service exposed by ActiveBPEL engin
Hi
I followed the wiki user guide to add attachments in my ws invocations/replies
using the DataHandler and binding type DOCUMENT.
my question is: does this mean i'm using WS-Attachment kind of attachments?
or im just defining documents containing base64binary elements?
this because ActiveBPEL e
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114819#4114819
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114819
___
jboss-user mailing list
jboss-user@lists.jboss.
i have 2 interfaces on my machine, one , loopback, is 127.0.0.1, and the other
is eth0 , 192.168.1.10.
how can i choose which one to bind to wsdl exposed?
i have this on http://localhost:8080/jbossws/services :
| Registered Service Endpoints
| ServiceEndpointID jboss.ws:context=JmsServic
sorry, the wsdl got cutted.. here it is:
|
| http://docs.active-endpoints.com/activebpel/sample/wsdl/parseArray/2007/03/parseArray.wsdl";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/
I am trying to use ActiveBPEL togheter with JBossAS.
I found an example where i can pass an array parameter to a bpel process
(here
http://forums.active-endpoints.com/attachment.php?attachmentid=1748&d=1173126517
,
provided by the Active-Endpoints staff).
I deployed it on tomcat, downloaded t
I found we can specify the resource adapter with this annotation:
@ResourceAdapter("activemq-ra.rar") (for example)
works for me..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111578#4111578
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
i have this endpoint, which reflects a Session bean implementation
| package bps.ejb;
|
| import javax.jws.WebService;
|
| @WebService(targetNamespace = "http://bps.ejb";,
| name = "BpsFrontendEndpointInterface")
|
| public interface BpsFrontendEndpointInterface {
Hello!
Im trying to use activeMQ as JMS broker on Jboss.
I'd like to make a mdb listen on a ActiveMQ queue.
I found an example (ejb2.1) where they specify - in jboss.xml deployment
descriptor - the resource adapter name for each MDB..
tried to look here: http://labs.jboss.com/jbossejb3/docs/tut
if i have sender and receiver on different machines, where should i put the
queue? on sender or receiver machine?
and if i -let say- put the jms server in the receiver machine, and the sender
wants to send a message, but the net is down, does he cache the message and
deliver later, or return e
no way for both problems?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107527#4107527
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107527
___
jboss-user mailing list
jboss
"paoletto" wrote : actually, when i try to do a concurrent select for update
calling again my same method, i get this:
|
| [JDBCExceptionReporter] [SQL7973] Il pacchetto di creazione SQL per
JBPKGCAA in JBOSS non è riuscito. Causa. . . . . : La richiesta di
creazione del pa
actually, when i try to do a concurrent select for update calling again my same
method, i get this:
[JDBCExceptionReporter] [SQL7973] Il pacchetto di creazione SQL per JBPKGCAA in
JBOSS non è riuscito. Causa. . . . . : La richiesta di creazione del
pacchetto ha rilevato un errore. Il nome del
Hi
I have a method which REQUIRES_NEW transaction, which perform
a SELECT ... FOR UPDATE on one row.
On PostgreSQL everything is fine and the query locks correctly, while if i use
DB2 as datasource, it seems
that my select for update doesnt actually lock anything, and if i perform
another inv
the problem is that i have a stack of server, each one with the same service
exposed, so i was thinking about DII because it's easier to dinamically
specify wsdl url and service name.
If i generate the client with wsconsume, then can i dinamically change the
address and connect to the same servi
Yes, i was thinking about synchronizing the exposed service with the mdb, but
not with messages, since my exposed slsb should wait for someone else to end
some job, and then return.
what i was wondering is: is it possible to expose-for example- a
"public String foo()" , but then the body of the
"[EMAIL PROTECTED]" wrote : Your DII client does not have a jaxrpc-mapping.xml.
You can use
|
|
| | ServiceFactoryImpl.createService(wsdlURL, serviceName, mappingURL)
| |
|
how is this approach changed now?
View the original post :
http://www.jboss.com/index.html?module=bb&op
I have an ejb3 slsb exposed as web service using jsr181.
Now: i'd like to use Dinamic invocation interface because it's possible that
some clients dont have the endpoint interface.
I get org.jboss.ws.WSException: Cannot obtain java type mapping for:
{http://jaxb.dev.java.net/array}stringArray
Which kind of problem? Im having the same problem:
im exposing a public String[] hello();
but im getting as well org.jboss.ws.WSException: Cannot obtain java type
mapping for: {http://jaxb.dev.java.net/array}stringArray
if i use public String hello(), it works.
oh, by the way using DII configu
Ok, it's a stupid question and maybe the wrong section:
suppose i have a pojo or a session bean exposed as web service.
suppose i have a int foo(int bar) method in it.
is it tecnically possible to leave some other class answer the web service
invocation to foo()?
that is someone call foo.
I'm new to BPEL and BPM world. I leart it through "SOA for the business
developer book".
Now i have this doubt:
I have several servers which run J2EE applications.
Each one has also a BatchSubsystem which expose a web services interface which
allow to schedule a new process for that application
i'd like to know the value for an ActivationConfigProperty from inside my
onMessage() method.
I found that these values are stored as ActivationConfigPropertyMetaData inside
a MessageDrivenMetaData object.
But how can i retrieve this object? i see i should get a JMSContainerInvoker
first (or so
sorry, problem solved! now it acts like it should
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103330#4103330
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103330
___
jboss
Hello!
I have this method executed concurrently in many threads (MDBs), which
generates quite many OptimisticLockException.
I changed the datasource from HSQL to PostgreSQL and tried to add a
SELECT FOR UPDATE statement to act like a mutex
But why i keep getting OptimisticLockExceptions then?
d
I'd like to specify directly in my MDB class max number of instances of these
mdb i want.
Is there an ActivationConfigProperty to specify this or do i have to use
jboss.xml deployment descriptor even for 3.0 version of MDBs?
i looked for this in the wiki but i wasnt able to find any interesting
"waynebaylor" wrote : have you tried setting them all to REQUIRED?
no i havent. you think i should mark required in the caller methods, and
requires_new in the _real methods?
i can try thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101928#4101928
Re
it's somehow strange,because i said in the code that for my method i
REQUIRE_NEW transaction...
| package bps.ejb;
|
| import javax.ejb.*;
| import javax.persistence.*;
|
| import java.util.*;
| import java.sql.*;
|
|
| @Stateless
| public class BpsProcessQueueBean imp
i am interested in this too.
I know hibernate support pessimistic locking, but is it possible to enable it
for ejb3 entity beans and ejb3 container managed transactions?
thanks for any answer..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098789#4098789
Re
Hello! I get this error i dont get why.
I followed the jbossws manual and sample code.
What i did:
App A expose a session bean correctly (it works, i tested it already, but in a
wrong way which worked only on the same AS).
App B has a session bean as session endpoint interface. i generated both
exactly.
Is there any drawback if i make it return a legal pkey value?
Im using a sort of auto increment on pk, and there's no way with finders then
to find the last row inserted, so maybe the return value of the ejbCreate would
suit perfectly..
View the original post :
http://www.jboss.com/i
ok i found the problem: i just forgot to add the file in the packaging options
:#)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053396#4053396
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053396
___
i have the same problem. jbosscmp-jdbc seems not to be read.
where's the mistake?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053355#4053355
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053355
im using jboss AS 4.0.5GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053349#4053349
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053349
___
jboss-user mailing list
jboss
it seems my application totally forget to use the file jbosscmp-jdbc.xml
and i cant figure out why!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053348#4053348
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053348
__
in my relationships jboss keeps not understanding my jbosscmp-jdbc.xml and in
the sql generated from ejb-ql he keeps using cmr field names for table columns
disregarding key-fields mapping in the relation blocks in jbosscmp-jdbc...
why??
View the original post :
http://www.jboss.com/index.html
stub in the DocumentoLocalHome.java:
|public java.util.Collection selectByMetadato(Integer num, String
metadati);
| // throws javax.ejb.FinderException;
|
implementation as it appears in DocumentoBean.java:
| public java.util.Collection selectByMe
hello
i declared a business method (it is actually a finder method, but the name is
not findBlaBla) in the local home interface of an entity bean, and implemented
it into the entity bean.
deploying the application i get:
| Bean : Documento
| Method : public abstract Collection selectByMe
Hi
well im trying to write an ejbql statement with group by and having sql clauses
for a query by keywords, but it seems that even if hypersonic supports them,
ejb-ql doesnt
so my question:
am i wrong and in fact ejb-ql does?
otherwise is there any possibility to override the generated SQL st
ok, there is an error in the last block: this is correct:
idDipartimento
dipartimento
but the error keeps to be the same
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052887#4052887
Reply to the post :
http://www.jboss.com/inde
ok. i tried but i get a weird error. I followed jboss 3.2.7 developer guide.
the error is this:
| 12:35:25,352 ERROR [Account#findRelatedAccounts] Find failed
| java.sql.SQLException: Colonna non trovata: T0_A.DEPARTMENT in statement
[SELECT t0_a.utente FROM DIPARTIMENTO t1_d, ACCOUNT t0_a W
ok, i tried but clearly i'm making some mistake.
i tried to define a CMR field for entity Document that references "many"
accounts, and i added in both bean and localhome interface the getters and
setters for this CMR field named "account" in the .
I also added the block into jbosscmp-jdbc.xml
so, i have this doubt about sematics of fields in jbosscmp-jdbc.
example taken from a working project:
|
| Students-Groups
|
|
|
|
|
Student-belongs-to-group
|
|
|
|
|
Group-has-students
|
ok it should be the .dtd in the docs folder :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052193#4052193
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052193
___
jboss-us
ok i finally found that for this i need to configure jbosscmp-jdbc.xml.. now i
try to do it. can sbd point me a reference for this file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052166#4052166
Reply to the post :
http://www.jboss.com/index.html?module=
I also have another question: i somehow understood that i have to create a new
"field" in the entity beans for container managed relationships.
But i was wondering: ok i can tell the container through relationships which
entities are related. but how can i specify - for example - that the pk in
hello. I have some errors trying to use ejb-ql 2.1 and i dont understand why :(
I am developing a test application to learn how to use j2ee ejbs
Im currently using EJB 2.1, so no 3.0.
what follows is what i tried following sun manuals and oreilly ejb 3rd edition
book.
ok, so, let say i have a d
Hello!
i have a stupid question about mapping a db to CMP 2.1 entity beans:
if i have a relation many to many, and in the database i use 2 tables for
entities and 1 table for the relationship, do i have to map all the 3 tables to
beans and set in the ejb-jar.xml a CMR for first-entity to the re
Hello!
i have a stupid question about mapping a db to CMP 2.1 entity beans:
if i have a relation many to many, and in the database i use 2 tables for
entities and 1 table for the relationship, do i have to map all the 3 tables to
beans and set in the ejb-jar.xml a CMR for first-entity to the r
"dwin" wrote : ensure that your JDK is 1.5 and not 1..6
eerm... right! my jdk is 1.6... didnt imagine that -_-
With 1.5.0 it works perfectly! well.. many thanks :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012456#4012456
Reply to the post :
http://www
well, im checking and it seems the problem is in
service.getPort who give this error:
java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
any clue?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012372#4012
Here's my code:
URL wsdl = new
URL("http://localhost:8080/ServizioEJB/Hello?wsdl";);
QName qname = new QName("http://servizioDipartimentale.org/","Hello";);
try {
ServiceFactory factory = ServiceFactory.newInstance();
Service service
Hello!
Im trying to put the code from
http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html#dii-clients
into a servlet, but it doesnt seems to work.. can some one points me a
working servlet connecting to some stupid web service like Hello?
by the way, which packages do i have t
55 matches
Mail list logo