[JBossWS] - Re: Desgin Patterns - Web Service
by nagmca
Thanks for the answer. But My question is regarding posting data over HTTP using URLCOnnection or using generated stubs.
I am having another problem now, please see the below proble.
I have to accept the data in xml format and it is working fine if i make call to web service using client like below.
IdentityService service = new IdentityServiceProviderLocator).getIdentityPort();
System.out.println(service.retrieveUsersByAccountId(xmlInputFile));
But was getting issues with the below client
Call call = (Call)service.createCall();
call.setTargetEndpointAddress( endpoint );
SOAPEnvelope env = new SOAPEnvelope(new java.io.ByteArrayInputStream(xmlInputFile.getBytes()));
//System.out.println(" env---"+env);
call.invoke(env);
SOAPEnvelope elems = (SOAPEnvelope)call.invoke(env);
System.out.println("elemss----"+elems);
It says no operation "xyz.." found .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962975#3962975
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962975
19 years, 9 months
[Installation, Configuration & Deployment] - problems with log4j and JMS...
by walabarse
Hi people,
I have some problems using JBoss, I would be gratefull if somebody
could help me.
The erros happen when when the JBoss is starting and I have no *.war
in deploy directory.
ERROR 1
=======
2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR A
"org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable
to a "org.apache.log4j.spi.ErrorHandler" variable.
2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR The class
"org.apache.log4j.spi.ErrorHandler" was loaded by
2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR [WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@13816e0
] whereas object of type
2006-08-02 10:09:11,015 ERROR [STDERR] log4j:ERROR
"org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by
[org.jboss.system.server.NoAnnotationURLClassLoader@1833955].
2006-08-02 10:09:11,046 ERROR [STDERR] log4j:ERROR Could not create an
Appender. Reported error follows.
2006-08-02 10:09:11,046 ERROR [STDERR] java.lang.ClassCastException:
org.jboss.logging.appender.DailyRollingFileAppender
ERROR 2
=======
2006-08-02 10:09:13,171 DEBUG
[org.jboss.mq.pm.jdbc2.PersistenceManager] Starting
jboss.mq:service=PersistenceManager
2006-08-02 10:09:13,171 DEBUG
[org.jboss.mq.pm.jdbc2.PersistenceManager] Creating Schema
2006-08-02 10:09:13,171 DEBUG
[org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with
SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL,
DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1),
MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
java.sql.SQLException: Table already exists: JMS_MESSAGES in statement
[CREATE CACHED TABLE JMS_MESSAGES]
Thanks so Much,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962970#3962970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962970
19 years, 9 months