Web Services Integration issues on Oracle Web Service Example Page..
The Oracle hosted pages for the Web Services Integration, all of the applications are dying when you try and run them. 1/2 of them are having ACL (Access Control List issues)..
Don't know if this is because of the change-over to APEX 4.0 or a new version of teh database being used, just though Oracle should know and they MIGHT want to fix them..
Thank you,
Tony Miller
Webster, TX
Tony:
Thanks for pointing that out. They should now all be fixed with the exception of the Amazon sample. Amazon changed their API some time ago to require a signature parameter, I blogged about this here: http://jastraub.blogspot.com/2009/10/rest-now-supported-in-flexwsapi-and.html.
Regards,
Jason
Similar Messages
-
Problems deploying PL/SQL Web Service example to standalone OC4J
I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
Any assistance would be appreciated
Regards
MichaelYou have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.
-
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 -
Problems doing the "Web Service" example from the 2-Day-Developer Guide
Hello,
I want to do the "web service" example from the 2-Day-Developer Guide.
I give the application my proxy server address in the format address:port and go through the assistant creating the web service. After selecting the IBM UDDI-service and searching for %xMethods% as business name I get the following error:
ORA-31011: XML-Parsing not successful ORA-19202: Error parsing XML LPX-00104: Warning: Element "html" is not declared in DTD Error at line 2
What have I done wrong?
With kind regards
Florian ReiserPlease.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
(I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
Thank you,
Tony Miller
Webster, TX -
Cannot run "Publish PL/SQL as a Web Service" example
Hello!
I have Oracle 8.1.7 AS and 9i JDeveloper running on Windows 2000. I'm trying to run the "Publish PL/SQL as a Web Service" example, but am encountering errors I believe are related to my hostname/IP address/DNS entry. Of course, I could be wrong.
Here is some information:
==========================================================
1. I was able to successfully initialize Containers for J2EE. However, when I was trying to deploy the PL/SQL example, it inserted this information:
C:\oracle\jdev9i\j2ee\home>C:\oracle\jdev9i\jdk\bin\java.exe -jar C:\oracle\jdev9i\j2ee\home\oc4j.jar
Node started with id=-1753996682
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Error updating application PLSQL-PLSQL-WS: Error loading web-app 'WebServices' at
C:\oracle\jdev9i\j2ee\home\applications\PLSQL-PLSQL-WS\WebServices:
resource-ref 'jdbc/testCoreDS' referenced from resource-ref-mapping not found
==========================================================
2. I went through the instructions from the website, and when I began the deployment process it generated this information:
---- Deployment started. ---- Jan 17, 2003 1:20:27 PM
Wrote WAR file to C:\oracle\jdev9i\jdev\plsql-webexample\Project1\WebSe[i]Long postings are being truncated to ~1 kB at this time.Couple of suggestions despite your post being cut off with what might be useful information (please post the rest if these suggestions don't help):
1. There are some bugs with Personal Oracle and Web services, notably Oracle9i Personal that may apply also to 8.1.7. If you have a MetaLink account it is logged as bug 2591731.
2. As you are using your local machine, make sure your proxies are turned off (Tools-Preferences Web Browser/Proxy)
3. I've noticed problems when folks use a JDK with a version lower than 1.3.1_02 to run OC4J - it is certified only with 1.3.1_02 or higher. If you are using the built-in JDeveloper JDK to start up OC4J (e.g. <Jdev_home>\jdk\bin\java.exe) you should be fine. But if you are just typing in java -jar oc4j.jar it is worth checking. Check the your default JDK version by typing in: java -version. If it is lower, then download a new version from http://java.sun.com/j2se/1.3/download.html.
4. For level setting it is best to be using build 1035 of JDeveloper, the current production release and either the OC4J embedded in it or the stand-alone version here on OTN.
Hope these point in the right direction.
Mike. -
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 -
Help needed in web service example. Thank!!!
Hi,
I tested WebLogic 6.1 message-style web service example. For the
ProducerClient.java example, I tested successfully. But for
the ConsumerClient.java example, I kept getting error messages.
Can any expert offers some explanation or advice? Need to
show my boss the cool thing. Any help is highly appreciated.
Thanks.
David
The server-side message is:
Servlet failed with Exception
java.lang.NullPointerException
at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
dapter.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:263)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
The client-side message:
Server returned HTTP response code: 500 for URL: http://localhost:70
01/msg/receiveMsg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:674)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
Connection.java:1163)
at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
09)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at ConsumerClient.main(ConsumerClient.java:52)Hi,
I tested WebLogic 6.1 message-style web service example. For the
ProducerClient.java example, I tested successfully. But for
the ConsumerClient.java example, I kept getting error messages.
Can any expert offers some explanation or advice? Need to
show my boss the cool thing. Any help is highly appreciated.
Thanks.
David
The server-side message is:
Servlet failed with Exception
java.lang.NullPointerException
at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
dapter.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:263)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
The client-side message:
Server returned HTTP response code: 500 for URL: http://localhost:70
01/msg/receiveMsg
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:674)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
Connection.java:1163)
at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
09)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
at ConsumerClient.main(ConsumerClient.java:52) -
Email web service example as an Adaptive Web Service Model
Hi All,
I am using email web service example as an Adaptive Web Service Model in my Web DynPro application (The WSDL of the application that I use is:
http://www.abysal.com/soap/AbysalEmail.wsdl). While loading the WSDL file I am getting following error in log file. Could someone please help me what would be the problem?
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
... 53 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
... 56 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect -> java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 57 more
Caused by: java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
... 59 more
Thanks,
NareshHi Naresh,
See if any of the following threads help, all are related to the same wsdl:
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=54635">https://www.sdn.sap.com/irj/sdn/thread?threadID=54635</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=95335">https://www.sdn.sap.com/irj/sdn/thread?threadID=95335</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=58137">https://www.sdn.sap.com/irj/sdn/thread?threadID=58137</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=36756">https://www.sdn.sap.com/irj/sdn/thread?threadID=36756</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=204762">https://www.sdn.sap.com/irj/sdn/thread?threadID=204762</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=37640">https://www.sdn.sap.com/irj/sdn/thread?threadID=37640</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=80384">https://www.sdn.sap.com/irj/sdn/thread?threadID=80384</a>
In most of these threads, the suggestion given has been to try using the following wsdl:
<a href="http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl">http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl</a>
Tutorial related to this web service is:
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1</a>
(page 181)
Bye
Ankur
Reward points if it helps!! -
Problem with Google Web-Service Example
Hi guys,
i have a problem with the Google Web-Service Example.
I am running EP6.0 SP9 and NWDVST 2.0.9
I did everything according to the tutorial. Got my google license key too.
When i test the web-service i get the following exception:
+
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/com.studie.webdynpro1/com.Allgemein.Allgemein/com.Allgemein.iViews/com.Allgemein.Google
Component class : com.tutorial.wsdl2service.MyGooglePage
User : Administrator
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: com.sapportals.portal.prt.component.PortalComponentException: Exception during PageProcessorComponent.doContent()
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:139)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
... 29 more
Caused by: java.lang.reflect.InvocationTargetException
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:324)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
... 32 more
Caused by: com.sapportals.portal.prt.service.ServiceException: Service not found: MyGoogleService
at com.sapportals.portal.prt.core.service.ServiceManager.getPortalServiceItem(ServiceManager.java:384)
at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:184)
at com.sapportals.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:132)
at com.tutorial.wsdl2service.MyGooglePage$GoogleDynPage.onSearchButtonClicked(MyGooglePage.java:98)
... 39 more+
My XML File has the following content:
++
The MyGooglePage.java includes the following line:
IMyGoogleService googleService = (IMyGoogleService) PortalRuntime.getRuntimeResources().getService("MyGoogleService");
any ideas what the problem is? I read all of the existing forum threads about this topic but could not solve the problem.
Message was edited by: Dirk Jäckelno ideas so far?
-
URL for WSDL only shows web service information page
Using tomcat6 and jwsdp 2.0.
After requesting the WSDL, I instead get the Web Service information page which shows this in a table form:
Web Services,
Port Name, Status, Information
etc.
Why doesn't it give me back the WSDL instead?The information page must contain end point wise information displayed.
Each end point information contains web service address, WSDL address(you are looking for this I hope), Implementation class etc.
Also, try giving *?wsdl* parameter at the end of your web service address, it must lead you to the WSDL file of the web service.
-typurohit (Tejas Purohit) -
Where can I down a web service example of jbuilder?
Where can I down a web service example of jbuilder?
I find everywhere, most is by .net.
Can you give me a example !Hi
first you go through this site http://www.service-architecture.com/
this has very good description and illustrate the what are the prerequisites of service oriented architecture.
web service is a connection technlogy in this we are using WSDS for describing the webservice,UDDI for register or publish web service and SOAP
regarding web service ie., SOA you have any queries feel free make a mail
regards
[email protected] -
WebLogic Web Services Home Page and authentication
I've generated a set of web services using a session bean and have secured
my EJB methods. I'd like to enable testing of these methods via the WebLogic
Web Services Home Page service, but I can't figure out how to pass along the
authentication parameters. I've tried appending
'&username=myUser&password=myPassword' to the URL and this doesn't appear to
work (yeah, I know, but you can't blame me for trying).
Any ideas on how I might do this?
Thanks,
RobLooks like a bug. filed CR086448.
Contact support for patch.
regards,
-manoj
"Rob Moore" <[email protected]> wrote in message
news:[email protected]..
Hi, Manoj,
We're using WLS 7.0.0.1.
Thanks,
Rob
"manoj cheenath" <[email protected]> wrote in message
news:[email protected]..
The browser should pop up the user name/passwd dialog,
if the WS is secured. Which version of WLS are you using?
This could be a bug.
regards,
-manoj
"Rob Moore" <[email protected]> wrote in message
news:[email protected]..
I've generated a set of web services using a session bean and have
secured
my EJB methods. I'd like to enable testing of these methods via theWebLogic
Web Services Home Page service, but I can't figure out how to pass
along
the
authentication parameters. I've tried appending
'&username=myUser&password=myPassword' to the URL and this doesn't
appear
to
work (yeah, I know, but you can't blame me for trying).
Any ideas on how I might do this?
Thanks,
Rob -
Hello REST web service example deployment fails when using EJB
I was able to successfully deploy the hello REST web service example. But when I attempted to lookup an EJB via the following code I get an error message.
try {
ic = new InitialContext();
DirectoryBean db = (DirectoryBean)ic.lookup("java:comp/env/ejb/DirectoryBean");
} catch (NamingException ex) {
ex.printStackTrace();
Here is the error message in the NetBeans console window:
Deploying application in domain failed; Error loading deployment descriptors for module [hello] -- com.sun.enterprise.deployment.annotation.context.WebBundleContext cannot be cast to com.sun.enterprise.deployment.annotation.context.EjbContextat com.sun.enterprise.deployment.annotation.AnnotationInfo@15f1fa0
D:\java\Sun\swdp-tutorial-1.0\examples\rest\hello\nbproject\build-impl.xml:450: Deployment error:I think the problem may be that the SimpleServlet example uses an apt feature to generate a web.xml which will replace any web.xml you already have in the project (and lose any references etc you might have in it). To work around this problem first copy the necessary lines from the web.xml in the generates .war file - they should look something like this:
<servlet>
<servlet-name>RESTBeans Application</servlet-name>
<servlet-class>com.sun.ws.rest.impl.container.servlet.ServletAdaptor</servlet-class>
<init-param>
<param-name>resourcebean</param-name>
<param-value>com.sun.ws.rest.samples.servlet.resources.RESTBeansResources</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>RESTBeans Application</servlet-name>
<url-pattern>/restbean/*</url-pattern>
</servlet-mapping>
Add these to your project web.xml, replacing any lines that look similar (the web.xml in the sample project has these lines that you'll need to replace:
<servlet>
<servlet-name>ServletAdaptor</servlet-name>
<servlet-class>com.sun.ws.rest.impl.servlet.ServletAdaptor</servlet-class>
<init-param>
<param-name>resources</param-name>
<param-value>test1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<!-- this is a comment -->
<servlet-name>ServletAdaptor</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
Now you need to turn off automatic web.xml generation by adding <option key="noservlet"/> to the apt task option in build.xml (look for the apt child of the -pre-compile task in build.xml).
Clean and rebuild and make sure that the web.xml in the generated .war file now matches the project web.xml file.
Marc. -
HR Renewal Self Services Integration Issue with SAP Portal
Hi,
We are Implementing HR Renewal 2.0 FP1 and the Self-Services Landing Page to be launched from within SAP Portal.
I have imported the PFCG role ZSAP_EMPLOYEE_ESS_XX_UI5_1 into portal and assigned to the user. The End User read permission is provided.
We see the landing page with all lanes coming up fine when launched from portal. But subsequently when we click on the SAPUI5 delivered applications in the MY INFO Lane like Employee Profile, Salary Statement, Leave Application etc, they open from inside the portal in a new window via the below Standard Launchpad Start URL application
/irj/portal?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.sap.pct%2Fevery_user%2Fcom.sap.pct.erp.common.bp_folder%2Fcom.sap.pct.erp.common.roles%2Fcom.sap.pct.erp.common.erp_common%2Fcom.sap.pct.erp.common.lpd_start_url&RequestMethod=GET&System=SAP_HCM_PROXY&URLTemplate=<System.wap.WAS.protocol>%3A%2F%2F<System.wap.WAS.hostname><System.wap.WAS.path>%2Fsap%2Fbc%2Fui5_ui5%2Fsap%2FHRESS_PAYSLIP_G%2Findex.html%3Fsap-client%3D<System.client>%26sap-language%3DEN&PrevNavTarget=navurl%3A%2F%2F9302a2e5cab6590e376f9e6a16fffb13&NavMode=3&CurrentWindowId=WID1411300030322
and getting the below error.
Page not found. Refresh the page or try again later. If the problem persists, contact your Portal administrator for assistance
Is any other configurations missing to launch the my info individual service application via portal as NavigationTarget.
Appreciate your response.
PS: No business packages (WD ABAP based etc.,) are installed in the portal side.
Thanks,
UrmiHi All,
The issue got fixed after installing the portal business package, Common Parts ERP 1.61.
Thanks,
Urmi -
How to call an Oracle Report from a Self Service HR page.
Hi,
I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
Any help will be greatly appreciated.
Regards
HilalTapash,
Thanks for reponding.
Here is the URL I am currently using :
https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
The p_accesscode is the parameter I need to pass to the Oracle report.
Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
Thanks
Hilal
Maybe you are looking for
-
F110 - Grouping the vendor invoices by BSEG table fields
Hi, I want to group the vendor invoices while making the payment through F110, based on a BSEG table field. The settings in Grouping Key configuration (OBAP) only allows me to choose the fileds from BSIK table and not possible to select the fields f
-
Upgrading to iTunes9 on Windows Vista won't install
It says we do not have permissions. We uninstalled and tried to reinstall, and keep getting errors that we don't have permissions for Quicktime folders. I tried to delete the Quicktime folder, but it says I don't have permissions for the folders, chi
-
Hi Friends.. I have mac book pro 2013. Today when I started its got suddenly turn off and also not turn on. The mac does not charged also not turn on. charger define only green light. I reset SMC but its not work. Please If any one have Idea.
-
TP 10041 Start Menu Problems.
Hi. I updated my 99xx with 10041 and everything works ok except for some of the start menu apps have reverted to just file/url names ( including INSIDER!). Any attempt to run them manually( from WindowsApps). Stops because of a container error which
-
Power Manager 2.30 Won't Install on Vista on R60
I have used System Update which tells me Power Manager is availa ble for install. I install and its says it is successful and asks me to reboot. I reboot, but still now Power Manager. If I rerun System Update, I again get told that Power Manager is