Hi All
Could you please help me? I'm a new bie of Web Services
I've created an EJB3 application and transformed a session bean into a web service.
I've tested everything and it works.
Then I've generated a simple Web Service Client using eclipse (develop client)
I've created this class
public class test {
|
|
| public static void main(String[] args) {
|
| NavigatoreBeanProxy pp = new NavigatoreBeanProxy();
|
| try {
| pp.setPosition(10, 40, 34);
| } catch (RemoteException e) {
|
|
| e.printStackTrace();
| }
And it gives the following error if run as a java application:
| AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
| faultSubcode:
| faultString: org.xml.sax.SAXParseException: Premature end of file.
| faultActor:
| faultNode:
| faultDetail:
| {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end
of file.
| at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
| at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
| at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
| at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1058)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
| at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
| at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
| at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
| at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
| at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
| at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
| at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
| at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
| at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
| at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
| at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
| at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
| at org.apache.axis.client.Call.invoke(Call.java:2767)
| at org.apache.axis.client.Call.invoke(Call.java:2443)
| at org.apache.axis.client.Call.invoke(Call.java:2366)
| at org.apache.axis.client.Call.invoke(Call.java:1812)
| at session.NavigatoreBeanBindingStub.setPosition(NavigatoreBeanBindingStub.java:403)
| at session.NavigatoreBeanProxy.setPosition(NavigatoreBeanProxy.java:80)
| at session.test.main(test.java:15)
|
| {http://xml.apache.org/axis/}hostname:admin-836482f5f
|
| org.xml.sax.SAXParseException: Premature end of file.
| at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
| at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
| at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
| at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
| at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
| at org.apache.axis.client.Call.invoke(Call.java:2767)
| at org.apache.axis.client.Call.invoke(Call.java:2443)
| at org.apache.axis.client.Call.invoke(Call.java:2366)
| at org.apache.axis.client.Call.invoke(Call.java:1812)
| at session.NavigatoreBeanBindingStub.setPosition(NavigatoreBeanBindingStub.java:403)
| at session.NavigatoreBeanProxy.setPosition(NavigatoreBeanProxy.java:80)
| at session.test.main(test.java:15)
| Caused by: org.xml.sax.SAXParseException: Premature end of file.
| at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
| at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
| at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
| at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1058)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
| at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
| at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
| at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
| at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
| at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
| at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
| at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
| at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
| at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
| ... 11 more
|
Instead this other error if run on the server Jboss 4.2
11:58:16,062 INFO [Server] Starting JBoss (MX MicroKernel)...
| 11:58:16,078 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build:
SVNTag=JBoss_4_2_2_GA date=200710221139)
| 11:58:16,078 INFO [Server] Home Dir: C:\Programmi\jboss-4.2.2.GA
| 11:58:16,078 INFO [Server] Home URL: file:/C:/Programmi/jboss-4.2.2.GA/
| 11:58:16,078 INFO [Server] Patch URL: null
| 11:58:16,078 INFO [Server] Server Name: default
| 11:58:16,078 INFO [Server] Server Home Dir:
C:\Programmi\jboss-4.2.2.GA\server\default
| 11:58:16,078 INFO [Server] Server Home URL:
file:/C:/Programmi/jboss-4.2.2.GA/server/default/
| 11:58:16,078 INFO [Server] Server Log Dir:
C:\Programmi\jboss-4.2.2.GA\server\default\log
| 11:58:16,078 INFO [Server] Server Temp Dir:
C:\Programmi\jboss-4.2.2.GA\server\default\tmp
| 11:58:16,078 INFO [Server] Root Deployment Filename: jboss-service.xml
| 11:58:17,109 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
| 11:58:17,109 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun
Microsystems Inc.
| 11:58:17,109 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 11:58:18,218 INFO [Server] Core system initialized
| 11:58:20,500 INFO [WebService] Using RMI server codebase:
http://localhost:8083/
| 11:58:20,500 INFO [Log4jService$URLWatchTimerTask] Configuring from URL:
resource:jboss-log4j.xml
| 11:58:22,281 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
| 11:58:22,281 INFO [TransactionManagerService] Setting up property manager MBean and
JMX layer
| 11:58:22,500 INFO [TransactionManagerService] Starting recovery manager
| 11:58:22,609 INFO [TransactionManagerService] Recovery manager started
| 11:58:22,609 INFO [TransactionManagerService] Binding TransactionManager JNDI
Reference
| 11:58:24,890 INFO [EJB3Deployer] Starting java:comp multiplexer
| 11:58:25,218 INFO [STDOUT] no object for null
| 11:58:25,218 INFO [STDOUT] no object for null
| 11:58:25,234 INFO [STDOUT] no object for null
| 11:58:25,234 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
| 11:58:25,250 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
| 11:58:26,890 INFO [NativeServerConfig] JBoss Web Services - Native
| 11:58:26,890 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
| 11:58:27,796 INFO [Embedded] Catalina naming disabled
| 11:58:27,968 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the
java.library.path:
C:\eclipse\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/eclipse/jre/bin/client;C:/eclipse/jre/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\ATI
Technologies\ATI.ACE\Core-Static;C:\Programmi\File comuni\Adobe\AGL;C:\Sun\SDK\bin
| 11:58:28,000 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on
http-localhost%2F127.0.0.1-8080
| 11:58:28,015 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on
ajp-localhost%2F127.0.0.1-8009
| 11:58:28,015 INFO [Catalina] Initialization processed in 210 ms
| 11:58:28,015 INFO [StandardService] Starting service jboss.web
| 11:58:28,015 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
| 11:58:28,046 INFO [Catalina] Server startup in 30 ms
| 11:58:28,218 INFO [TomcatDeployer] deploy, ctxPath=/,
warUrl=.../deploy/jboss-web.deployer/ROOT.war/
| 11:58:29,015 INFO [TomcatDeployer] deploy, ctxPath=/invoker,
warUrl=.../deploy/http-invoker.sar/invoker.war/
| 11:58:29,140 INFO [TomcatDeployer] deploy, ctxPath=/jbossws,
warUrl=.../deploy/jbossws.sar/jbossws-context.war/
| 11:58:29,234 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil,
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 11:58:29,937 INFO [TomcatDeployer] deploy, ctxPath=/web-console,
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 11:58:30,375 INFO [MailService] Mail Service bound to java:/Mail
| 11:58:30,656 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/jboss-ha-local-jdbc.rar
| 11:58:30,687 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/jboss-ha-xa-jdbc.rar
| 11:58:30,718 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/jboss-local-jdbc.rar
| 11:58:30,750 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/jboss-xa-jdbc.rar
| 11:58:30,796 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/jms/jms-ra.rar
| 11:58:30,843 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/mail-ra.rar
| 11:58:31,046 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml
in .../deploy/quartz-ra.rar
| 11:58:31,046 INFO [QuartzResourceAdapter] start quartz!!!
| 11:58:31,109 INFO [SimpleThreadPool] Job execution threads will use class loader of
thread: main
| 11:58:31,125 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 11:58:31,125 INFO [RAMJobStore] RAMJobStore initialized.
| 11:58:31,125 INFO [StdSchedulerFactory] Quartz scheduler
'DefaultQuartzScheduler' initialized from default resource file in Quartz package:
'quartz.properties'
| 11:58:31,125 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 11:58:31,125 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED
started.
| 11:58:31,390 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
'java:JmsXA'
| 11:58:31,453 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name
'java:DefaultDS'
| 11:58:32,765 INFO [A] Bound to JNDI name: queue/A
| 11:58:32,765 INFO [B] Bound to JNDI name: queue/B
| 11:58:32,765 INFO [C] Bound to JNDI name: queue/C
| 11:58:32,781 INFO [D] Bound to JNDI name: queue/D
| 11:58:32,781 INFO [ex] Bound to JNDI name: queue/ex
| 11:58:32,812 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 11:58:32,812 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 11:58:32,812 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 11:58:32,812 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 11:58:32,843 INFO [UILServerILService] JBossMQ UIL service available at :
localhost/127.0.0.1:8093
| 11:58:33,187 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 11:58:33,375 INFO [JmxKernelAbstraction] creating wrapper delegate for:
org.jboss.ejb3.entity.PersistenceUnitDeployment
| 11:58:33,375 INFO [JmxKernelAbstraction] installing MBean:
persistence.units:jar=WSNav.jar,unitName=WSNavDB with dependencies:
| 11:58:33,375 INFO [JmxKernelAbstraction]
jboss.jca:name=DefaultDS,service=DataSourceBinding
| 11:58:33,375 INFO [PersistenceUnitDeployment] Starting persistence unit
persistence.units:jar=WSNav.jar,unitName=WSNavDB
| 11:58:33,390 INFO [Version] Hibernate EntityManager 3.2.1.GA
| 11:58:33,406 INFO [Version] Hibernate Annotations 3.2.1.GA
| 11:58:33,421 INFO [Environment] Hibernate 3.2.4.sp1
| 11:58:33,421 INFO [Environment] hibernate.properties not found
| 11:58:33,421 INFO [Environment] Bytecode provider name : javassist
| 11:58:33,421 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 11:58:33,546 INFO [Ejb3Configuration] found EJB3 Entity bean: entity.Position
| 11:58:33,546 INFO [Ejb3Configuration] found EJB3 Entity bean: entity.User
| 11:58:33,562 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
| 11:58:33,578 INFO [Ejb3Configuration] [PersistenceUnit: WSNavDB] no META-INF/orm.xml
found
| 11:58:33,609 INFO [AnnotationBinder] Binding entity from annotated class:
entity.Position
| 11:58:33,640 INFO [EntityBinder] Bind entity entity.Position on table positions
| 11:58:33,671 INFO [AnnotationBinder] Binding entity from annotated class:
entity.User
| 11:58:33,671 INFO [EntityBinder] Bind entity entity.User on table users
| 11:58:34,046 INFO [ConnectionProviderFactory] Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 11:58:34,046 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 11:58:34,046 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.67-community-nt
| 11:58:34,046 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
| 11:58:34,062 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
| 11:58:34,062 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 11:58:34,078 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 11:58:34,078 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
| 11:58:34,078 INFO [SettingsFactory] Automatic flush during beforeCompletion():
disabled
| 11:58:34,078 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
| 11:58:34,078 INFO [SettingsFactory] JDBC batch size: 15
| 11:58:34,078 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:58:34,078 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:58:34,078 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
| 11:58:34,078 INFO [SettingsFactory] Connection release mode: auto
| 11:58:34,078 INFO [SettingsFactory] Maximum outer join fetch depth: 2
| 11:58:34,078 INFO [SettingsFactory] Default batch fetch size: 1
| 11:58:34,078 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:58:34,078 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:58:34,078 INFO [SettingsFactory] Order SQL inserts for batching: disabled
| 11:58:34,078 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:58:34,078 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:58:34,078 INFO [SettingsFactory] Query language substitutions: {}
| 11:58:34,078 INFO [SettingsFactory] JPA-QL strict compliance: enabled
| 11:58:34,078 INFO [SettingsFactory] Second-level cache: enabled
| 11:58:34,078 INFO [SettingsFactory] Query cache: disabled
| 11:58:34,078 INFO [SettingsFactory] Cache provider:
org.hibernate.cache.HashtableCacheProvider
| 11:58:34,078 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 11:58:34,078 INFO [SettingsFactory] Cache region prefix: WSNav_jar,WSNavDB
| 11:58:34,078 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 11:58:34,078 INFO [SettingsFactory] Statistics: disabled
| 11:58:34,078 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
| 11:58:34,078 INFO [SettingsFactory] Default entity-mode: pojo
| 11:58:34,078 INFO [SettingsFactory] Named query checking : enabled
| 11:58:34,109 INFO [SessionFactoryImpl] building session factory
| 11:58:34,265 INFO [SessionFactoryObjectFactory] Factory name:
persistence.units:jar=WSNav.jar,unitName=WSNavDB
| 11:58:34,265 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 11:58:34,265 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name:
persistence.units:jar=WSNav.jar,unitName=WSNavDB
| 11:58:34,328 WARN [SessionFactoryObjectFactory] InitialContext did not implement
EventContext
| 11:58:34,328 INFO [SchemaUpdate] Running hbm2ddl schema update
| 11:58:34,328 INFO [SchemaUpdate] fetching database metadata
| 11:58:34,328 INFO [SchemaUpdate] updating schema
| 11:58:34,406 INFO [TableMetadata] table found: defaultds.positions
| 11:58:34,406 INFO [TableMetadata] columns: [timeinserted, longitudine, latitudine,
idutente]
| 11:58:34,406 INFO [TableMetadata] foreign keys: [fk_posizioni_1]
| 11:58:34,406 INFO [TableMetadata] indexes: [primary]
| 11:58:34,437 INFO [TableMetadata] table found: defaultds.users
| 11:58:34,437 INFO [TableMetadata] columns: [name, idutente]
| 11:58:34,437 INFO [TableMetadata] foreign keys: []
| 11:58:34,437 INFO [TableMetadata] indexes: [primary]
| 11:58:34,437 INFO [SchemaUpdate] schema update complete
| 11:58:34,437 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 11:58:34,484 INFO [JmxKernelAbstraction] creating wrapper delegate for:
org.jboss.ejb3.stateless.StatelessContainer
| 11:58:34,484 INFO [JmxKernelAbstraction] installing MBean:
jboss.j2ee:jar=WSNav.jar,name=ManageUserBean,service=EJB3 with dependencies:
| 11:58:34,484 INFO [JmxKernelAbstraction]
persistence.units:jar=WSNav.jar,unitName=WSNavDB
| 11:58:34,609 INFO [EJBContainer] STARTED EJB: session.ManageUserBean ejbName:
ManageUserBean
| 11:58:34,671 INFO [JmxKernelAbstraction] creating wrapper delegate for:
org.jboss.ejb3.stateless.StatelessContainer
| 11:58:34,671 INFO [JmxKernelAbstraction] installing MBean:
jboss.j2ee:jar=WSNav.jar,name=NavigatoreBean,service=EJB3 with dependencies:
| 11:58:34,671 INFO [JmxKernelAbstraction]
persistence.units:jar=WSNav.jar,unitName=WSNavDB
| 11:58:34,687 INFO [EJBContainer] STARTED EJB: session.NavigatoreBean ejbName:
NavigatoreBean
| 11:58:34,687 INFO [EJB3Deployer] Deployed:
file:/C:/Programmi/jboss-4.2.2.GA/server/default/deploy/WSNav.jar/
| 11:58:34,781 INFO [DefaultEndpointRegistry] register:
jboss.ws:context=WSNav,endpoint=NavigatoreBean
| 11:58:36,093 INFO [WSDLFilePublisher] WSDL published to:
file:/C:/Programmi/jboss-4.2.2.GA/server/default/data/wsdl/WSNav.jar/NavigatoreBeanService49847.wsdl
| 11:58:36,218 INFO [TomcatDeployer] deploy, ctxPath=/WSNav,
warUrl=.../tmp/deploy/WSNav.jar49846.war/
| 11:58:36,296 INFO [TomcatDeployer] deploy, ctxPath=/WSNavClient,
warUrl=.../deploy/WSNavClient.war/
| 11:58:36,437 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console,
warUrl=.../deploy/jmx-console.war/
| 11:58:36,609 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-localhost%2F127.0.0.1-8080
| 11:58:36,625 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
ajp-localhost%2F127.0.0.1-8009
| 11:58:36,625 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build:
SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 20s:532ms
| 11:58:44,843 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| 11:58:44,843 ERROR [RequestHandlerImpl] Error processing web service request
| org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be
overridden by all subclasses of SOAPMessage
| at org.jboss.ws.WSException.rethrow(WSException.java:68)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by
all subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| ... 22 more
| 11:58:44,859 ERROR [[NavigatoreBean]] Servlet.service() for servlet NavigatoreBean
threw exception
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| 12:14:31,062 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| 12:14:31,062 ERROR [RequestHandlerImpl] Error processing web service request
| org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be
overridden by all subclasses of SOAPMessage
| at org.jboss.ws.WSException.rethrow(WSException.java:68)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by
all subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| ... 22 more
| 12:14:31,062 ERROR [[NavigatoreBean]] Servlet.service() for servlet NavigatoreBean
threw exception
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| at
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| at
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| at
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
|
Have you got any idea?
I'm using Axis 1 and Jboss 4.2.2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207985#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...