[JBoss Portal] - Re: Ldap authentication on Jboss portal 2.6 cr2
by georgy
hi Boleslaw
i found this exception in the server output :
| org.jboss.portal.identity.IdentityException: Cannot initiate identity modules:
| at org.jboss.portal.identity.IdentityServiceControllerImpl.startService(IdentityServiceControllerImpl.java:387)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
| at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
| at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:428)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.startService(JBossServiceModelMBean.java:394)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
| at org.jboss.portal.jems.as.system.JBossServiceModelMBean$5.invoke(JBossServiceModelMBean.java:316)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy164.start(Unknown Source)
| at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.portal.identity.IdentityException: Class name not found for datasource type: pdc01 wrong configuration
| at org.jboss.portal.identity.IdentityServiceControllerImpl.startService(IdentityServiceControllerImpl.java:251)
| ... 119 more
|
It seems i have made a mistake in the ldap cofiguration since there is a "class name not found". pdc01 is the name i used in the ldap_config.xml
|
| <identity-configuration>
| <datasources>
| <datasource>
| <name>pdc01</name>
| <config>
| <option>
| <name>host</name>
| <value>192.168.10.240</value>
| </option>
| <option>
| <name>port</name>
| <value>389</value>
| </option>
| ...........
|
What does the "name" tag correspond to?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051228#4051228
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051228
18Â years, 10Â months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: JBOSS 4.2.0 & MySQL
by andydale
Hi,
I would create a mysql-ds.xml file in /deploy. I have copied the standard example one that comes with JBoss 4.0.4/5 (it should hopefully just work with 4.2.0GA as well):
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mysql-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ -->
<!-- Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
-->
| <datasources>
| <local-tx-datasource>
| <jndi-name>MySqlDS</jndi-name>
| <connection-url>jdbc:mysql://mysql-hostname:3306/jbossdb</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>x</user-name>
| <password>y</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
| <!-- should only be used on drivers after 3.22.1 with "ping" support
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
| -->
| <!-- sql to call when connection is created
| <new-connection-sql>some arbitrary sql</new-connection-sql>
| -->
| <!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
| <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
| -->
|
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
On startup this file will be deployed, and now you can use it with ejb3 e.t.c
Cheers,
Andy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051226#4051226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051226
18Â years, 10Â months
[JBossWS] - Re: javax.xml.rpc.JAXRPCException: Cannot obtain operation m
by kapilesh.arekar
Thanks for ur response oskar . I enabled the Request dumper value.
In "HelloClient.java" When I use the following code and exeute it runs correctly and returns me a reply.
+++++++++++++++++++++++++++++++++++++++++++++
Sample 1 Here I need a Remote interface to invoke the service:-
++++++++++++++++++++++++++++++++++++++++++++++
IHelloWorld hello = (IHelloWorld) service.getPort(IHelloWorld.class);
// System.out.println("hello.hello(" + argument + ")");
System.out.println("output:" + hello.sayHello(argument));
// CallImpl call = (CallImpl)service.createCall();
//call.setOperationName(operationName);
// System.out.println(call.isParameterAndReturnSpecRequired(operationName));
//Object retObj = call.invoke(new Object[]{argument});
+++++++++++++++++++++++++++++++++++++++++++++++
The following Headers appear in the Log in the log
+++++++++++++++++++++++++++++++++++++++++++++
13:28:15,750 INFO [[localhost]] REQUEST URI =/HelloWorld
13:28:15,750 INFO [[localhost]] authType=null
13:28:15,750 INFO [[localhost]] characterEncoding=null
13:28:15,750 INFO [[localhost]] contentLength=-1
13:28:15,750 INFO [[localhost]] contentType=application/x-www-form-urlencoded
13:28:15,750 INFO [[localhost]] contextPath=/HelloWorld
13:28:15,750 INFO [[localhost]] header=user-agent=Java/1.5.0_09
13:28:15,750 INFO [[localhost]] header=host=localhost:8080
13:28:15,750 INFO [[localhost]] header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
13:28:15,750 INFO [[localhost]] header=connection=keep-alive
13:28:15,750 INFO [[localhost]] header=content-type=application/x-www-form-urlencoded
13:28:15,750 INFO [[localhost]] locale=en_US
13:28:15,750 INFO [[localhost]] method=GET
13:28:15,750 INFO [[localhost]] parameter=wsdl=
13:28:15,750 INFO [[localhost]] pathInfo=/
13:28:15,750 INFO [[localhost]] protocol=HTTP/1.1
13:28:15,750 INFO [[localhost]] queryString=wsdl
13:28:15,750 INFO [[localhost]] remoteAddr=127.0.0.1
13:28:15,750 INFO [[localhost]] remoteHost=127.0.0.1
13:28:15,750 INFO [[localhost]] remoteUser=null
13:28:15,750 INFO [[localhost]] requestedSessionId=null
13:28:15,750 INFO [[localhost]] scheme=http
13:28:15,750 INFO [[localhost]] serverName=localhost
13:28:15,750 INFO [[localhost]] serverPort=8080
13:28:15,750 INFO [[localhost]] servletPath=
13:28:15,750 INFO [[localhost]] isSecure=false
13:28:15,750 INFO [[localhost]] ---------------------------------------------------------------
13:28:15,812 INFO [[localhost]] ---------------------------------------------------------------
13:28:15,812 INFO [[localhost]] authType=null
13:28:15,812 INFO [[localhost]] contentLength=-1
13:28:15,812 INFO [[localhost]] contentType=text/xml
13:28:15,812 INFO [[localhost]] header=X-Powered-By=Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5
13:28:15,812 INFO [[localhost]] header=Content-Type=text/xml
13:28:15,812 INFO [[localhost]] header=Transfer-Encoding=chunked
13:28:15,812 INFO [[localhost]] header=Date=Tue, 05 Jun 2007 07:58:15 GMT
13:28:15,812 INFO [[localhost]] message=null
13:28:15,812 INFO [[localhost]] remoteUser=null
13:28:15,812 INFO [[localhost]] status=200
13:28:15,812 INFO [[localhost]] ===============================================================
13:28:15,890 INFO [[localhost]] REQUEST URI =/HelloWorld
13:28:15,890 INFO [[localhost]] authType=null
13:28:15,890 INFO [[localhost]] characterEncoding=null
13:28:15,890 INFO [[localhost]] contentLength=-1
13:28:15,890 INFO [[localhost]] contentType=application/x-www-form-urlencoded
13:28:15,890 INFO [[localhost]] contextPath=/HelloWorld
13:28:15,890 INFO [[localhost]] header=user-agent=Java/1.5.0_09
13:28:15,890 INFO [[localhost]] header=host=localhost:8080
13:28:15,890 INFO [[localhost]] header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
13:28:15,890 INFO [[localhost]] header=connection=keep-alive
13:28:15,890 INFO [[localhost]] header=content-type=application/x-www-form-urlencoded
13:28:15,890 INFO [[localhost]] locale=en_US
13:28:15,890 INFO [[localhost]] method=GET
13:28:15,890 INFO [[localhost]] parameter=wsdl=
13:28:15,890 INFO [[localhost]] pathInfo=/
13:28:15,890 INFO [[localhost]] protocol=HTTP/1.1
13:28:15,890 INFO [[localhost]] queryString=wsdl
13:28:15,890 INFO [[localhost]] remoteAddr=127.0.0.1
13:28:15,890 INFO [[localhost]] remoteHost=127.0.0.1
13:28:15,890 INFO [[localhost]] remoteUser=null
13:28:15,890 INFO [[localhost]] requestedSessionId=null
13:28:15,890 INFO [[localhost]] scheme=http
13:28:15,890 INFO [[localhost]] serverName=localhost
13:28:15,890 INFO [[localhost]] serverPort=8080
13:28:15,890 INFO [[localhost]] servletPath=
13:28:15,890 INFO [[localhost]] isSecure=false
13:28:15,890 INFO [[localhost]] ---------------------------------------------------------------
13:28:15,906 INFO [[localhost]] ---------------------------------------------------------------
13:28:15,906 INFO [[localhost]] authType=null
13:28:15,906 INFO [[localhost]] contentLength=-1
13:28:15,906 INFO [[localhost]] contentType=text/xml
13:28:15,906 INFO [[localhost]] header=X-Powered-By=Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5
13:28:15,906 INFO [[localhost]] header=Content-Type=text/xml
13:28:15,906 INFO [[localhost]] header=Transfer-Encoding=chunked
13:28:15,906 INFO [[localhost]] header=Date=Tue, 05 Jun 2007 07:58:15 GMT
13:28:15,906 INFO [[localhost]] message=null
13:28:15,906 INFO [[localhost]] remoteUser=null
13:28:15,906 INFO [[localhost]] status=200
13:28:15,906 INFO [[localhost]] ===============================================================
13:28:16,234 INFO [[localhost]] REQUEST URI =/HelloWorld
13:28:16,234 INFO [[localhost]] authType=null
13:28:16,234 INFO [[localhost]] characterEncoding=UTF-8
13:28:16,234 INFO [[localhost]] contentLength=235
13:28:16,234 INFO [[localhost]] contentType=text/xml; charset=UTF-8
13:28:16,234 INFO [[localhost]] contextPath=/HelloWorld
13:28:16,234 INFO [[localhost]] header=soapaction="http://localhost:8080/HelloWorld/sayHello"
13:28:16,234 INFO [[localhost]] header=content-type=text/xml; charset=UTF-8
13:28:16,234 INFO [[localhost]] header=user-agent=Java/1.5.0_09
13:28:16,234 INFO [[localhost]] header=host=localhost:8080
13:28:16,234 INFO [[localhost]] header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
13:28:16,234 INFO [[localhost]] header=connection=keep-alive
13:28:16,234 INFO [[localhost]] header=content-length=235
13:28:16,234 INFO [[localhost]] locale=en_US
13:28:16,234 INFO [[localhost]] method=POST
13:28:16,234 INFO [[localhost]] pathInfo=/
13:28:16,234 INFO [[localhost]] protocol=HTTP/1.1
13:28:16,234 INFO [[localhost]] queryString=null
13:28:16,234 INFO [[localhost]] remoteAddr=127.0.0.1
13:28:16,234 INFO [[localhost]] remoteHost=127.0.0.1
13:28:16,234 INFO [[localhost]] remoteUser=null
13:28:16,234 INFO [[localhost]] requestedSessionId=null
13:28:16,234 INFO [[localhost]] scheme=http
13:28:16,234 INFO [[localhost]] serverName=localhost
13:28:16,234 INFO [[localhost]] serverPort=8080
13:28:16,234 INFO [[localhost]] servletPath=
13:28:16,234 INFO [[localhost]] isSecure=false
13:28:16,234 INFO [[localhost]] ------------------------------------------------++++++++++++++++++++++++++++++++++++++++++++++++
If you look at the above log you will see Soap headers been set
+++++++++++++++++++++++++++++++++++++++++++++++
Sample 2. I use the Call Implementation. I have commented out the Remote interface call and use call.invoke() instead
+++++++++++++++++++++++++++++++++++++++++
//IHelloWorld hello = (IHelloWorld) service.getPort(IHelloWorld.class);
// System.out.println("hello.hello(" + argument + ")");
// System.out.println("output:" + hello.sayHello(argument));
CallImpl call = (CallImpl)service.createCall();
QName operationName = new QName(TARGET_NAMESPACE, "sayHello");
call.setOperationName(operationName);
System.out.println(call.isParameterAndReturnSpecRequired(operationName));
Object retObj = call.invoke(new Object[]{argument});
++++++++++++++++++++++++++++++++++++++++++++
The output I get is as follows. If you notice the last part i.e the setting of Soap Headers is missing.
+++++++++++++++++++++++++++++++++++++++++++
13:22:41,421 INFO [[localhost]] REQUEST URI =/HelloWorld
13:22:41,421 INFO [[localhost]] authType=null
13:22:41,421 INFO [[localhost]] characterEncoding=null
13:22:41,421 INFO [[localhost]] contentLength=-1
13:22:41,421 INFO [[localhost]] contentType=application/x-www-form-urlencoded
13:22:41,421 INFO [[localhost]] contextPath=/HelloWorld
13:22:41,421 INFO [[localhost]] header=user-agent=Java/1.5.0_09
13:22:41,421 INFO [[localhost]] header=host=localhost:8080
13:22:41,421 INFO [[localhost]] header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
13:22:41,421 INFO [[localhost]] header=connection=keep-alive
13:22:41,421 INFO [[localhost]] header=content-type=application/x-www-form-urlencoded
13:22:41,421 INFO [[localhost]] locale=en_US
13:22:41,421 INFO [[localhost]] method=GET
13:22:41,421 INFO [[localhost]] parameter=wsdl=
13:22:41,421 INFO [[localhost]] pathInfo=/
13:22:41,421 INFO [[localhost]] protocol=HTTP/1.1
13:22:41,421 INFO [[localhost]] queryString=wsdl
13:22:41,421 INFO [[localhost]] remoteAddr=127.0.0.1
13:22:41,421 INFO [[localhost]] remoteHost=127.0.0.1
13:22:41,421 INFO [[localhost]] remoteUser=null
13:22:41,421 INFO [[localhost]] requestedSessionId=null
13:22:41,421 INFO [[localhost]] scheme=http
13:22:41,421 INFO [[localhost]] serverName=localhost
13:22:41,421 INFO [[localhost]] serverPort=8080
13:22:41,421 INFO [[localhost]] servletPath=
13:22:41,421 INFO [[localhost]] isSecure=false
13:22:41,421 INFO [[localhost]] ---------------------------------------------------------------
13:22:41,484 INFO [[localhost]] ---------------------------------------------------------------
13:22:41,484 INFO [[localhost]] authType=null
13:22:41,500 INFO [[localhost]] contentLength=-1
13:22:41,500 INFO [[localhost]] contentType=text/xml
13:22:41,500 INFO [[localhost]] header=X-Powered-By=Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5
13:22:41,500 INFO [[localhost]] header=Content-Type=text/xml
13:22:41,500 INFO [[localhost]] header=Transfer-Encoding=chunked
13:22:41,500 INFO [[localhost]] header=Date=Tue, 05 Jun 2007 07:52:41 GMT
13:22:41,500 INFO [[localhost]] message=null
13:22:41,500 INFO [[localhost]] remoteUser=null
13:22:41,500 INFO [[localhost]] status=200
13:22:41,500 INFO [[localhost]] ===============================================================
13:22:41,562 INFO [[localhost]] REQUEST URI =/HelloWorld
13:22:41,562 INFO [[localhost]] authType=null
13:22:41,562 INFO [[localhost]] characterEncoding=null
13:22:41,562 INFO [[localhost]] contentLength=-1
13:22:41,562 INFO [[localhost]] contentType=application/x-www-form-urlencoded
13:22:41,562 INFO [[localhost]] contextPath=/HelloWorld
13:22:41,562 INFO [[localhost]] header=user-agent=Java/1.5.0_09
13:22:41,562 INFO [[localhost]] header=host=localhost:8080
13:22:41,562 INFO [[localhost]] header=accept=text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
13:22:41,562 INFO [[localhost]] header=connection=keep-alive
13:22:41,562 INFO [[localhost]] header=content-type=application/x-www-form-urlencoded
13:22:41,562 INFO [[localhost]] locale=en_US
13:22:41,562 INFO [[localhost]] method=GET
13:22:41,562 INFO [[localhost]] parameter=wsdl=
13:22:41,562 INFO [[localhost]] pathInfo=/
13:22:41,562 INFO [[localhost]] protocol=HTTP/1.1
13:22:41,562 INFO [[localhost]] queryString=wsdl
13:22:41,562 INFO [[localhost]] remoteAddr=127.0.0.1
13:22:41,562 INFO [[localhost]] remoteHost=127.0.0.1
13:22:41,562 INFO [[localhost]] remoteUser=null
13:22:41,562 INFO [[localhost]] requestedSessionId=null
13:22:41,562 INFO [[localhost]] scheme=http
13:22:41,562 INFO [[localhost]] serverName=localhost
13:22:41,562 INFO [[localhost]] serverPort=8080
13:22:41,562 INFO [[localhost]] servletPath=
13:22:41,562 INFO [[localhost]] isSecure=false
13:22:41,562 INFO [[localhost]] ---------------------------------------------------------------
13:22:41,578 INFO [[localhost]] ---------------------------------------------------------------
13:22:41,578 INFO [[localhost]] authType=null
13:22:41,578 INFO [[localhost]] contentLength=-1
13:22:41,578 INFO [[localhost]] contentType=text/xml
13:22:41,578 INFO [[localhost]] header=X-Powered-By=Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5
13:22:41,578 INFO [[localhost]] header=Content-Type=text/xml
13:22:41,578 INFO [[localhost]] header=Transfer-Encoding=chunked
13:22:41,578 INFO [[localhost]] header=Date=Tue, 05 Jun 2007 07:52:41 GMT
13:22:41,578 INFO [[localhost]] message=null
13:22:41,578 INFO [[localhost]] remoteUser=null
13:22:41,578 INFO [[localhost]] status=200
13:22:41,578 INFO [[localhost]] ================================================
++++++++++++++++++++++++++++++++++++++++++++++
The reason I donot want to use SOAP is that the client is a PHP client and currently only supports XML-RPC and expects a response in pure XML. Is there a way where i could configure the webservice to take in XML-RPC calls respond in XML-RPC without wrapping it in a soap envelope. May be I am sounding a little weird . Thanks so much ifor the help so far
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051222#4051222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051222
18Â years, 10Â months