WSDL nullPointerException
Hi All,
I have a problem with some wsdl files.
Situation:
1. BEA Server 9.0
2. Starting point for web service is WSDL file.
3. WSDL file imports XSD schema type definitions!
4. Web service generated with Bea 9 Ant tasks "wsdlc" and "jwsc".
5. Service generation, deployment and test OK.
However, if the WSDL file is requested online from the service
e.g. "http://host/service/AService.jws?WSDL"
the WSDL file does not contain directly the XSD schema type definitions but still import statements like
<xs:import namespace="http://anamespace"
schemaLocation="AService.jws?WSDL/sub/in/ATypeIn.xsd" />
When I try to generate a Service Control with Weblogic Workshop 8.1.4 I receive a NullPointerException at line 0 column 0.
Question:
1. Is this a bug? or
2. Is it possible to configure the Server (or web service generation Ant task or ...) in such a way that the web service response with a WSDL file that contains directly all XSD schema type definitions?
Your help is very much appreciated.
Regards,
Cord
Hi guys,
I had the same problem and what I had to do was import the Schema project that holds all schemas included in the WSDL that I was trying to generate a control from. In my case I had the Schema project because I was the one that developed the WebService too, in your case it's possible that you have to create an Schema project and somehow extract the schemas from de WSDL and create .xsd files to put in the project.
After doing this you will see the popup window (when you try to generate a service control from the WSDL file) asking if you want to use the XMLBeans generated from the xsd files in your Schema project otherwise it will generate inner classes based in the WSDL's schemas, you must choose YES (use the existing XMLBeans) and that should be it for creating a Service Control based on a WSDL file.
Hope this helps in most cases.
Regards,
Israel Williams
Software Architect
JWM Solutions
[email protected]
Similar Messages
-
Generate Service Control for WSDL: NullPointerException
Steps to demonstrate the problem: in Platform Workshop (8.1.4) in Integration mode, create a Tutorial Process Application, then for RequestQuote.jpd, Generate WSDL file, then for that WSDL, Generate Service Control.
<pre>ERROR: requestquote/RequestQuoteContract.wsdl Line 0, Col 0: java.lang.NullPointerException
</pre>
The WSDL is valid (Axis WSDL2Java and Eclipse-Webtools are both okay with it, assuming I delete some cw and http namespaces they don't understand).
The problem is when the XSD is too deeply nested giving XML like /one/two/three, whereas /one/two is okay for WLI. This is valid XSD, but apparently too deep for WLI to understand.
Any help debugging this more or working around it would be appreciated. Is there a way to run this process from the command line, so I might debug this more on my own? I'd like to give the stackTrace for the NPE, but WLI Workshop doesn't show that.
Thanks,
MikeHi guys,
I had the same problem and what I had to do was import the Schema project that holds all schemas included in the WSDL that I was trying to generate a control from. In my case I had the Schema project because I was the one that developed the WebService too, in your case it's possible that you have to create an Schema project and somehow extract the schemas from de WSDL and create .xsd files to put in the project.
After doing this you will see the popup window (when you try to generate a service control from the WSDL file) asking if you want to use the XMLBeans generated from the xsd files in your Schema project otherwise it will generate inner classes based in the WSDL's schemas, you must choose YES (use the existing XMLBeans) and that should be it for creating a Service Control based on a WSDL file.
Hope this helps in most cases.
Regards,
Israel Williams
Software Architect
JWM Solutions
[email protected] -
10.1.3 java webservice from WSDL = nullpointerexception
I'm playing around with attempting to hit the following webservice:
http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thx,
RTI'm playing around with attempting to hit the following webservice:
http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thx,
RT -
Getting NullPointerException when trying to view wsdl on browser.
I have an enterprise application which is basically a spring web service.
I have used "org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" for dynamic wsdl generation.
I use the following spring libraries spring ,
spring-jpa.jar
spring-oxm-1.5.8.jar
spring-oxm-tiger-1.5.8.jar
spring-web-2.5.jar
spring-webmvc.jar
spring-ws-1.5.8-all.jar
spring-ws-core-1.5.8.jar
spring-ws-core-tiger-1.5.8.jar
spring-ws-security-1.5.8.jar
spring-ws-support-1.5.8.jar
spring-xml-1.5.8.jar
spring.jar
And I use xmlparserv2.jar as xml library. Because If I don't use this library I get "oracle.xml.jaxp.JXDocumentBuilderFactory not found" exception.
Other xml libraries I use are: xercesImpl.jar, xml-apis.jar, XmlSchema-1.3.2.jar, xalan-2.7.0.jar, xdb.jar, xml.jar, xschema.jar
The issue is, application is deployed in weblogic 10.3.2 on a linux box.
Application is deployed fine, it is working fine. Request and response all are working as expected. But when I want to see wsdl, I am getting NullPointerException.
Application is deployed in the url: http://localhost:7001/springws-example
The exception I am getting is at the url: http://localhost:7001/springws-example/springws.wsdl
where springws.wsdl would be the wsdl name, with which it could be accessed.
This exception is occuring only on linux boxes. I have tested in two linux boxes, it behaves the same way.
In windows I have weblogic 10.3.3 , where everything is working fine. Wsdl is loaded on browser and soap end point address is updated with correct hostname, port and context root.
The exception I am getting is as follows,
Exception
java.lang.NullPointerException
at oracle.xml.parser.v2.XMLDocument.getDocumentURI(XMLDocument.java:2114)
at org.springframework.ws.transport.http.LastModifiedHelper.getLastModified(LastModifiedHelper.java:50)
at org.springframework.ws.transport.http.WsdlDefinitionHandlerAdapter.getLastModified(WsdlDefinitionHandlerAdapter.java:113)
at org.springframework.ws.transport.http.MessageDispatcherServlet.getLastModified(MessageDispatcherServlet.java:245)
Has anyone come across this issue?
Even if not, people having knowledge on linux and weblogic.. please help.
Thanks in advance.
Edited by: 851334 on Apr 11, 2011 4:07 AMHow did you map your spring-ws servlet?
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>*.wsdl</url-pattern>
</servlet-mapping>and what properties did you configure?
<bean id="something" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
<property name="schema" ref="schema"/>
<property name="portTypeName" value="MyPort"/>
<property name="locationUri" value="http://localhost:7001/springws-example/service/"/>
<property name="targetNamespace" value="http://middlewaremagic.com"/>
</bean>In this case the WSDL could be reachable at http://localhost:7001/springws-example/service/something.wsdl -
NullPointerException received on creating webservice from wsdl with jdevel
Hello experts,
I have the following problem when trying to create a web service from a wsdl file:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1054)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
I'm using Jdeveloper 11.1.2.2.0.
Any ideas?
Thanks in advance and best regards!
Edited by: Carolik on 23.10.2012 01:28are you trying access web service(old) which is free of cost.
nowdays, most of the webservices(free of cost) they are re-locating the service to somewhere else
anyhow, some of the service had been stopped.
so please post which web service are you trying access(if it belongs to public).
if it is private web service dont post here -
Error while creating Adaptive WS model(SP17) using local WSDL file
Hi,
I am trying to create a model with the wizard for adaptive Web Services, without using logical destinations. I have download the file from PI Server. This WSDL file is not registered in UDDI. But when I try to upload my WSDL from local disc I get an error message, which defines in the .log file like this:
Plugin name: Web Dynpro Model Editor
Plugin ID : com.sap.ide.webdynpro.modeleditor
Class : om.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameW
Method : loadNameSpacesAndModelClasses
Message : Cannot load NameSpaces and ModelClasses
Exception : java.lang.NullPointerException: null
Earlier when i was using "WebService model", i was able to create the model successfully.
Do help me how to reslove this problem.
Regards,
RajDid u use "webservice model" or "adaptive webservice model".
Earlier i used with "wenservice model" and it was working fine. Now that with SP17, "WebService model"is depricated and we are forced to use "adaptive webservice model" and it is giving the problem. the detailed error is :
Exception : java.lang.NullPointerException: null
<i>!STACK 0
java.lang.NullPointerException
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters_DocumentStyle(DOperationImpl.java:59)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.initParameters(DOperationImpl.java:46)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DOperationImpl.<init>(DOperationImpl.java:40)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.initOperationNameToOperationMapping(DInterfaceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.<init>(DInterfaceImpl.java:55)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initPortNameToInterfaceMapping(DGenericServiceImpl.java:78)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)</i> -
Invoking a web service with the WSDL URL given at run time
I have created a very Simple Web Service using Netbeans 6.0 as an EJB Module. I have successfully created clients to access the web service, both through a Composite Application and through a simple Java Desktop Application, using the create "New Web Service Client" option, either by pointing to the EJB project either by providing the WSDL URL.
What I want now, is for the Java Desktop application to be able to consume the service after it has discovered the WSDL URL at runtime (e.g. through UDDI).
From what I have been able to find on the web, I should use the javax.xml.ws.Service class. But when I attempt to use the getPort method I get the exception:
"com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class mypackagename.jaxws.MyWebServiceName is not found. Have you run APT to generate them?"
Since I know that this class is not needed for the Web Service to be accessed, when the two procedures I describe above are used, I wonder what I can do to get this to work.
I have tried using apt from the command line but it can't find Java EE classes, so it doesn't work.
NikosHi Yarecki,
I'm afraid I'm also a newbie, and I'm feeling my way around things.
I have written some code. However, you should be warned that... it doesn't work!
String wsdlLocation;//=...some URL...
String input;//=...XML...either SOAP message either SOAP payload
try{
java.net.URL wsdlURL = new java.net.URL(wsdlLocation);
//these should be extracted from the service WSDL document
java.lang.String serviceName = "CalculationServiceService";
java.lang.String portName = "CalculationServicePort";
String namespace = "http://localhost:8080/CalculationServiceService";
javax.xml.transform.Source inputSource = new javax.xml.transform.stream.StreamSource(new java.io.StringReader(input));
javax.xml.namespace.QName serviceQName = new javax.xml.namespace.QName(namespace, serviceName);
javax.xml.namespace.QName portQName = new javax.xml.namespace.QName(namespace, portName);
javax.xml.ws.Service service = javax.xml.ws.Service.create(wsdlURL, serviceQName);
javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.MESSAGE);
//javax.xml.ws.Dispatch<javax.xml.transform.Source> dispatch =
//service.createDispatch(portQName, javax.xml.transform.Source.class, javax.xml.ws.Service.Mode.PAYLOAD);
//alternative method, with different input
javax.xml.transform.Source replySource = dispatch.invoke(inputSource);
javax.xml.bind.JAXBContext jc = javax.xml.bind.JAXBContext.newInstance(nikos.test.CalculationResult.class);
javax.xml.bind.Unmarshaller unm = jc.createUnmarshaller();
nikos.test.CalculationResult result = (nikos.test.CalculationResult)unm.unmarshal(replySource);
System.out.println(result.getResult());
} catch (JAXBException ex) {
JOptionPane.showMessageDialog(this, ex);
ex.printStackTrace();
} catch (MalformedURLException ex) {
ex.printStackTrace();//this should not happen.
}In fact I'm getting a weird error
javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
//lines from my source code are here
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
at com.sun.enterprise.security.jmac.config.PipeHelper.makeFaultResponse(PipeHelper.java:328)
at com.sun.enterprise.security.jmac.config.PipeHelper.getFaultResponse(PipeHelper.java:366)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:223)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:129)
at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NullPointerException
at com.sun.xml.ws.tx.service.TxServerPipe.process(TxServerPipe.java:163)
at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:218)
... 39 moreAs I've said before I've called this web service successfully using three different methods.
It appears it has something to do with security issues, but I've no security at all... -
Error creating web service from WSDL in 11.1.2.0.0
Hello,
I have just installed JDeveloper 11.1.2.0.0. I tried to test a web service created (and successfully tested) in 11.1.1.5.0. The service is deployed to internal WebLogic server but when I call "Test Web Service" this is the error I get:
The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read.
java.lang.IllegalStateException: SSLContextImpl is not initialized
at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.ServiceTester$3.run(ServiceTester.java:262)
at java.lang.Thread.run(Thread.java:662)
Then I tried to create a new project and Java web service from WSDL, but on the second step of the "Java Web Service from WSDL" wizard when I select WSDL file from the disk and click "Next" I get
java.lang.IllegalStateException: SSLContextImpl is not initialized
java.lang.IllegalStateException: SSLContextImpl is not initialized
at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:484)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
I performed fresh install of this new JDeveloper version in new Middleware home with all the default options and this is the first thing I tried.
Any hints?
Thanks,
BrunoHi Vishal,
no, I don't see any HTTPS security settings defined. The thing is that this worked just fine in 11.1.1.5.0 version. I installed 11.1.2.0.0 and the first thing I tried was testing this web service. Right away I get this error. I also tried creating Web Service Client Proxy for this web service and I get the same exception. I looks to me that this happens when wizard tries parsing WSDL...
But, I got another error when I opened "Java Web Service Editor" for this web service and selected "Methods":
NPE in o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel:702
Performing action (35) Project Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService.jpr, VegaService.jpr, DMSVegaAdapter.jws ) ]
oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:02 AM IndexFacade runQuery
INFO: Having to guess workspace
oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:28 AM IndexFacade runQuery
INFO: Having to guess workspace
Performing action (23) Find... [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
Performing action (56) Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService, VegaService.jpr, DMSVegaAdapter.jws ) ]
oracle.jdevimpl.webservices.index:Jun 9, 2011 9:09:32 AM IndexFacade runQuery
INFO: Having to guess workspace
java.lang.NullPointerException
java.lang.NullPointerException
o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.populateListImpl(SelectMethodsPanel.java:702)
o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.access$600(SelectMethodsPanel.java:82)
o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel$4$1.run(SelectMethodsPanel.java:603)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:612)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1046)
j.a.Dialog$3.run(Dialog.java:1098)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1096)
j.a.Component.show(Component.java:1585)
j.a.Component.setVisible(Component.java:1537)
j.a.Window.setVisible(Window.java:842)
j.a.Dialog.setVisible(Dialog.java:986)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
o.i.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
o.ji.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:313)
o.ji.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1672)
o.ji.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
o.i.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1469)
o.i.controller.IdeAction.performAction(IdeAction.java:662)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Regards,
Bruno -
Hi,
I'm new to the Oracle SOA Suite and have been creating very simple SCA WebServices (async and sync) prototypes to INSERT, UPDATE and Poll Oracle 9i and 11g databases. So far, everything works and passes the tests from EM.
I cannot get the Stored Procedure WebService to test successfully as I receive the error message below regardless of JNDI configuration for XA, non-XA, Last Logging Resource, Support Global Transactions,PlatformClassName, etc... The Outbound Connection Pool is setup correctly as the other DML tests have worked fine.
BINDING.JCA-12563
Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'dbReference' failed due to: Interaction processing error.
Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
Caused by: BINDING.JCA-12563
Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'callAPI' failed due to: Interaction processing error.
Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:569)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:724)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:689)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:628)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:325)
... 84 more
Caused by: BINDING.JCA-11812
Interaction processing error.
Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.
at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:690)
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:656)
at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:180)
at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:183)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1302)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:307)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:415)
Caused by: java.lang.NullPointerException
at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:162)
... 91 more
The SP SCA is the simplest possible application I can think of... The WebService accepts a single INT, calls BPEL>Receive>Assign>Invoke>dbAdapter(Stored Procedure) that accepts a single IN INTEGER parameter in an Oracle 11g database.
Steps I've used to create the SP SCA. (Create Empty SOA Application)
1.) Create Database Adapter in External References swim lane.
2.) Set JNDI and Connection.
3.) Browse to Oracle Procedure...click through Wizard and accept all defaults.
CREATE OR REPLACE PROCEDURE TEST_SOA_API (
wo_order_no_ IN INTEGER)
IS
BEGIN
INSERT INTO TEST_TMP VALUES (wo_order_no_);
END;
4.) WSDL, XSD, JCA are automatically generated.
5.) Create BPEL Process Component and select Template "Base on a WSDL". I choose the WSDL created from the Database Adapter wizard.
6.) The "Exposed Service" is automatically created and everything is wired.
7.) I deploy to my CompactDomain (running on a local Oracle12 db). No errors.
8.) I login to EM and Test the WebService..and ALWAYS receive the error message above.
I've tried BPEL Process and Mediator as components to simply pass the single incoming INT parameter to the SP DbAdapter and tried every combination I can think of with DataSource/DbAdapter Deployment through the Admin console. I used the same exact steps above for INSERT, UPDATE, Polling and have had no issues so I cannot figure out why I'm not receiving java.NullPointer exception or why I'm receiving the XML/XSD malformation error.
Stuck now...anyone have an idea what I'm doing wrong or simply tell me I'm an idiot and shouldn't do SP's this way?
FYI. I've turned on logging for the oracle.soa.adapter.db class to TRACE: 32(FINEST). Not much help to me
[2015-04-02T09:03:55.706-05:00] [AdminServer] [WARNING] [ADF_FACES-00007] [oracle.adf.view.rich.render.RichRenderer] [tid: 118] [userId: weblogic] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-00000788,0] [APP: em] [DSID: 0000KluHqzk0NuGayxyWMG1L7K52000003] Attempt to synchronized unknown key: viewportSize.
[2015-04-02T09:05:23.971-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute] [composite_version: 1.0] [reference_name: dbReference] BEGIN IFSAPP.TEST_SOA_API(WO_ORDER_NO_=>?); END;
[2015-04-02T09:05:23.972-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute] [composite_version: 1.0] [reference_name: dbReference] Bindings [WO_ORDER_NO_=>INTEGER(2343)]
WSDL
<wsdl:definitions
name="dbReference"
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
<plt:partnerLinkType name="dbReference_plt" >
<plt:role name="dbReference_role" >
<plt:portType name="tns:dbReference_ptt" />
</plt:role>
</plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
schemaLocation="../Schemas/dbReference_sp.xsd" />
</schema>
</wsdl:types>
<wsdl:message name="args_in_msg">
<wsdl:part name="InputParameters" element="db:InputParameters"/>
</wsdl:message>
<wsdl:portType name="dbReference_ptt">
<wsdl:operation name="dbReference">
<wsdl:input message="tns:args_in_msg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
XSD
<schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" elementFormDefault="qualified">
<element name="InputParameters">
<complexType>
<sequence>
<element name="WO_ORDER_NO_" type="int" db:index="1" db:type="INTEGER" minOccurs="0" nillable="true"/>
</sequence>
</complexType>
</element>
</schema>
Payload XML
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:InputParameters xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference">
<ns1:WO_ORDER_NO_>667</ns1:WO_ORDER_NO_>
</ns1:InputParameters>
</soap:Body>
</soap:Envelope>An even simpler request:
Can someone create an SCA that simply accepts a single INT parameter and calls a Stored Procedure (Oracle) that inserts this INT into a table? Maybe upload the project folder structure in a zip?
Seems someone with experience on this platform could execute this task in 10-15 minutes.
CREATE TABLE TEST_TMP (WO_ORDER_NO INT);
CREATE OR REPLACE PROCEDURE TEST_SOA_API (
wo_order_no_ IN INTEGER)
IS
BEGIN
INSERT INTO TEST_TMP VALUES (wo_order_no_);
END; -
Error while Generating wsdl from wsgen tool
Hi All,
I am trying out wsdl generation with the help of the wsgen tool. I have endorsed jaxb-api.jar and jaxws-api.jar files.
I have a library TestTo which has TestingTo class AS
public class TestingTo implements Serializable{
public String name;
This TestTO library is included in webservice project.
My WebService is as below-
@WebService()
public class IcfInfra {
@WebMethod(operationName = "printTest")
public TestingTo printTest(@WebParam(name = "string") String string)
TestingTo to = new TestingTo();
to.name = string;
System.out.println(string);
return to;
When I run Ant script for Wsgen I get following error -
main: [exec] Note: ap round: 1 [exec] Problem encountered during annotation processing; [exec] see stacktrace below for more information. [exec] java.lang.NullPointerException [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.isLegalType(WebServiceVisitor.java:794) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.isLegalMethod(WebServiceVisitor.java:642) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.methodsAreLegal(WebServiceVisitor.java:611) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.isLegalImplementation(WebServiceVisitor.java:529) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.shouldProcessWebService(WebServiceVisitor.java:332) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisit or.visitClassDeclaration(WebServiceVisitor.java:123) [exec] at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.acc ept(ClassDeclarationImpl.java:95) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.bu ildModel(WebServiceAP.java:329) [exec] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.pr ocess(WebServiceAP.java:270) [exec] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationPr ocessor.process(AnnotationProcessors.java:60) [exec] at com.sun.tools.apt.comp.Apt.main(Apt.java:454) [exec] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java :258) [exec] at com.sun.tools.apt.main.Main.compile(Main.java:1102) [exec] at com.sun.tools.apt.main.Main.compile(Main.java:964) [exec] at com.sun.tools.apt.Main.processing(Main.java:95) [exec] at com.sun.tools.apt.Main.process(Main.java:85) [exec] at com.sun.tools.apt.Main.process(Main.java:67) [exec] at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.jav a:219) [exec] at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:123) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:597) [exec] at com.sun.tools.ws.Invoker.invoke(Invoker.java:131) [exec] at com.sun.tools.ws.WsGen.main(WsGen.java:52) [exec] error: compilation failed, errors should have been reported [exec] Result: 1
Now I modified my webservice as
@WebService()
@XmlSeeAlso({
TestingTo.class
public class IcfInfra {
@WebMethod(operationName = "printTest")
public TestingTo printTest(@WebParam(name = "string") String string){
TestingTo to = new TestingTo();
to.name = string;
System.out.println(string);
return to;
When I execute ant script i get error as -
main: [exec] Exception in thread "main" java.lang.ArrayStoreException: sun.reflec t.annotation.TypeNotPresentExceptionProxy [exec] at sun.reflect.annotation.AnnotationParser.parseClassArray(Annot ationParser.java:653) [exec] at sun.reflect.annotation.AnnotationParser.parseArray(Annotation Parser.java:460) [exec] at sun.reflect.annotation.AnnotationParser.parseMemberValue(Anno tationParser.java:286) [exec] at sun.reflect.annotation.AnnotationParser.parseAnnotation(Annot ationParser.java:222) [exec] at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Ann otationParser.java:69) [exec] at sun.reflect.annotation.AnnotationParser.parseAnnotations(Anno tationParser.java:52) [exec] at java.lang.Class.initAnnotationsIfNecessary(Class.java:3070) [exec] at java.lang.Class.getAnnotation(Class.java:3029) [exec] at com.sun.tools.ws.wscompile.WsgenOptions.validateEndpointClass (WsgenOptions.java:244) [exec] at com.sun.tools.ws.wscompile.WsgenOptions.validate(WsgenOptions .java:226) [exec] at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:122) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:597) [exec] at com.sun.tools.ws.Invoker.invoke(Invoker.java:131) [exec] at com.sun.tools.ws.WsGen.main(WsGen.java:52)
Appreciate If someone can let me know what needs to be done in order to sucessfully generate the wsdl.
Thanks, Adish
Edited by: user7738545 on 29-Apr-2011 23:47You are trying to use a custom class as a return type?
The return type needs to be JAX-B compatible
see: http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/JAXWS3.html
You should avoid using user defined complex types as much as possible because they require the clients to be able to process them as well making your webservice less portable and thus defeating the main advantages of webservices. -
Failed creation of deployable proxy upon wsdl containing "soapenc" types
Hello all,
I've tried to create deployable proxy upon wsdl file
Creation process has failed and following exception was logged:
com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation problem. See nested exception.
Caused by: java.lang.Exception: WSDL part <in0> points to unavailable type with qname: <string>
wsdl is created by Apache Axis version: 1.4. It contains "soapenc" types, e.g.:
<wsdl:message name="getPageObjectListRequest">
<wsdl:part name="in0" type="soapenc:string"/>
<wsdl:part name="in1" type="soapenc:string"/>
<wsdl:part name="in2" type="soapenc:string"/>
<wsdl:part name="in3" type="soapenc:string"/>
</wsdl:message>
Could you give me any advice? What should I do to create deploable proxy upon such wsdl file?I am getting this error by generating a web service from pl/sql procedure. Just one package, just one procedure. Error stack:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:595)
The pl/sql package header looks like this:
CREATE OR REPLACE package ADMIN.etis_autent as
procedure autent(
ps_kasutajatunnus in varchar2,
ps_parool in varchar2,
ps_isikukood out varchar2,
ps_eesnimi out varchar2,
ps_perekonnanimi out varchar2
end etis_autent;
/ -
Hi,
I am trying to invoke a Websservice, which has JCA bindings, using the WSIF framework. Getting a null pointer exception:
Have posted the code and error below.
CODE SNIPPET:
====================================================================
try{
/* if (Thread.currentThread().getContextClassLoader() == null) {
ClassLoader cl = getClass().getClassLoader();
Thread.currentThread().setContextClassLoader(cl);
oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA provider = new oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA();
org.collaxa.thirdparty.apache.wsif.util.WSIFPluggableProviders.overrideDefaultProvider("http://xmlns.oracle.com/pcbpel/wsdl/jca/", provider);
Definition wsdlDefinition = WSIFUtils.readWSDL(null, "C:\\SOAPJCA\\BRMCustServices.wsdl");
Service wsdlService = wsdlDefinition.getService(new QName("http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes") );
org.collaxa.thirdparty.apache.wsif.WSIFServiceFactory wsifFactory = org.collaxa.thirdparty.apache.wsif.WSIFServiceFactory.newInstance();
WSIFService wsifService = wsifFactory.getService(wsdlDefinition, wsdlService);
String portChosen = null;
Iterator it = wsifService.getAvailablePortNames();
while (it.hasNext()) {
String nextPort = (String) it.next();
if (portChosen == null)
portChosen = nextPort;
System.out.println(" - " + nextPort);
WSIFPort port_wsif = wsifService.getPort();
System.out.println("After that !!");
//WSIFPort javaPort = wsifService.getPort("");
}catch(WSIFException wsifEx){
System.out.println("Within WSIF exceptions");
wsifEx.printStackTrace();
====================================================================
ERROR:
====================================================================
- WSIF0007I: Using WSIFProvider 'oracle.tip.adapter.fw.wsif.jca.WSIFDynamicProvider_JCA' for namespaceURI 'http://xmlns.oracle.com/pcbpel/wsdl/jca/'
- BRMCUSTService_pt
After preferred portoracle.j2ee.ws.wsdl.DefinitionImpl@1d86fd3
After preferred portclass org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl
Within exceptions
java.lang.NullPointerException
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort(WSIFServiceImpl.java:417)
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:467)
at org.collaxa.thirdparty.apache.wsif.base.WSIFServiceImpl.getPort(WSIFServiceImpl.java:429)
at WSIFSample4.main(WSIFSample4.java:62)
=====================================================================
The jars used here are orabpel related jars, which has its own JCA provider and implementation classes. There are similar errors reported in Axis WSIF forums for:
Null pointer Exception at apache.wsif.base.WSIFServiceImpl.createDynamicWSIFPort
But no concrete answers to it.
Has anyone tried using WSIF in Oc4j,
Any help is appreciated.
Thanks,It says "*unique* constraint (XXEA_GLOBAL.XXEA_GL_JOURNAL_IN_STG_U1) violated". Pls check if your data (for insertion) is violating this constraint.
-
Java.lang.NullPointerException exception in SOAP Receiver adapter
Hi Experts,
I have a requirement where a third party system will call a service(WSDL) generated from ID to receive some details from SAP system.
The design and configuration part everything was created and was able to receive requests from third party system successfully till last week. But suddenly we are receiving the below error from today,
SOAP: call failed: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable messageHeader
i went through some of the threads in SDN, but still we are receiving the same error.
Could any one can help me on this?
Thanks in advance.
Regards,
Govardhan Duvva.Hi Duvva
Please check if there are any changes done on the web service side and double check the urls being used.
similar error is explained in the thread : Might be useful to refer once.
ADAPTER.JAVA_EXCEPTION: Sender soap adapter PI ... | SCN
Server Proxy 7.3 issue with URL -
WebService generation from existing WSDL file :(
Hello,
I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
Here are my JDeveloper coordinates to give you the chance to follow up:
- Studio Edition Version 11.1.1.1.0
- Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
Running JDeveloper in MacOSX:
- Version 10.5.8
- Build 9L31a
Cheers,
Chris
*** ERROR STACK TRACE ***
oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
at java.lang.Thread.run(Thread.java:637)
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
at $Proxy46.getJaxWsSeiInfo(Unknown Source)
at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
... 8 more
Caused by: java.lang.NumberFormatException: For input string: "1 "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
... 18 moreHello puthanampatti,
that was exactly what I tried right now ;-)
I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: !NLS Some Name
Invoking command:
Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command:
Invoking command: New XML Schema
Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Clear[ from oracle.ide.log.MessagePage ]
Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
Invoking command: Reformat
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Uncaught exception
java.lang.NullPointerException
com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
j.a.Component.processMouseEvent(Component.java:6304)
jx.s.JComponent.processMouseEvent(JComponent.java:3265)
j.a.Component.processEvent(Component.java:6066)
j.a.Container.processEvent(Container.java:2085)
j.a.Component.dispatchEventImpl(Component.java:4667)
j.a.Container.dispatchEventImpl(Container.java:2143)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
j.a.Container.dispatchEventImpl(Container.java:2129)
j.a.Window.dispatchEventImpl(Window.java:2475)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.EventQueue.dispatchEvent(EventQueue.java:635)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
j.a.Dialog$1.run(Dialog.java:1051)
j.a.Dialog$3.run(Dialog.java:1103)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1101)
j.a.Component.show(Component.java:1516)
j.a.Component.setVisible(Component.java:1468)
j.a.Window.setVisible(Window.java:841)
j.a.Dialog.setVisible(Dialog.java:991)
o.bali.ewt.wizard.WizardDialog.runDialog()
o.bali.ewt.wizard.WizardDialog.runDialog()
o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
o.i.wizard.WizardManager$1.run(WizardManager.java:365)
o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
o.i.wizard.WizardManager$2.run(WizardManager.java:373)
o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
o.i.controller.IdeAction.performAction(IdeAction.java:524)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:389)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
j.a.Component.processMouseEvent(Component.java:6301)
jx.s.JComponent.processMouseEvent(JComponent.java:3265)
j.a.Component.processEvent(Component.java:6066)
j.a.Container.processEvent(Container.java:2085)
j.a.Component.dispatchEventImpl(Component.java:4667)
j.a.Container.dispatchEventImpl(Container.java:2143)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
j.a.Container.dispatchEventImpl(Container.java:2129)
j.a.Window.dispatchEventImpl(Window.java:2475)
j.a.Component.dispatchEvent(Component.java:4497)
j.a.EventQueue.dispatchEvent(EventQueue.java:635)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
Cheers,
chris
Edited by: Christoph E on Oct 19, 2009 4:30 PM -
Hello! Can somebody help me? I tried to call web service? usimg DII Client. Here is the code:
String[] res = null;
String nmsp = "urn:foo";//targetNamespace in WSDL
String qnameService = "ServiceName";
String qnamePort = "PortName";//<port name in WSDL
String urlst = "service?wsdl";
try {
URL url = new URL(urlst);
ServiceFactory factory = ServiceFactory.newInstance();
javax.xml.rpc.Service serv = null;
QName qName = null;
try {
qName = new QName(nmsp,qnameService);
if (qName != null) {
serv = factory.createService(url, qName);
} else {
System.out.println("qName = null" );
} catch (Exception ex) {
System.out.println("qnameService = " + qnameService);
ex.printStackTrace();
Call call = serv.createCall(new QName(nmsp, qnamePort), new QName(nmsp, "whatListsCat "));
res = ((String[]) call.invoke(new Object[]{}));
for (int i = 0; i < res.length; i++)
System.out.println("res = " + res);
} catch (Exception e) {
e.printStackTrace();
return res;
And I have the Error in this place: serv = factory.createService(url, qName);
Error is: javax.xml.rpc.ServiceException: java.lang.NullPointerException
Maybe somebody knows what is the problem?
Thank you!Hi Eric! I realy don't know what's wrong. I have tried to call web-service with XML Spy. When I called it first time everything was
fine, it worked. But when I tried to invoke it once again and again I had this
error: "HTTP error: could not POST file
'/axis/services/VocabServerApi' on server '192.171.196.92'(500)". Here is the link to the wsdl file: http://vocab.ndg.nerc.ac.uk/VocabServerAPI.wsdl . Thank you for your help.
Regards,
Kristina
Maybe you are looking for
-
How can i print photo's from my computor to my photosmart 7515 windows vista 64 bit with updates
How can i print photto's from my computor to my photosmart 7515 hp OS vista 64 bit
-
[SOLVED]No Keyboard/Mouse on Xorg
Hi, After an update a few days ago, my network devices weren't working anymore, but running dhcpcd could fix that. Today i updated again and used pacdiff to merge some new configs (i can't remember which one - great i know) and now there is no reacti
-
LaserJet Pro 200 Color M251nw : Wifi turned off but still broadcasting
Hello there, First of all, forgive my English. I have a HP LaserJet Pro 200 color M251nw, so it has wifi capability. Since the printer is plugged with an ethernet cable to my router, I don't feel the need to use the wifi embedded in the printer. Thin
-
Missing HP workflows in OSX Mavericks
After the move to Mavericks the work flow appears as depicted below. Please tell me how to reinstall the workflow automator components.
-
IPhone 5 lock button not really working on right side
The sleep/wake button on my iphone 5 works normally when pressed on the left side of the button but most of the time when you press it in certain ways on the right side of the button it doesn't seem to work. The left side of the button also sinks int