HTML Web Service Tester
Please help. I am looking for an html based web service tester.
I need to input the SOAP 1.1 formatted xml in something like a text
box and send it to the service without passing through a soap client.
The return should simply display the xml from the service (fault or
not).
I'm guessing that I can not use the usual HTML get or post because the
xml would end up inside a parameter instead of standing alone when it
arrives at the server.
Thanks
John
Thanks but that uses a client to build a message.
I already have the xml message and want to deliver it to the service with little or no overhead. I would normally just use a JSP but this is a typical rush situation and I don't have the days it takes to get a new JSP deployed into our environment.
John
Similar Messages
-
Unable to open web service tester page
Hi
I'm three days trying to resolve this problem. I 'dont find a solution. I'm using ejb3.0 and web service. When I test the the application show me the messages Unable to open web service tester page. The application server is start up.
I'm trying this example. http://www.netbeans.org/download/flash/platform_55/platform_ws/
When I try to deploy the application show me this error.
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\;C:\Archivos de programa\subversion-1.3.2\;C:\Archivos de programa\Subversion\bin;C:\Archivos de programa\QuickTime\QTSystem\;;;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/Sun/AppServer
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/Sun/AppServer/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start|#]
Starting Sun Java System Application Server Platform Edition 9.0 (build b48) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://dani:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
autoDeployment status dir missing, creating a new one
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\MEjbApp.ear for autodeployment.
deployed with moduleid = MEjbApp
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear.
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.
deployed with moduleid = __ejb_container_timer_app
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear.
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\__JWSappclients.ear for autodeployment.
deployed with moduleid = __JWSappclients
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\__JWSappclients.ear.
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
sending notification to server...server
CORE5051: Shutting down all J2EE applications ...
CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...
CORE 5061 : Resource adapters Stop() Complete
CORE5052: Application shutdown complete.
[AutoDeploy] Disabling AutoDeployment service.
WEB0303: Stopping Sun-Java-System/Application-Server.
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 4848
Waiting for 1 instance(s) to be deallocated
Waiting for 1 instance(s) to be deallocated
Waiting for 1 instance(s) to be deallocated
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\;C:\Archivos de programa\subversion-1.3.2\;C:\Archivos de programa\Subversion\bin;C:\Archivos de programa\QuickTime\QTSystem\;;;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/Sun/AppServer
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=C:\Sun\AppServer\domains\domain1\lib\mysql-connector-java-3.1.12-bin.jar
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/Sun/AppServer/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start|#]
Starting Sun Java System Application Server Platform Edition 9.0 (build b48) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://dani:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added jdbc/aae]
CORE5004: Resource Deployed: [jdbc:aae].
wsgen successful
DPL5306:Servlet Web Service Endpoint [AAEWebService] listening at address [http://dani:8080/WebAAEstates/AAEWebServiceService]
deployed with moduleid = WebAAEstates
WEB0100: Loading web module [WebAAEstates] in virtual server [server] at [/WebAAEstates]
naming.bind
topLink_version
application_server_name_and_version
login_successful
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/WebAAEstates'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/WebAAEstates'
exception caught
javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
Servlet web service endpoint 'AAEWebService' failure
java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
... 34 more
|#]
StandardWrapperValve[AAEWebService]: Allocate exception for servlet AAEWebService
javax.servlet.ServletException
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:273)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
... 26 more
Caused by: javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
... 34 more
|#]
exception caught
javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
Servlet web service endpoint 'AAEWebService' failure
java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newIn  Hello,
you can check it at GlassFish Admin console (usually running on port 4848).
You need to log on to Admin console with the (default) or changed password (depends if you changed it during installation).
There you could see your web service deployed (usually in the "folder" Web services).
If you can see it you should see also wsdl - for your web service.
link:
http://developers.sun.com/appserver/reference/techart/ws_mgmt.html
Regards,
Miro -
Web Service Tester - ADF_FACES 60097 error
Hi Mike / Everyone,
I created a very simple process to test it through Web Service Tester, however when clicking on "Send" button in Web Service Tester, i get the following error:
java.lang.nullpointerexception
ADF FACES - 60097: For more information, please see server's error log for an entry beginning with : ADF FACES-60096:ServerException during PPR #3.
Screenshot attached - ADF_Faces_error.
EDQ Process screen shot attached. What the process does is take a full name and breaks it down.
Example: Web Service takes 1 input field (like full name) and give back 4 outputs
input
Mr. William Henry Gates
output
Mr
William
Henry
Gates
main0.log file
WARNING: 16-Sep-2014 14:27:36: [EDQ-05100] Error in initialisation Loqate not installed, OAV Java API jar "../../edq-av/av-dist/loqate.jar" does not exist
WARNING: 16-Sep-2014 14:27:37: [EDQ-03242] Error registering MBean "edq:type=Match Widget,name=Settings": edq:type=Match Widget,name=Settings
WARNING: 16-Sep-2014 14:27:37: [EDQ-10108] Processor library: processor bean oracle.edq.pdqwidget.server.PDQBean reported as failed: Configuration file "edqp/edqp.properties" not present (Code: 247,500)
SEVERE: 16-Sep-2014 14:27:37: [EDQ-10040] Web Services: error publishing endpoint: Cluster address must be set when clustering is enabled.
java.lang.IllegalArgumentException: Cluster address must be set when clustering is enabled.
at weblogic.wsee.server.ServerUtil.getClusterAddress(ServerUtil.java:491)
at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:196)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:147)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:136)
at weblogic.wsee.jaxws.spi.WLSEndpoint.calculatePublicAddressFromEndpointAddress(WLSEndpoint.java:314)
at weblogic.wsee.jaxws.spi.WLSEndpoint.publish(WLSEndpoint.java:186)
at oracle.edq.webservices.services.platform.wls.JAXWSPublishedHTTPEndpoint.publish(JAXWSPublishedHTTPEndpoint.java:124)
at com.datanomic.director.webservices.services.Services.publish(Services.java:95)
at com.datanomic.director.webservices.manager.WebServicesManager.publish(WebServicesManager.java:718)
at com.datanomic.director.webservices.manager.WebServicesManager.loadDB(WebServicesManager.java:851)
at com.datanomic.director.webservices.manager.WebServicesManager.access$100(WebServicesManager.java:106)
at com.datanomic.director.webservices.manager.WebServicesManager$1.run(WebServicesManager.java:263)
at com.datanomic.utils.system.StartupActions.run(StartupActions.java:108)
at com.datanomic.director.startup.WebApplicationContext.refresh(WebApplicationContext.java:126)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
INFO: 16-Sep-2014 14:27:37: [EDQ-05888] Mission scheduler executing startup schedules
INFO: 16-Sep-2014 14:27:37: [EDQ-00314] AutoRun: has nothing to do!
WARNING: 16-Sep-2014 14:29:38: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Runtime": edq:type=Logging,name=Process Runtime
WARNING: 16-Sep-2014 14:29:40: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Model Server": edq:type=Logging,name=Process Model Server
INFO: 16-Sep-2014 14:29:57: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : started execution
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
at java.lang.Thread.run(Thread.java:682)
Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
... 16 more
Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
... 17 more
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
... 18 more
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
INFO: 16-Sep-2014 14:37:37: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : started execution
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
at java.lang.Thread.run(Thread.java:682)
Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
... 16 more
Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
... 17 more
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
... 18 more
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
The whole purpose of this process is to try out web service tester.
Thanks in advance,i did look in the following path and found:
/ora/mw_etl/user_projects/domains/pbgc_etl/servers/edq_server2/logs
<Sep 16, 2014 4:03:53 PM EDT> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #10
javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
at oracle.edq.adf.web.webservices.TesterBean.send(TesterBean.java:510)
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:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Sep 16, 2014 4:05:51 PM EDT> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
Thanks -
Workshop 9.2 - Web Service Test Client - java.util.NoSuchElementException
I've found an issue with the Web Services Test Client while developing a web service application in the Weblogic Workshop 9.2 tool. The same schema / code in Workshop 8.1 SP4 works okay in its version of the test client.
The error seems to manifest itself, when I add the "addresses" element to the "locations" element.
The error displayed in the weblogic service console is
<BLOCKQUOTE>
java.lang.RuntimeException: java.util.NoSuchElementException
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:63)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3211)
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:427)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:341)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.createMessageBody(RequestTemplate.java:220)
at weblogic.testclient.RequestTemplate.buildRequest(RequestTemplate.java:169)
at weblogic.testclient.RequestTemplate.createRequestTemplate(RequestTemplate.java:103)
at weblogic.testclient.RequestTemplate.<init>(RequestTemplate.java:85)
at weblogic.testclient.WebServiceOperation.<init>(WebServiceOperation.java:120)
at weblogic.testclient.WsdlOperationParser.createOperation(WsdlOperationParser.java:115)
at weblogic.testclient.WebService.createOperation(WebService.java:242)
at weblogic.testclient.WebService.<init>(WebService.java:86)
at weblogic.testclient.Wsdl.parseWsdl(Wsdl.java:127)
at weblogic.testclient.Wsdl.<init>(Wsdl.java:59)
at weblogic.testclient.ConnectionState.createWsdlFromHttpUrl(ConnectionState.java:113)
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:54)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
</BLOCKQUOTE>
The code in the Web Service control is...
<BLOCKQUOTE>
package services;
import javax.jws.WebMethod;
import javax.jws.WebService;
import weblogic.jws.WLHttpTransport;
import au.com.suncorp.services.payment.schema.x0.RequestIdDocument;
import au.com.suncorp.services.payment.schema.x0.VendorDocument;
@WebService(targetNamespace="http://suncorp.com.au/services/payment/wsdl/0")
@WLHttpTransport(serviceUri="services/PaymentService")
public class Payment {
@WebMethod
public RequestIdDocument setupVendor(VendorDocument request) {
System.out.println(request.xmlText());
RequestIdDocument result = RequestIdDocument.Factory.newInstance();
RequestIdDocument.RequestId response = result.addNewRequestId();
response.setCorrelationId("CorrelationId-" + request.getVendor().getName());
return result;
</BLOCKQUOTE>
The XSD schema is as follows....
<BLOCKQUOTE>
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://suncorp.com.au/services/payment/schema/0"
xmlns:tns="http://suncorp.com.au/services/payment/schema/0">
<!-- ***************************************************************** -->
<simpleType name="correlationIdType">
<annotation>
<documentation>
The CorrelationId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="estTimeIntervalType">
<annotation>
<documentation>
The Estimated Time Interval field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="vendorIdType">
<annotation>
<documentation>
The Vendor Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="nameType">
<annotation>
<documentation>
The Vendor Name field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="persistenceType">
<annotation>
<documentation>
The Persistence field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="ownerType">
<annotation>
<documentation>
The Owner field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="sourceReferenceType">
<annotation>
<documentation>
The vendor Source Reference field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="abnType">
<annotation>
<documentation>
The vendor ABN field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="countryType">
<annotation>
<documentation>
The Country field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="stateType">
<annotation>
<documentation>
The State field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="cityType">
<annotation>
<documentation>
The City field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="postcodeType">
<annotation>
<documentation>
The Postcode field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="gstRegisteredType">
<annotation>
<documentation>
The GST Registered field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="withHoldingType">
<annotation>
<documentation>
The WithHolding field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="vendorClassType">
<annotation>
<documentation>
The Vendor Class field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="statusType">
<annotation>
<documentation>The Status field.</documentation>
</annotation>
<restriction base="string">
<enumeration value="ACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="INACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="locationIdType">
<annotation>
<documentation>
The Location Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="effectiveDateType">
<annotation>
<documentation>
The Effective Date field.
</documentation>
</annotation>
<restriction base="dateTime"></restriction>
</simpleType>
<simpleType name="addressIdType">
<annotation>
<documentation>
The AddressId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="addressType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactIdType">
<annotation>
<documentation>
The ContactId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactMethodType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="PHONE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="dispatchMethodType">
<annotation>
<documentation>
The Dispatch Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="currencyType">
<annotation>
<documentation>
The Currency field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="payGroupType">
<annotation>
<documentation>
The Pay Group field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHoldType">
<annotation>
<documentation>
The Pay Hold field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="freightTermsType">
<annotation>
<documentation>
The Freight Terms field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHandlingType">
<annotation>
<documentation>
The Pay Handling field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="delayDaysType">
<annotation>
<documentation>
The Delay Days field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="payFromBankType">
<annotation>
<documentation>
The Pay From Bank field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentInstructionsType">
<annotation>
<documentation>
The Payment Instructions field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentTermsType">
<annotation>
<documentation>
The Payment Terms field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="COD">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="SEVEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FOURTEEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="TWENTYONE_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="THIRTY_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="paymentMethodType">
<annotation>
<documentation>
The Payment Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="CHEQUE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="payBankIdType">
<annotation>
<documentation>
The PayBankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="descriptionType">
<annotation>
<documentation>
The Pay Bank Description field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankIdType">
<annotation>
<documentation>
The BankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="branchIdType">
<annotation>
<documentation>
The BranchId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankAccountType">
<annotation>
<documentation>
The BankAccount field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<!-- ***************************************************************** -->
<complexType name="payBankDetailsType">
<sequence>
<element name="payBankId" type="tns:payBankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="description" type="tns:descriptionType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankId" type="tns:bankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="branchId" type="tns:branchIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankAccount" type="tns:bankAccountType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
</sequence>
</complexType>
<complexType name="paymentDetailsType">
<sequence>
<element name="paymentTerms" type="tns:paymentTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentMethod" type="tns:paymentMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payGroup" type="tns:payGroupType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="currency" type="tns:currencyType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHold" type="tns:payHoldType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="freightTerms" type="tns:freightTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHandling" type="tns:payHandlingType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="delayDays" type="tns:delayDaysType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payFromBank" type="tns:payFromBankType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentInstructions" type="tns:paymentInstructionsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankDetails" type="tns:payBankDetailsType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="contactDetailsType">
<sequence>
<element name="contactId" type="tns:contactIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="contactMethod" type="tns:contactMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="arrayOfContactDetails">
<sequence>
<element name="contact" type="tns:contactDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="addressDetailsType">
<sequence>
<element name="addressId" type="tns:addressIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="address" type="tns:addressType" maxOccurs="1" minOccurs="1"></element>
<element name="postcode" type="tns:postcodeType" maxOccurs="1" minOccurs="1"></element>
<element name="city" type="tns:cityType" maxOccurs="1" minOccurs="1"></element>
<element name="state" type="tns:stateType" maxOccurs="1" minOccurs="1"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1"></element>
<element name="contacts" type="tns:arrayOfContactDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfAddressDetails">
<sequence>
<element name="address" type="tns:addressDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="locationDetailsType">
<sequence>
<element name="locationId" type="tns:locationIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="orderingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="invoicingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="remittingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="returningVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
<element name="paymentDetails" type="tns:paymentDetailsType" maxOccurs="1" minOccurs="1"></element>
<element name="addresses" type="tns:arrayOfAddressDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfLocationDetails">
<sequence>
<element name="location" type="tns:locationDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<!-- ***************************************************************** -->
<element name="Vendor">
<complexType mixed="true">
<annotation>
<documentation>
The Vendor request object.
</documentation>
</annotation>
<sequence>
<element name="vendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="1"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="1"></element>
<element name="persistence" type="tns:persistenceType" maxOccurs="1" minOccurs="1" default="true"></element>
<element name="owner" type="tns:ownerType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="sourceReference" type="tns:sourceReferenceType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="corporateVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="abn" type="tns:abnType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1" default="AUS"></element>
<element name="gstRegistered" type="tns:gstRegisteredType" maxOccurs="1" minOccurs="0" nillable="true" default="true"></element>
<element name="withHolding" type="tns:withHoldingType" maxOccurs="1" minOccurs="0" nillable="true" default="false"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1" default="ACTIVE"></element>
<element name="vendorClass" type="tns:vendorClassType" maxOccurs="1" minOccurs="1"></element>
<element name="locations" type="tns:arrayOfLocationDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
</element>
<element name="RequestId">
<complexType mixed="true">
<annotation>
<documentation>The typical response object for requests.
</documentation>
</annotation>
<sequence>
<element name="correlationId" type="tns:correlationIdType" maxOccurs="1" minOccurs="1"></element>
<element name="estTimeInterval" type="tns:estTimeIntervalType" maxOccurs="1" minOccurs="0" nillable="true" default="24"></element>
</sequence>
</complexType>
</element>
</schema>
</BLOCKQUOTE>Hi Paul
I believe there is some issue with the TestClient.
Instead to test, can you please try this?
1) Right click on Payment.java and choose Webservices -> generate wsdl
2) Right click on the wsdl and choose Webservices -> Test with WebServices Explorer.
3) Click on setVendor method
4) Enter the request parameters
Sample one:
<ns:Vendor xmlns="http://www.openuri.org/" xmlns:ns="http://suncorp.com.au/services/payment/schema/0">
<vendorId xmlns="">Vendor Id</vendorId>
<name xmlns="">My correlation Id</name>
<persistence xmlns="">false</persistence>
<country xmlns="">USA</country>
<status xmlns="">ACTIVE</status>
<vendorClass xmlns="">VendorClass</vendorClass>
</ns:Vendor>
5) Hit the button 'Go'. The entire soap response will be displayed in the bottom.
I have tested this and it works fine.
Output I got:
<m:setupVendorResponse xmlns:m="http://suncorp.com.au/services/payment/wsdl/0">
<RequestId xmlns="http://suncorp.com.au/services/payment/schema/0">
<correlationId>CorrelationId-My correlation Id</correlationId>
</RequestId>
</m:setupVendorResponse>
Thanks,
Vimala -
Web Services Test Page: No input fields for SOAP header parameters?
Hello,
we're using OracleAS / OC4J 10.1.3.1 and have developed a web service that has some self defined SOAP header parameters.
I would like to use the Web Services Test Page provided by the OAS but it seems that there is no opportunity
to provide input values for these SOAP header parameters.
Do I miss something there or is it not supported by OAS?
I've read the documentation but could not find a clue.
any help is appreciated,
Regards,
MartinI hear you. As you have probably heard, OC4J is being replaced by WebLogic Server and the 10.1.3.x releases are the last that will be produced. We'll do maintenance on it of course, but little/no new feature work. This would be a new feature we'd have to add, so I'm afraid there's not much chance in having it done.
It's not ideal, and of course more work for you, but if you want to provide your client with a test page that exposes the SOAP headers as form fields, you could always develop and ship one yourself.
-steve0 -
Web Service Tester not sending parameter to Session bean?
Hi,
I've implemented an EJB3 entity bean, a stateless session bean and used the @WebService annotation to make it accessible.
It deployed fine, and everything seems to work. I use the web service tester to test the methods.
The findDepartments() method works fine (it doesn't take any input).
However, this method does not work:
* Find a specific department
public Department findDepartment(BigDecimal pk)
System.out.println("Incoming pk="+pk);
return em.find(Department.class, pk);
}Incoming pk is always null. Is there a bug in the WebService tester or something?Hmm, ok so this is a bug? As of now the tester page does not support value objects as parameters / return types. Agreed that the error message should be more useful :(
I do get the same error if I use another soap client
though, so I find it kind of strange.This is different though. In this case, is the request received at the service side at all ? Which version of app server are you using ? What kind of service is this ? JAXRPC or JAXWS ? -
I need to write a tool for internal web service testing, like the one wls admin console has. But I need the tool to run separately, meaning from app, either using jsp, servlet or jpf. How can I access the web service? Do I have to generate client jar for each of my web service to test? What is the underline implementation of wls_utc? Thanks!
Thanks!I guess SOAPUI is not an option for you...?
Personally I have always used Axis2 WSDL2Java with great success, it never failed. It will generate the SOAP client for you (if you use SOAP, otherwise I guess for REST also there is some support) -
Web Service Tester works perfectly but the Web service is not.
I have a web service developed in EDQ that works as expected when I check using Web Service tester.
However when the upstream server sends the request to this web service, the response it gets is not as expected. "
This difference is only for a particular rule.(if Street Address Line 1 is 'Holiday', then the Customer Status should become 'C')
All the other rules are working s expected.
What can this difference be due to?
Thanks and Regards.
RaviThe only logical explanation is that the client sending the request is sending different data. Perhaps it may be something subtle such as trailing whitespace (with the process you have constructed not coping with this)?
Mike -
String formatting and web service testing
Hi
I need to create a web service test where I pass todays date formatted as yyyy-mm-dd. I'm assuming that I need to use VBA to format the script but can't get the eTEst script to use my VBA function. Please could someone provide a step by step explanation of how to do this.
Many thanks
HuwHuw,
Do the following:
1. start the Databank Wizard
2. create a new variable
4. map this variable to the parameter you want to substitute with today's date
5. switch to Data Binding tab
6. create a databank file. It can be single-column file with any (bogus) data.
7. bind that only databank field with the variable created in step 2
8.complete the Wizard
9. open VBA Editor for the page preceding the page containing the parameter to be substituted with today's date (so, if the parameter is on page 3, open VBA Editor for page 2)
10. in RSWVBAPage_afterPlay add the follows:
RSWApp.RSWApp.SetDataBankValue "var", sValue
where var - is the variable created in step 2 and sValue - is the variable containing today's date
Now, when you play the script back "with databank", the value assigned to sValue will be used instead of hard-coded databank value.
Message was edited by: eginzburg -
The Web Service Tester cannot be invoked, because the WSDL document of the
Hi,
I'm new to using webservice. I created a web service and right mouse clicked on the serviceImpl.java and selectd 'Test Web Service'.
I got an error
"The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read."
Could you please help?
Thanks,
CharuneeI found that this is a bug in Jdev and it is fixed by
BUG 9153288 - D08B02C: WEBSERVICES TEST PAGE GIVES ERROR AND IS NOT DEPLOYED
Thanks,
Charunee -
Why i am I getting Error (5,8) TestCas for a Web Service Test File Generate
why i am I getting the following error for a Web Service Test File Generated by jdeveloper when i run it:
Error (5,8) TestCase not Found
Error(12,14):constructor Object(java.lang.String) not found in java.lang.Objectactually i removed that error by added the junit.jar to my libraries but i am getting a new error when accessing the webservice with a Jdev generated web service proxy:
WARNING: Unable to connect to URL: https://mytest.test.com/WebService/MyTest_1.0/soap.soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11977)
at project7.proxy.MyTestClient.echoOfficeLocation(MyTestClient.java:1276)
at project7.proxy.MyTestClient.main(MyTestClient.java:38)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:150)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:176)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11961)
... 2 more
Process exited with exit code 0.
looks like something to do with the certificate or keystore... how do you add the keystore to JDev.. i tried the JDK cacert but that doesnt work... -
Report in HTML web service... unnecessarity tags added
My requirement is to generate a report in html format in sap and get it through a web service.
I need to invoke a sap web service which executes a report function and returns the report in HTML format.
I am using an RFC BAPI which uses WWW_HTML_FROM_LISTOBJECT function to convert report to html.
The problem is when the RFC is returning xml data with the html extra data is also being sent which are not of UTF8 charset format but windows-1252 charset.
So I am unable to parse that xml.
The extra tags added are <LIST_PAGES>...</LIST_PAGES>, <HYPER_TAGS>...</HYPER_TAGS>, <XFORMAT_DESCRIPTION>...</XFORMAT_DESCRIPTION>. I think these are being added by WWW_HTML_FROM_LISTOBJECT function.
I don't want these tags to be sent... how can I solve it.
I hope the question is clear... Please try to help me.
Thank you.I managed to test the web service working from another APEX environment.
Then I created Form and Report on Web Service page but when I tried to Submit the page to get the report filled with web service, it gave me this error:
ORA-19025: EXTRACTVALUE returns value of only one node -
Soap response the web service test page
Hi
I am trying to write the static client for a wlw web service. This web service doesn't have @jws:protocol specified, so it has get, post and soap. When I call one of its method using soap port in my static client, it returns the html looks like the weblogic test page for this web service. Here it is:
<-------------------- RESPONSE TO CLIENT --------------->
URL : http://localhost:7001/webservices/testWS.jws
Response Code :200
Headers :
Date=Thu, 07 Feb 2008 17:18:08 GMT
Content-Length=11724
Content-Type=text/html; charset=UTF-8
Expires=Thu, 01 Jan 1970 00:00:00 GMT
Connection=Keep-Alive
Set-Cookie=JSESSIONID=Hr9Qt7BTQQzvM0pGZhvyPjL7typsrTK1GLp0BZZQnRGFwfx90x8K!606
033313; path=/
Envelope :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<title>BEA WebLogic Workshop: testWS.jws Web Service</title>
<link rel=stylesheet href="testWS.jws?.RESOURCE=shared.css">
<body>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
.....First why doesn't it return soap message? And it doesn't execute the method at all. How can I make it call the method and return the soap message?
Thanks
Edited by Holy at 02/08/2008 9:45 AMFigured out that the testWS.jws is deployed to use ssl. But the wsdl generated has http. It works fine after I manually changed to https.
-
Web services test using WS Navigator doesnot return field values
Hi experts,
We are running ECC 6 (NW 7 Ehp1) ABAP stack and NW CE 7.1 with Java stack (J2EE Engine 7.11). We are trying to test web services using WS Navigator. We can logon to WS Navigator and perform the test. The test shows a success return code, however, it doesn't bring back field values. We can see the values when we perform this test within ABAP stack. A sample of WS Navigator XML log for the service test is as below:
<?xml version="1.0" encoding="utf-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:ZcGetCustomerInfoResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<OKna1>
<Mandt/>
<Kunnr/>
<Land1/>
<Name1/>
<Name2/>
<Ort01/>
<Pstlz/>
<Regio/>
<Sortl/>
u2026
<MessageV3/>
<MessageV4/>
<Parameter/>
<Row>0</Row>
<Field/>
<System/>
</Return>
</n0:ZcGetCustomerInfoResponse>
</soap-env:Body>
</soap-env:Envelope>
If someone can provide insight why is this happening, I would greatly appreciate it.
Regards
NirmalWondering if I posted this in the wrong forum. Can someone please guide me if it is the wrong forum for this question.
Thanks
Nirmal -
Web Service Testing Does Not Work In IE
I am using WLS 7.0SP4 with a webservice generated from an EJB. I have been
testing it using the web service home page, and I have noticed this strange
behavior: when I press the "Invoke" button in Internet Explorer 6, I am sent
back to the web services home page; when I do the same in Mozilla Firebird,
I get the page indicating what transpired as the web service was invoked.
Simple print statements in the EJB indicate that with Internet Explorer the
EJB is definitely not being called when I press the Invoke button.
Furthermore, the same print statements are executed when using Mozilla
Firebird and pressing the Invoke button.
Any ideas?
Jimmy
James "Jimmy" Wilson
[email protected]Yes this is an issue with IE. I think, there is a max
size for HTTP GET in IE. If the get request is larger
than the max size, it simply cuts off the extera data
(without any error message). When this happens,
server things that you are requesting home page, instead
of invoking a method.
You can either use a different browser, or try to reduce
the size of data in the method invoke form.
Regards,
-manoj
http://manojc.com
"James Wilson" <[email protected]> wrote in message
news:[email protected]..
I am using WLS 7.0SP4 with a webservice generated from an EJB. I havebeen
testing it using the web service home page, and I have noticed thisstrange
behavior: when I press the "Invoke" button in Internet Explorer 6, I amsent
back to the web services home page; when I do the same in MozillaFirebird,
I get the page indicating what transpired as the web service was invoked.
Simple print statements in the EJB indicate that with Internet Explorerthe
EJB is definitely not being called when I press the Invoke button.
Furthermore, the same print statements are executed when using Mozilla
Firebird and pressing the Invoke button.
Any ideas?
Jimmy
James "Jimmy" Wilson
[email protected]
Maybe you are looking for
-
XI - J2ee takes long time to startup after SP19
Hi everybody, we have patched our XI development system to SP 19; during startup of j2ee it takes a long time in registering method in com.sap.security.core.server.vsi.service.jni.VirusScanInterface....about 10 minutes! Here follow an extract of dev_
-
Running the .class file from java code
I'm doing a kind of providing service like compiling and running Java code on server side and giving output to the end user. Please suggest me an approach with code to run .class file from the Java code. import java.io.*; public class demo { public s
-
Mac book air '13. Should I buy now?
Should I buy a 2013 macbook air now? Heard many complaints about Wi-Fi connection drop out problems. Thanks, Alan
-
Automate FTP download from a website
Hello Does anyone know how to automate a ftp download from a site using a login and password? I am using the SAP business objects XI 3.2 environment. Any help would be greatly appreciated ! Regards Juan
-
Hp photsmart 7520 and iMac OS X 10.8.3 not talking in app's!
I am able to print with the usb connection while having no problems, but this is not what my client wants. I updated the firmware, downloaded the drivers, entered the IP address to find the printer, and this is where the problem begins. During the