Error starting web service with netbeans and tomcat
Hi i'm trying to test a web service connection with mysql i follow all the steps showed here:
http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-five-minutes-48908.html
the log :
Using CATALINA_BASE: "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base"
Using CATALINA_HOME: "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3"
Using CATALINA_TMPDIR: "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_11"
Using CLASSPATH: "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\tomcat-juli.jar"
17-Sep-2014 10:48:22.880 INFO [main] org.apache.catalina.core.AprLifecycleListener.init La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files\Java\jdk1.8.0_11\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\Windows\System32;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;D:\Users\investigacion01\AppData\Roaming\npm;D:\Kony\ImageMagick;D:\Kony\Ant\bin;C:\Program Files\apache-ant-1.9.4\bin;C:\Program Files\Java\jdk1.8.0_11\bin;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;.
17-Sep-2014 10:48:23.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8084"]
17-Sep-2014 10:48:23.086 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
17-Sep-2014 10:48:23.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
17-Sep-2014 10:48:23.090 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
17-Sep-2014 10:48:23.090 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 523 ms
17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina
17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.3
17-Sep-2014 10:48:23.120 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
17-Sep-2014 10:48:23.153 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
17-Sep-2014 10:48:23.180 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@2b6fe9b5]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4841)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4966)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: java.lang.IllegalArgumentException: The main resource set specified [D:\Users\investigacion01\Documents\HelloWorldWebService\build\web] is not valid
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:627)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 13 more
17-Sep-2014 10:48:23.181 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error durante el despliegue del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
17-Sep-2014 10:48:23.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\manager.xml
17-Sep-2014 10:48:23.462 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
17-Sep-2014 10:48:23.871 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [347] milliseconds.
17-Sep-2014 10:48:23.899 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
17-Sep-2014 10:48:23.902 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
17-Sep-2014 10:48:25.055 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
17-Sep-2014 10:48:25.061 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\ROOT.xml
17-Sep-2014 10:48:25.158 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
17-Sep-2014 10:48:25.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8084"]
17-Sep-2014 10:48:25.185 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
17-Sep-2014 10:48:25.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2096 ms
17-Sep-2014 10:48:27.370 INFO [http-nio-8084-exec-3] org.apache.catalina.startup.HostConfig.undeploy Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /prueba
17-Sep-2014 10:48:27.411 INFO [http-nio-8084-exec-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
17-Sep-2014 10:48:27.414 WARNING [http-nio-8084-exec-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
17-Sep-2014 10:48:28.345 INFO [http-nio-8084-exec-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
17-Sep-2014 10:48:28.374 INFO [http-nio-8084-exec-1] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prueba]] after start() had already been called. The second call will be ignored.
This message comes up for me when i run a project that is different than what's indicated in the error message. In fact, the project has been deleted, yet, it still is referenced during the "run" step.
Similar Messages
-
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
A problem with building a web service with netbeans
always a problem occurs when i try to build a web service server side.
build is perfect .but when i said run the project there is an error occurs:
"Deployment error:null. See the server log file for details."
error link goes me to this row in the build-impl.xml file of the project:
<nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
i am waiting for your help.Being a total novice on the https/SSL configuration side of things, I've finally managed to dig down to the fact that our external partner of course needs to have a certificate installed in order to run https.
I guess the browser did not prompt and ask for acceptance of this, because it was already verified through one of the standard issuers - VeriSign.
So was then able to export the certificate through IE's Properties>Certificate>Details>Copy To File...
Will then try to import this into the correct domain on the WebLogic server.
(A quick test of the web service from the EM console worked fine. Strange then that executing the service through a partner link in bpel does not work, but I guess it may have to do with a local bpel being exposed as a web service in itself, and that security on both sides is called for... maybe... :-) )
-Haakon- -
Proxy Authentication Error in Web Service with SAAJ on Weblogic 9.2 MP3
Hi,
I have encountered a problem with proxy authentication in SAAJ web service (WS) calls on Weblogic 9.2 MP3.
My WS client (which uses SAAJ's SOAP classes) should use a proxy that requires authentication to call the external web services.
However, it does not perform the authentication and receives HTTP Error 407 - Unauthorized.
The reason seems to be that Weblogic's Http Handler (weblogic.net.http.Handler) ignores the proxy authentication.
I was able to work around it by setting sun's http handler explicitly in the WS endpoint URL. Sun's handler (sun.net.www.protocol.http.Handler) makes use of the Authenticator class I provided.
1. Please see my code below and let me know if this is the only solution or if I'm doing something wrong. While testing on Tomcat I did not have to set the handler.
2. I have seen that there are also System properties for http.proxyUser and http.proxyPasword, however if I use these and ommit setting the SimpleAuthenticator, it also fails (with either handler!). An explanation of that is welcome.
Thanks in advance.
Code:
===========================================================
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "localhost");
System.setProperty("http.proxyPort", "808");
//System.setProperty("http.proxyUser", "myuser");
//System.setProperty("http.proxyPassword", "mypw");
Authenticator.setDefault(new SimpleAuthenticator("myuser", "mypw"));
String urlString = "http://someurl:8080/webservice..";
URL endpoint1 = new URL(urlString);
URL endpoint2 = new URL(null, urlString, new sun.net.www.protocol.http.Handler());
SOAPConnectionFactory soapfactory = SOAPConnectionFactory.newInstance();
SOAPConnection connection = soapfactory.createConnection();
connection.call(message, endpoint1); // Gives Exception with HTTP Error 407
connection.call(message, endpoint2); // Works and uses the proxy
For reference:
===========================================================
public class SimpleAuthenticator extends Authenticator {
private String username, password;
public SimpleAuthenticator(String username, String password) {
this.username = username;
this.password = password;
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password.toCharArray());
}Sorry for the 3 posts.
Administrator, delete this thread please!! -
Error consuming Web service with object hierarchy
I am creating a Web reference to a Web service deployed on JBoss application server. Incidentally, I am able to consume this Web service and run a client against it in .NET. Sun Java Studio Creator has a problem with one of methods in my Web service.
As far as I can tell from my experimentation, the problem lies in the fact that the JavaBean returned from the Web service extends another JavaBean (rather than Object). When I flatten the value object in question, I am able to run the same Web service method in Studio Creator.
I encountered the following post on this forum: http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=49056. It appears to describe a similar problem. I tried to follow the instructions in that forum by upgrading the JWSDP version (to 1.5) to no avail. I continue to receive the following error when trying to test the Web Service method after creating a Web Service reference in Creator.
The relevant error appears to be
deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID (where entityID is one of the attributes of the object being returned by the Web Service, which is defined in that object's parent class).
InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) Runtime exception; nested exception is: deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:248) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:230) webservice.carmanagerservice.CarManager_Stub.findAllAsArray(CarManager_Stub.java:358) webservice.carmanagerservice.CarManagerServiceClient.carmanagerserviceFindAllAsArray(CarManagerServiceClient.java:35) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100) deserialization error: deserialization error: unexpected XML reader state. expected: END but found: START: entityID com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:82) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:163) webservice.carmanagerservice.CarManager_Stub.findAllAsArray(CarManager_Stub.java:358) webservice.carmanagerservice.CarManagerServiceClient.carmanagerserviceFindAllAsArray(CarManagerServiceClient.java:35) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.invokeMethod(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg.access$500(Unknown Source) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$4.run(Unknown Source) java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) java.awt.EventQueue.dispatchEvent(EventQueue.java:454) java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) java.awt.EventDispatchThread.run(EventDispatchThread.java:100)<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns:intf="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:CarManager" xmlns:tns2="http://common.ejb.application.jetson.datasourceinc.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="http://common.ejb.application.jetson.datasourceinc.com" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType abstract="true" name="InfoBase"><sequence><element name="primaryKey" nillable="true" type="xsd:long"/><element name="filterType" nillable="true" type="xsd:short"/><element name="userID" nillable="true" type="xsd:string"/><element name="lastUpdateDate" nillable="true" type="xsd:dateTime"/><element name="entityID" nillable="true" type="xsd:long"/></sequence></complexType><complexType name="BusinessException"><sequence><element name="scriptMessage" nillable="true" type="xsd:string"/><element name="errorCode" type="xsd:int"/></sequence></complexType></schema><schema targetNamespace="urn:CarManager" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="CarInfo"><complexContent><extension base="tns2:InfoBase"><sequence><element name="year" nillable="true" type="xsd:int"/><element name="make" nillable="true" type="xsd:string"/><element name="model" nillable="true" type="xsd:string"/></sequence></extension></complexContent></complexType><complexType abstract="true" name="List"><sequence><element name="empty" type="xsd:boolean"/></sequence></complexType></schema><schema targetNamespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ArrayOf_tns1_CarInfo"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:CarInfo[]"/></restriction></complexContent></complexType></schema></wsdl:types>
<wsdl:message name="createRequest">
<wsdl:part name="in0" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="findByPrimaryKeyResponse">
<wsdl:part name="findByPrimaryKeyReturn" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="removeRequest">
<wsdl:part name="in0" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="findByPrimaryKeyRequest">
<wsdl:part name="in0" type="xsd:long"/>
</wsdl:message>
<wsdl:message name="updateRequest">
<wsdl:part name="in0" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="createResponse">
<wsdl:part name="createReturn" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="removeResponse">
</wsdl:message>
<wsdl:message name="findAllAsArrayResponse">
<wsdl:part name="findAllAsArrayReturn" type="impl:ArrayOf_tns1_CarInfo"/>
</wsdl:message>
<wsdl:message name="findAllAsArrayRequest">
</wsdl:message>
<wsdl:message name="updateResponse">
<wsdl:part name="updateReturn" type="tns1:CarInfo"/>
</wsdl:message>
<wsdl:message name="BusinessException">
<wsdl:part name="fault" type="tns2:BusinessException"/>
</wsdl:message>
<wsdl:portType name="CarManager">
<wsdl:operation name="remove" parameterOrder="in0">
<wsdl:input message="impl:removeRequest" name="removeRequest"/>
<wsdl:output message="impl:removeResponse" name="removeResponse"/>
<wsdl:fault message="impl:BusinessException" name="BusinessException"/>
</wsdl:operation>
<wsdl:operation name="create" parameterOrder="in0">
<wsdl:input message="impl:createRequest" name="createRequest"/>
<wsdl:output message="impl:createResponse" name="createResponse"/>
<wsdl:fault message="impl:BusinessException" name="BusinessException"/>
</wsdl:operation>
<wsdl:operation name="update" parameterOrder="in0">
<wsdl:input message="impl:updateRequest" name="updateRequest"/>
<wsdl:output message="impl:updateResponse" name="updateResponse"/>
<wsdl:fault message="impl:BusinessException" name="BusinessException"/>
</wsdl:operation>
<wsdl:operation name="findByPrimaryKey" parameterOrder="in0">
<wsdl:input message="impl:findByPrimaryKeyRequest" name="findByPrimaryKeyRequest"/>
<wsdl:output message="impl:findByPrimaryKeyResponse" name="findByPrimaryKeyResponse"/>
<wsdl:fault message="impl:BusinessException" name="BusinessException"/>
</wsdl:operation>
<wsdl:operation name="findAllAsArray">
<wsdl:input message="impl:findAllAsArrayRequest" name="findAllAsArrayRequest"/>
<wsdl:output message="impl:findAllAsArrayResponse" name="findAllAsArrayResponse"/>
<wsdl:fault message="impl:BusinessException" name="BusinessException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CarManagerServiceSoapBinding" type="impl:CarManager">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="remove">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="removeRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:input>
<wsdl:output name="removeResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="BusinessException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="createRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:input>
<wsdl:output name="createResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="BusinessException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="update">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updateRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:input>
<wsdl:output name="updateResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="BusinessException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="findByPrimaryKey">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="findByPrimaryKeyRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:input>
<wsdl:output name="findByPrimaryKeyResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="BusinessException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="findAllAsArray">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="findAllAsArrayRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:input>
<wsdl:output name="findAllAsArrayResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:output>
<wsdl:fault name="BusinessException">
<wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CarManagerService">
<wsdl:port binding="impl:CarManagerServiceSoapBinding" name="CarManagerService">
<wsdlsoap:address location="http://w2k3-vs-msmolyak:7223/jetson-axis/services/CarManagerService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
Calling web service with utl_dbws and parsing the xml result with Xpath
I'm invoking a web service from the database(10.2.0.2.0) using sys.utl_dbws and all is working well. After executing response := sys.utl_dbws.invoke(call_, request); I execute dbms_output.put_line(substr(response.getstringval(),1,1500)); which results with:
<refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
<result xmlns="http://xmlns.oracle.com/refCursor10g">
<Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
<Column name="C_ID" sqltype="VARCHAR2">20292</Column>
<Column name="AYR" sqltype="VARCHAR2">2002</Column>
<Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
<Column name="ETUS" sqltype="VARCHAR2">O</Column>
<Column name="PC" sqltype="NUMBER">537</Column>
<Column name="SG" sqltype="VARCHAR2"/>
<Column name="VD" sqltype="VARCHAR2">Y</Column>
<Column name="VR" sqltype="VARCHAR2">R</Column>
<Column name="TS" sqltype="VARCHAR2">31</Column>
<Column name="D" sqltype="VARCHAR2">I</Column>
<Column name="T" sqltype="VARCHAR2">1</Column>
<Column name="P" sqltype="VARCHAR2"/>
<Column name="MT" sqltype="VARCHAR2">2</Column>
<Column name="PTAT" sqltype="VARCHAR2"/>
</Row>
</result>
</refCursor10gProcessResponse>
How do I parse out just the value 20292 of Column name="C_ID" using xpath? I've tired but I don't think i have the xpath set up correctly:
dbms_output.put_line(response.extract('//result/Row/Column/child::text)','xmlns="http://xmlns.oracle.com/refCursor10g"').getstringval());
Error messgae is:
ORA-30625: method dispatch on NULL SELF argument is disallowed
ORA-06512: at "ADM.CONSUME_WEB_SERVICES", line 439
ORA-06512: at 3
ThanksTried getting by the attribute but I don't think I have the format correct:
dbms_output.put_line(response.extract('//result/Row/Column@C_ID/child::text()','xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST"').getstringval());
Here's the full soap response envelope:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
<result xmlns="http://xmlns.oracle.com/refCursor10g">
<Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
<Column name="C_ID" sqltype="VARCHAR2">20292</Column>
<Column name="AYR" sqltype="VARCHAR2">2002</Column>
<Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
<Column name="ETUS" sqltype="VARCHAR2">O</Column>
<Column name="PC" sqltype="NUMBER">537</Column>
<Column name="SG" sqltype="VARCHAR2"/>
<Column name="VD" sqltype="VARCHAR2">Y</Column>
<Column name="VR" sqltype="VARCHAR2">R</Column>
<Column name="TS" sqltype="VARCHAR2">31</Column>
<Column name="D" sqltype="VARCHAR2">I</Column>
<Column name="T" sqltype="VARCHAR2">1</Column>
<Column name="P" sqltype="VARCHAR2"/>
<Column name="MT" sqltype="VARCHAR2">2</Column>
<Column name="PTAT" sqltype="VARCHAR2"/>
</Row>
</result>
</refCursor10gProcessResponse>
</env:Body>
</env:Envelope>
Any thoughts? -
ABAP Web Service with XI and SOAP
Hi everybody!
What we are trying to implement is the following szenario:
SAP ERP HCM
SAP XI (Netweaver 2004s)
Our customers shall call a Web Service on the HCM system over the XI system transmitting 2 parameters (IDs) and get back a xml document with a list of hr related information.
This is how we started (or want to go on) with the outside-in method:
1. set up data types and message interface in XI integration repository
2. generate a proxy in HCM with the transaction SPROXY and implement the service
3. set up a communication scenario in XI integration directory using the SOAP adapter
But there are some questions left:
- how many message interfaces must be set up for the described scenario?
- is the SOAP-adapter the correct adapter for that scenario?
- how do we send back the xml information list?
- is synchronous communication correct?
- how can we test that scenario?
We are new to XI and SOA so we'd appreciate any help. thanks in advance!how many message interfaces must be set up for the described scenario?
You would need two message interfaces. One for the outbound for the sender and one for the inbound for the receiver. There should be request and response message types for each message interface since this is a synchronous scenario.
is the SOAP-adapter the correct adapter for that scenario?
SOAP adapter is correct for the web service scenario
how do we send back the xml information list?
You will need to design the XML information list in the Integration Repository on the message interface.
how can we test that scenario?
You can use third party Soap UI Client such as SOAP UI Client or XML Spy to try calling the webservice. -
Web Services with ColdFusion and PHP mixed
Hi,
We need to used web services provided by remote server. The
problem is the
remote server is on PHP and our server is on ColdFusion. Is
there a way to
use the web services on PHP server with our ColdFusion
server?
I understand ColdFusion automatically generate the WSDL by
adding ?wsdl
after the CFC, but I can't do the same thing because the
remote server is
not on ColdFusion. They have given us the wsdl web address,
but it seems
using the wsdl address directly without CFC is not working.
Is that right?
Please let me know.
YCFrom the coldfusion side of things, it all seems okay what
you are doing. It
is an issue with the php/wsdl side of things. I can access
the wsdl ok, but
got the same error as PaulH just then when I tried to use web
service in
cf..
"YC" <[email protected]> wrote in message
news:[email protected]...
> OK, I learned a good thing. I tired the Dreamweaver +
icon with a
> ColdFusion CFC file and it works fine. Now I learned I
don't have to code
> the <cfinvoke> tag, but just drag and drop. But
when I tried the WSDL
file:
>
http://cyfernet.ces.ncsu.edu/ws/resources.wsdl,
and "ColdFusion MX" as the
> proxy generator, I had an error. Do I need any other
option to choose
from?
> It seems "Edit Proxy Generator list" doesn't provide a
sufficient answer.
>
> I know the URL of the WSDL file is correct because I
used it to create a
web
> service in PHP locally on my laptop, and it works. From
the previous
> answers of you and PaulH, it seems if the WSDL works
with PHP, it should
> also work with any other language, right?
>
> Have you tried yourself? Did it work?
>
> YC
>
> "Eric" <[email protected]> wrote in message
> news:[email protected]...
> >
> >
> > An easy way to do this is to use the dreaweaver
'components' palette.
> > Select
> > 'web services' from the drop down list and then
click the '+' icon to
> > create
> > the call to the web service. (this uses the
cfinvoke tag)
> >
> >
> > "YC" <[email protected]> wrote in message
> > news:[email protected]...
> >> I feel very sorry to keep asking this
apparently very basic question,
but
> >> please be patient with me.
> >>
> >> Yes, it is right that I just need to consume
the pre-existing web
> >> service.
> >> This is the WSDL page:
http://cyfernet.ces.ncsu.edu/ws/resources.wsdl
and
> >> this is the web service page on the server
using it:
> >>
http://cyfernet.ces.ncsu.edu/ws/getresources-client.php,
provided as an
> >> example.
> >>
> >> So in order to have the page run in ColdFusion,
at least the following
> >> tag
> >> below should come up without an error?
> >> <cfset
> >>
> >
ws=createObject("webservice","
http://cyfernet.ces.ncsu.edu/ws/getresources-c
> > lient.php")>
> >>
> >> Sorry, but I still get an error message.
> >> I need to provide "getResourcesByCatid" as the
method and "catid" as
the
> >> parameter, but it should work only if the
previous tag works without an
> >> error, right?
> >>
> >> YC
> >>
> >>
> >> "Eric" <[email protected]> wrote in
message
> >> news:[email protected]...
> >> >>>We need to used web services
provided by remote server.
> >> >
> >> > Right, so the web service already exists -
you just want to consume
it?
> >> >
> >> >>Is there a
> >> >> >> way to use the web services
on PHP server with our ColdFusion
> > server?
> >> >
> >> > Yes - thats the whole point of web
services, you can create them in
one
> >> > language/platform and consume them in
another.
> >> >
> >> >> Whey you say "create a web service,"
do you mean I need to create a
> >> >> <cfcomponent> tag in CFC format?
Creating a CFC is not a problem,
but
> >> >> how
> >> >> can I place it on the remote server
because it is running with PHP,
> >> >> not
> >> > with
> >> >> ColdFusion?
> >> >
> >> > Sorry if I am not understanding the
question clearly, but it seems to
> >> > me
> >> > that you want to make use of an existing
php based web service. Why
do
> > you
> >> > you need to place a CFC on the php server?
You just need to execute
the
> >> > web
> >> > service from the coldfusion server using
cfml. As Paulh says:
> >> >
> >> > <cfset
ws=createObject("webservice","url to the php based web service
> >> > here")>
> >> >
> >> > The variable 'ws' being your hook into the
php web service from
within
> >> > your
> >> > cfml code.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > "YC" <[email protected]> wrote in
message
> >> > news:[email protected]...
> >> >> Eric,
> >> >> Whey you say "create a web service,"
do you mean I need to create a
> >> >> <cfcomponent> tag in CFC format?
Creating a CFC is not a problem,
but
> >> >> how
> >> >> can I place it on the remote server
because it is running with PHP,
> >> >> not
> >> > with
> >> >> ColdFusion?
> >> >>
> >> >> YC
> >> >>
> >> >> "Eric" <[email protected]>
wrote in message
> >> >>
news:[email protected]...
> >> >> > >We need to used web services
provided by remote server. The
> >> >> > >problem
> >> >> > >is
> >> >> > >the
> >> >> > remote server is on PHP and our
server is on ColdFusion.
> >> >> >
> >> >> > Thats one of the main nenefits of
web services - this does not
> > matter.
> >> >> >
> >> >> >>> I understand ColdFusion
automatically generate the WSDL by
adding
> >> > ?wsdl
> >> >> >> after the CFC, but I can't do
the same thing because the remote
> > server
> >> > is
> >> >> >> not on ColdFusion.
> >> >> >
> >> >> > Sounds like you want to consume a
web service, not create one. You
> > can
> >> >> > create the call in Dreamweaver,
just look up help on calling a web
> >> >> > service. Also see Adobe site
using search for 'using web services
in
> >> >> > coldfusion'
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > "YC" <[email protected]>
wrote in message
> >> >> >
news:[email protected]...
> >> >> >> Hi,
> >> >> >> We need to used web services
provided by remote server. The
> >> >> >> problem
> >> >> >> is
> >> >> >> the remote server is on PHP
and our server is on ColdFusion. Is
> > there
> >> > a
> >> >> >> way to use the web services
on PHP server with our ColdFusion
> > server?
> >> >> >>
> >> >> >> I understand ColdFusion
automatically generate the WSDL by adding
> >> >> >> ?wsdl
> >> >> >> after the CFC, but I can't do
the same thing because the remote
> > server
> >> > is
> >> >> >> not on ColdFusion. They have
given us the wsdl web address, but
it
> >> > seems
> >> >> >> using the wsdl address
directly without CFC is not working. Is
> >> >> >> that
> >> >> >> right?
> >> >> >>
> >> >> >> Please let me know.
> >> >> >>
> >> >> >> YC
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
> -
Error in Web Service with Collaboration Room API
Hi experts,
I'm developing a web service for creating Collaboration Rooms. I tested my source in a Web Dynpro Project and everything worked.
Now I placed my code inside a web service, and the service gives a nullpointer exception in this line:
IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
I think I have to make some references inside my web service project, but I don't know which and I don't know where.
Can somebody please help me with this issue?
Thanks in advance,
EdwinFound out my self.
Set the references to "application". -
Axis Web Services with Orabpel and jBoss
I have installed orabpel_2.0.11_JBOSS_win32.exe and am just trying to integrate some Axis1.1-Web-Services into the processes.
So I installed the axis web application within the server under .../deploy/webapps/axis.war and it is deployed automatically as expected.
The axis happiness-page looks very promissing, but when I try to request the wsdl for e.g. the Version-Service I get the following exception:
java.lang.NullPointerException
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl
.java:97)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:
86)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.jav
a:40)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267)
at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider
.java:494)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java
:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.ja
va:375)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisSer
vlet.java:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285
...... etc.
I found a similar question in the web services forum but no solution to the problem. Is it possibly a library problem? Or a factory problem, because I saw something like
set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl"
in the obsetenv.bat file.
Any help? Because I don't want to write every wsdl by hand.
Best regards, NorbertHi Guys,
I tried the same thing, but I am getting a different error.
I appreciate any help in this regard, in advance.
~Soumen.
On the browser:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:rockfella
In the console:
10:41:21,203 INFO [enterprise] Mapping Exception to AxisFault
WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no s
erializer registered.:
at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:130)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:248)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:178)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:88)
at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.java:40)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:340)
at org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:242)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104) -
Safari Console provide error message HTML Error at line 2 http://wwww.facebook.com0plugins0like.php&locale=fr_FR&.... etc.
illvminatvs wrote:
Sometimes even simple DOM queries in jQuery like $('.foo') would trigger this behavior.
There is nothing simple about jQuery. I'm pretty confident I could create a page where such a selector would bring any desktop browser to its knees.
Moreover, this issue did not exist in iOS 4 and only manifested itself in iOS 5 and IIRC only occured on iPad 2 devices and not the original iPad.
I highly doubt that.
So call it what you will. I'll call it a bug.
What I'll do is put on my overalls, grab my cane, and tell you how it was in my day.
Back in my day, every operating system had bugs. Every application running on them had bugs. You know what we did? Blame the vendor? Yep. Filed a bug report? Sure. Sit on our hands? Never! You know what we did? We "worked around it". There was no internet where someone would post just the lines of code we needed. There were no example apps. There was no open source. Somehow, we still got it working.
Just suppose, for the sake of argument, that you are absolutely correct. This is a bug the Apple introduced in iOS 5 and it breaks your app. Will Apple release a fix for it next month? Unlikely. Next quarter? Maybe, maybe not. 2015? My oldest Apple bug report is dated "04-Apr-2008 06:39 PM".
It is an imperfect, competitive world. If you don't want to work around the bugs, all that does is give that opportunity to someone else. -
Has anyone tried accessing a web service with eclipse? We'd like to start using them with our forms for database lookups and the web services are already written. We just haven't had much success calling them with our servlets.
Thanks,
ChadWe also wrote web services with eclipse and deployed them in our jboss app.serv. We can call them in our pdf forms as data connection, or inside some events with java script code.
What is your problem about ? Did you manage to deploy the web services ? Can you create data connections inside forms ?
We have faced some difficulties to success writing and caling web services. I may help if you have similar problems. -
! How to start Web Services in Java?
Hi,
I am just wondering if someone knows how I can start Web Services with Java?The best place to start is at the beginning of the tutorial. If you've downloaded and installed the jwsdp pack, then download the tutorial and read from the start.
When you come to more specific problems then post again. -
Using web service with our WP 8.1 app
please i need help , for our graduation project we are making an app for tourism but in order to bring data we started to use web service with php and our professor told us to connect our app with something called json web service but I dunno how to do
this i need any help any tutorial to do it a book or something pleaseI'd start with the documentation:
How to connect to an HTTP server using Windows.Web.Http . -
Web Service with Complex Results and Flex
I have created a Enterprise Java Bean that has one "test" method that returns a String[]. I have compiled, deployed and registered this bean in Sun's Application Server 8.1. I am using NetBeans 5.0 to develop this project.
I try to load this web service into Flex and I get a fault thrown: TypeError: Error #1034: Type Coercion failed: cannot convert []@29e5d06 to XMLList. I have set the returnType in Flex as "e4X.". Do I need to do this in my webservice.
Any help would be appreciated.HI Andrea,
I think with present netweaver developer studio , we can create Web services with end points as simple data types in java and the array of that simple data types.
not sure whether it support our own custom developed classes as end points.
just go through these links.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/af60f2e04d0848888675a800623a81/frameset.htm
from this we will get Restrictions for WS Endpoints.
Regards
Kishor Gopinathan
Maybe you are looking for
-
Preview doesn't show actual file in acrodat 9 std and Adobe reader
Hi I am creating files in adobe Creative suite 5 and saving it has PDF file. When I try opening this file in Acrobat 9 std or adobe reader the print preview does not match the actual file what I mean by that some of the back ground shade colour are m
-
Firefox upgrade prevents access to NAS web page
Firefox is the likely cause of the web admin page of a Buffalo Linkstation Live 1Tb network attached storage device being inaccessible. == This happened == Every time Firefox opened == on every attempt to open the NAS web admin page after Firefox upg
-
Any Microsoft windows based application fop nokia N8 3G/Wify user? Recently Iphone release MAC based video calling application http://www.apple.com/mac/facetime/
-
TS4403 photos don't apper on my computer through photo stream
Hi I've enabled Photostream on my I5 phone, installed icloud control panel and logged into my account. However I don' seen my photos appearing on my laptop. I'm running windows 7 here. I've reinstalled the control panel 3 times and no luck. Anybody u
-
Iphoto iphone n 'importe pas toutes les photos de mes albums partagé.
Bonjour, J ai Iphoto sur mon mac et sur mon iphone. Lorsque je crée des albums partagés a partir de iphoto sur mon mac, dans iphoto iphone le partage apparait mais à l interieur je n est pas toutes les photos. Exemple un album avec 50 photos , j en a