The Web Service Tester cannot be invoked, because the WSDL document of the
Hi,
I'm new to using webservice. I created a web service and right mouse clicked on the serviceImpl.java and selectd 'Test Web Service'.
I got an error
"The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read."
Could you please help?
Thanks,
Charunee
I found that this is a bug in Jdev and it is fixed by
BUG 9153288 - D08B02C: WEBSERVICES TEST PAGE GIVES ERROR AND IS NOT DEPLOYED
Thanks,
Charunee
Similar Messages
-
Soap response the web service test page
Hi
I am trying to write the static client for a wlw web service. This web service doesn't have @jws:protocol specified, so it has get, post and soap. When I call one of its method using soap port in my static client, it returns the html looks like the weblogic test page for this web service. Here it is:
<-------------------- RESPONSE TO CLIENT --------------->
URL : http://localhost:7001/webservices/testWS.jws
Response Code :200
Headers :
Date=Thu, 07 Feb 2008 17:18:08 GMT
Content-Length=11724
Content-Type=text/html; charset=UTF-8
Expires=Thu, 01 Jan 1970 00:00:00 GMT
Connection=Keep-Alive
Set-Cookie=JSESSIONID=Hr9Qt7BTQQzvM0pGZhvyPjL7typsrTK1GLp0BZZQnRGFwfx90x8K!606
033313; path=/
Envelope :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<title>BEA WebLogic Workshop: testWS.jws Web Service</title>
<link rel=stylesheet href="testWS.jws?.RESOURCE=shared.css">
<body>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
.....First why doesn't it return soap message? And it doesn't execute the method at all. How can I make it call the method and return the soap message?
Thanks
Edited by Holy at 02/08/2008 9:45 AMFigured out that the testWS.jws is deployed to use ssl. But the wsdl generated has http. It works fine after I manually changed to https.
-
Can not test the web service in JDeveloper.
Hi there...
I created an AppModule, added two custom methods, and generated a webservice for that. When I want to test the webservice I get the error "The Webservice Tester cannot be invoked because the WSDL document of the selected service cannot be read."
If I right the webservice and select run, I can view the web page to invoke the methods, However I am wondering why I can't test the service inside the developer.
The settings of my system are as follows:
OS: windows 7 64bit
JDeveloper: Studio Edition Version 11.1.1.3.0 , Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
I did not install any update for JDeveloper...
So if anyone is having an idea what this problem is let me know.
thanks .It seems that even if the test web service option does not work and i get the error, it is possible to run the web service, and then by clicking on the link in the log the tester in jdeveloper appears.
Don't know the reason for such strange behavior. -
Web Service Tester - ADF_FACES 60097 error
Hi Mike / Everyone,
I created a very simple process to test it through Web Service Tester, however when clicking on "Send" button in Web Service Tester, i get the following error:
java.lang.nullpointerexception
ADF FACES - 60097: For more information, please see server's error log for an entry beginning with : ADF FACES-60096:ServerException during PPR #3.
Screenshot attached - ADF_Faces_error.
EDQ Process screen shot attached. What the process does is take a full name and breaks it down.
Example: Web Service takes 1 input field (like full name) and give back 4 outputs
input
Mr. William Henry Gates
output
Mr
William
Henry
Gates
main0.log file
WARNING: 16-Sep-2014 14:27:36: [EDQ-05100] Error in initialisation Loqate not installed, OAV Java API jar "../../edq-av/av-dist/loqate.jar" does not exist
WARNING: 16-Sep-2014 14:27:37: [EDQ-03242] Error registering MBean "edq:type=Match Widget,name=Settings": edq:type=Match Widget,name=Settings
WARNING: 16-Sep-2014 14:27:37: [EDQ-10108] Processor library: processor bean oracle.edq.pdqwidget.server.PDQBean reported as failed: Configuration file "edqp/edqp.properties" not present (Code: 247,500)
SEVERE: 16-Sep-2014 14:27:37: [EDQ-10040] Web Services: error publishing endpoint: Cluster address must be set when clustering is enabled.
java.lang.IllegalArgumentException: Cluster address must be set when clustering is enabled.
at weblogic.wsee.server.ServerUtil.getClusterAddress(ServerUtil.java:491)
at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:196)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:147)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:136)
at weblogic.wsee.jaxws.spi.WLSEndpoint.calculatePublicAddressFromEndpointAddress(WLSEndpoint.java:314)
at weblogic.wsee.jaxws.spi.WLSEndpoint.publish(WLSEndpoint.java:186)
at oracle.edq.webservices.services.platform.wls.JAXWSPublishedHTTPEndpoint.publish(JAXWSPublishedHTTPEndpoint.java:124)
at com.datanomic.director.webservices.services.Services.publish(Services.java:95)
at com.datanomic.director.webservices.manager.WebServicesManager.publish(WebServicesManager.java:718)
at com.datanomic.director.webservices.manager.WebServicesManager.loadDB(WebServicesManager.java:851)
at com.datanomic.director.webservices.manager.WebServicesManager.access$100(WebServicesManager.java:106)
at com.datanomic.director.webservices.manager.WebServicesManager$1.run(WebServicesManager.java:263)
at com.datanomic.utils.system.StartupActions.run(StartupActions.java:108)
at com.datanomic.director.startup.WebApplicationContext.refresh(WebApplicationContext.java:126)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
INFO: 16-Sep-2014 14:27:37: [EDQ-05888] Mission scheduler executing startup schedules
INFO: 16-Sep-2014 14:27:37: [EDQ-00314] AutoRun: has nothing to do!
WARNING: 16-Sep-2014 14:29:38: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Runtime": edq:type=Logging,name=Process Runtime
WARNING: 16-Sep-2014 14:29:40: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Model Server": edq:type=Logging,name=Process Model Server
INFO: 16-Sep-2014 14:29:57: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : started execution
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
at java.lang.Thread.run(Thread.java:682)
Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
... 16 more
Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
... 17 more
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
... 18 more
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
SEVERE: 16-Sep-2014 14:36:55: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
INFO: 16-Sep-2014 14:37:37: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : started execution
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
at java.lang.Thread.run(Thread.java:682)
Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
... 16 more
Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
... 17 more
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
... 18 more
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
SEVERE: 16-Sep-2014 14:51:17: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
The whole purpose of this process is to try out web service tester.
Thanks in advance,i did look in the following path and found:
/ora/mw_etl/user_projects/domains/pbgc_etl/servers/edq_server2/logs
<Sep 16, 2014 4:03:53 PM EDT> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #10
javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
at oracle.edq.adf.web.webservices.TesterBean.send(TesterBean.java:510)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Sep 16, 2014 4:05:51 PM EDT> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
Thanks -
Workshop 9.2 - Web Service Test Client - java.util.NoSuchElementException
I've found an issue with the Web Services Test Client while developing a web service application in the Weblogic Workshop 9.2 tool. The same schema / code in Workshop 8.1 SP4 works okay in its version of the test client.
The error seems to manifest itself, when I add the "addresses" element to the "locations" element.
The error displayed in the weblogic service console is
<BLOCKQUOTE>
java.lang.RuntimeException: java.util.NoSuchElementException
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:63)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3211)
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:427)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:341)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.createMessageBody(RequestTemplate.java:220)
at weblogic.testclient.RequestTemplate.buildRequest(RequestTemplate.java:169)
at weblogic.testclient.RequestTemplate.createRequestTemplate(RequestTemplate.java:103)
at weblogic.testclient.RequestTemplate.<init>(RequestTemplate.java:85)
at weblogic.testclient.WebServiceOperation.<init>(WebServiceOperation.java:120)
at weblogic.testclient.WsdlOperationParser.createOperation(WsdlOperationParser.java:115)
at weblogic.testclient.WebService.createOperation(WebService.java:242)
at weblogic.testclient.WebService.<init>(WebService.java:86)
at weblogic.testclient.Wsdl.parseWsdl(Wsdl.java:127)
at weblogic.testclient.Wsdl.<init>(Wsdl.java:59)
at weblogic.testclient.ConnectionState.createWsdlFromHttpUrl(ConnectionState.java:113)
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:54)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
</BLOCKQUOTE>
The code in the Web Service control is...
<BLOCKQUOTE>
package services;
import javax.jws.WebMethod;
import javax.jws.WebService;
import weblogic.jws.WLHttpTransport;
import au.com.suncorp.services.payment.schema.x0.RequestIdDocument;
import au.com.suncorp.services.payment.schema.x0.VendorDocument;
@WebService(targetNamespace="http://suncorp.com.au/services/payment/wsdl/0")
@WLHttpTransport(serviceUri="services/PaymentService")
public class Payment {
@WebMethod
public RequestIdDocument setupVendor(VendorDocument request) {
System.out.println(request.xmlText());
RequestIdDocument result = RequestIdDocument.Factory.newInstance();
RequestIdDocument.RequestId response = result.addNewRequestId();
response.setCorrelationId("CorrelationId-" + request.getVendor().getName());
return result;
</BLOCKQUOTE>
The XSD schema is as follows....
<BLOCKQUOTE>
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://suncorp.com.au/services/payment/schema/0"
xmlns:tns="http://suncorp.com.au/services/payment/schema/0">
<!-- ***************************************************************** -->
<simpleType name="correlationIdType">
<annotation>
<documentation>
The CorrelationId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="estTimeIntervalType">
<annotation>
<documentation>
The Estimated Time Interval field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="vendorIdType">
<annotation>
<documentation>
The Vendor Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="nameType">
<annotation>
<documentation>
The Vendor Name field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="persistenceType">
<annotation>
<documentation>
The Persistence field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="ownerType">
<annotation>
<documentation>
The Owner field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="sourceReferenceType">
<annotation>
<documentation>
The vendor Source Reference field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="abnType">
<annotation>
<documentation>
The vendor ABN field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="countryType">
<annotation>
<documentation>
The Country field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="stateType">
<annotation>
<documentation>
The State field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="cityType">
<annotation>
<documentation>
The City field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="postcodeType">
<annotation>
<documentation>
The Postcode field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="gstRegisteredType">
<annotation>
<documentation>
The GST Registered field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="withHoldingType">
<annotation>
<documentation>
The WithHolding field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="vendorClassType">
<annotation>
<documentation>
The Vendor Class field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="statusType">
<annotation>
<documentation>The Status field.</documentation>
</annotation>
<restriction base="string">
<enumeration value="ACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="INACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="locationIdType">
<annotation>
<documentation>
The Location Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="effectiveDateType">
<annotation>
<documentation>
The Effective Date field.
</documentation>
</annotation>
<restriction base="dateTime"></restriction>
</simpleType>
<simpleType name="addressIdType">
<annotation>
<documentation>
The AddressId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="addressType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactIdType">
<annotation>
<documentation>
The ContactId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactMethodType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="PHONE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="dispatchMethodType">
<annotation>
<documentation>
The Dispatch Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="currencyType">
<annotation>
<documentation>
The Currency field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="payGroupType">
<annotation>
<documentation>
The Pay Group field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHoldType">
<annotation>
<documentation>
The Pay Hold field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="freightTermsType">
<annotation>
<documentation>
The Freight Terms field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHandlingType">
<annotation>
<documentation>
The Pay Handling field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="delayDaysType">
<annotation>
<documentation>
The Delay Days field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="payFromBankType">
<annotation>
<documentation>
The Pay From Bank field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentInstructionsType">
<annotation>
<documentation>
The Payment Instructions field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentTermsType">
<annotation>
<documentation>
The Payment Terms field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="COD">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="SEVEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FOURTEEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="TWENTYONE_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="THIRTY_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="paymentMethodType">
<annotation>
<documentation>
The Payment Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="CHEQUE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="payBankIdType">
<annotation>
<documentation>
The PayBankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="descriptionType">
<annotation>
<documentation>
The Pay Bank Description field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankIdType">
<annotation>
<documentation>
The BankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="branchIdType">
<annotation>
<documentation>
The BranchId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankAccountType">
<annotation>
<documentation>
The BankAccount field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<!-- ***************************************************************** -->
<complexType name="payBankDetailsType">
<sequence>
<element name="payBankId" type="tns:payBankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="description" type="tns:descriptionType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankId" type="tns:bankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="branchId" type="tns:branchIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankAccount" type="tns:bankAccountType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
</sequence>
</complexType>
<complexType name="paymentDetailsType">
<sequence>
<element name="paymentTerms" type="tns:paymentTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentMethod" type="tns:paymentMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payGroup" type="tns:payGroupType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="currency" type="tns:currencyType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHold" type="tns:payHoldType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="freightTerms" type="tns:freightTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHandling" type="tns:payHandlingType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="delayDays" type="tns:delayDaysType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payFromBank" type="tns:payFromBankType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentInstructions" type="tns:paymentInstructionsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankDetails" type="tns:payBankDetailsType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="contactDetailsType">
<sequence>
<element name="contactId" type="tns:contactIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="contactMethod" type="tns:contactMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="arrayOfContactDetails">
<sequence>
<element name="contact" type="tns:contactDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="addressDetailsType">
<sequence>
<element name="addressId" type="tns:addressIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="address" type="tns:addressType" maxOccurs="1" minOccurs="1"></element>
<element name="postcode" type="tns:postcodeType" maxOccurs="1" minOccurs="1"></element>
<element name="city" type="tns:cityType" maxOccurs="1" minOccurs="1"></element>
<element name="state" type="tns:stateType" maxOccurs="1" minOccurs="1"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1"></element>
<element name="contacts" type="tns:arrayOfContactDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfAddressDetails">
<sequence>
<element name="address" type="tns:addressDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="locationDetailsType">
<sequence>
<element name="locationId" type="tns:locationIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="orderingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="invoicingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="remittingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="returningVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
<element name="paymentDetails" type="tns:paymentDetailsType" maxOccurs="1" minOccurs="1"></element>
<element name="addresses" type="tns:arrayOfAddressDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfLocationDetails">
<sequence>
<element name="location" type="tns:locationDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<!-- ***************************************************************** -->
<element name="Vendor">
<complexType mixed="true">
<annotation>
<documentation>
The Vendor request object.
</documentation>
</annotation>
<sequence>
<element name="vendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="1"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="1"></element>
<element name="persistence" type="tns:persistenceType" maxOccurs="1" minOccurs="1" default="true"></element>
<element name="owner" type="tns:ownerType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="sourceReference" type="tns:sourceReferenceType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="corporateVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="abn" type="tns:abnType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1" default="AUS"></element>
<element name="gstRegistered" type="tns:gstRegisteredType" maxOccurs="1" minOccurs="0" nillable="true" default="true"></element>
<element name="withHolding" type="tns:withHoldingType" maxOccurs="1" minOccurs="0" nillable="true" default="false"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1" default="ACTIVE"></element>
<element name="vendorClass" type="tns:vendorClassType" maxOccurs="1" minOccurs="1"></element>
<element name="locations" type="tns:arrayOfLocationDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
</element>
<element name="RequestId">
<complexType mixed="true">
<annotation>
<documentation>The typical response object for requests.
</documentation>
</annotation>
<sequence>
<element name="correlationId" type="tns:correlationIdType" maxOccurs="1" minOccurs="1"></element>
<element name="estTimeInterval" type="tns:estTimeIntervalType" maxOccurs="1" minOccurs="0" nillable="true" default="24"></element>
</sequence>
</complexType>
</element>
</schema>
</BLOCKQUOTE>Hi Paul
I believe there is some issue with the TestClient.
Instead to test, can you please try this?
1) Right click on Payment.java and choose Webservices -> generate wsdl
2) Right click on the wsdl and choose Webservices -> Test with WebServices Explorer.
3) Click on setVendor method
4) Enter the request parameters
Sample one:
<ns:Vendor xmlns="http://www.openuri.org/" xmlns:ns="http://suncorp.com.au/services/payment/schema/0">
<vendorId xmlns="">Vendor Id</vendorId>
<name xmlns="">My correlation Id</name>
<persistence xmlns="">false</persistence>
<country xmlns="">USA</country>
<status xmlns="">ACTIVE</status>
<vendorClass xmlns="">VendorClass</vendorClass>
</ns:Vendor>
5) Hit the button 'Go'. The entire soap response will be displayed in the bottom.
I have tested this and it works fine.
Output I got:
<m:setupVendorResponse xmlns:m="http://suncorp.com.au/services/payment/wsdl/0">
<RequestId xmlns="http://suncorp.com.au/services/payment/schema/0">
<correlationId>CorrelationId-My correlation Id</correlationId>
</RequestId>
</m:setupVendorResponse>
Thanks,
Vimala -
How to access the Web Service Browser
Hi,
I need to access the Web Service Browser to generate a Web Service Description.
How can I do it?
I use the follow url:
http://<host_name>:<port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_client>
but I can't say how to determine values for the three placeholders.
Help me please.
THANKSHi Andrea,
you can access the web services in sap transaction SICF. Then right click on the
service and choose "test". The hostname is the host on where the sap system
runs.
The port ´number can be seen in transaction SMICM -> shift + F1. Here you can see
the portnumer assigned to the HTTP protocol.
And the client is the sap client (standard client) for which the service is configured.
Hope this helps.
KR,
Andreas -
Web Services Test Page: No input fields for SOAP header parameters?
Hello,
we're using OracleAS / OC4J 10.1.3.1 and have developed a web service that has some self defined SOAP header parameters.
I would like to use the Web Services Test Page provided by the OAS but it seems that there is no opportunity
to provide input values for these SOAP header parameters.
Do I miss something there or is it not supported by OAS?
I've read the documentation but could not find a clue.
any help is appreciated,
Regards,
MartinI hear you. As you have probably heard, OC4J is being replaced by WebLogic Server and the 10.1.3.x releases are the last that will be produced. We'll do maintenance on it of course, but little/no new feature work. This would be a new feature we'd have to add, so I'm afraid there's not much chance in having it done.
It's not ideal, and of course more work for you, but if you want to provide your client with a test page that exposes the SOAP headers as form fields, you could always develop and ship one yourself.
-steve0 -
Web Service Tester not sending parameter to Session bean?
Hi,
I've implemented an EJB3 entity bean, a stateless session bean and used the @WebService annotation to make it accessible.
It deployed fine, and everything seems to work. I use the web service tester to test the methods.
The findDepartments() method works fine (it doesn't take any input).
However, this method does not work:
* Find a specific department
public Department findDepartment(BigDecimal pk)
System.out.println("Incoming pk="+pk);
return em.find(Department.class, pk);
}Incoming pk is always null. Is there a bug in the WebService tester or something?Hmm, ok so this is a bug? As of now the tester page does not support value objects as parameters / return types. Agreed that the error message should be more useful :(
I do get the same error if I use another soap client
though, so I find it kind of strange.This is different though. In this case, is the request received at the service side at all ? Which version of app server are you using ? What kind of service is this ? JAXRPC or JAXWS ? -
I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
error, Location: 2'
When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
were illegible, but no other weirdness was observed.
I have microsoft 2008 installed on my Mac OS X version 10.6.8.
I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docxHi,
This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
Please use the "Fix it" tool in the following KB article to resolve the problem. See:
http://support.microsoft.com/kb/2528942
Hope this helps.
Regards,
Steve Fan
TechNet Community Support -
I created a site and created a document libarary and assigned a word document as a content type . I have written a workflow to create a new document . The workflow is working fine and all the document is getting created and values are getting stored
in it .
As per my requirement I am saving the above site as site template .
After that I am creating a new site based on the above site template , Its getting created and I started the workflow , its working fine and the document is also getting created .
The problem is I am getting error while opening the word document
Error - The file filename.docx cannot be opened because there are problems with the contents .
Details - No error details availble .
IndreshWhat are you doing within the txt document? Is it general text and string based items, or have you something more elaborate going on?
An older discussion here elaborates a bit more on the dotx vs docx side of things.
http://social.msdn.microsoft.com/Forums/en-US/de1b5ff9-ea6d-460c-a707-8c28acd4906f/error-opening-office-open-xml-file-when-using-sd-workflow-to-create-item-in-document-library?forum=sharepointcustomizationlegacy
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
One of the Web Service not working
Hi All,
I have created a AIF for Posting Goods Receipt for a Purchase Order.
The form is using 2 web services: 1) for Getting the Purchase Order details, and 2) for posting the Goods Receipt for that PO.
The form was working absolutely fine for the Customer, i.e. customer was able to fetch the PO details as well as Post the Goods Receipt for that PO.
Then, based on the UAT comments from the customer, we did some minor changes in the function module correponding to the web service which fetches the PO details. We also did some script changes in the form.
After the deploying the changes, the Web service corresponding to Post Goods Receipt has stopped working for the Customer, though the other web service(PO Get Details) is still working fine for them. When the Customer clicks the Button on which the Post Goods Receipt web service is called, they get no response at all.
What is more surprising is that both the web services are still working fine for us(developers).
Please help.Hi Chintan,
One of the fields on the form was mapped to the SAP field which was of length 16 characters.
If the user enters more than 16 charcters on the form....iTHe Web Service does nothing
I restricted the length to 16 on the form and it started working again -
JCAPS UDDI - Problem Using the Web Service Management Application
Hi everyone, this is my problem:
1.) I installed the JCAPS UDDI Server in a Solaris. <-- Ok
2.) In the eManager I installed the Web Services Access Manager. <-- Ok
3.) I started the UDDI server. <-- Ok
4.) I check that the process is running (in Solaris). <-- Ok
5.) I'm trying to load the Web Service Management Application Login Page, but it doesn't show the page so I can't login and in consequence I can't publish, remove, view, and search WSDLs by using the Web Service Management Application.
I appreciate some help about this.
RegardsYes, I am connecting to the same system where we have data..
Anirban -
Creatin Web Service in NWDS 7.0 to handle WSDL from PI 7.1
Hi all,
I created in PI 7.1 a service interface in ESR with following details:
Name: iaBillerDirect
Namespace: http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect
used message type: BillerDirectMessage
Operation: iaBillerDirect
In NWDS 7.01 I first tried to build a web service based on the WSDL of the service interface. But unfortunately, NWDS does not have any possibility to create a web service based on a WSDL. (NWDS 7.1 has - but not NWDS 7.0)
So I created an EJB on my own. Here I created a java class "net.corpintra.pi.cbfc_global_sap_appl.billerdirect.BillerDirectMessage" which I used as Datatype for new created EJB "net.corpintra.pi.cbfc_global_sap_appl.billerdirect.IaBillerDirect".
I added a business method "iaBillerDirect(net.corpintra.pi.cbfc_global_sap_appl.billerdirect.BillerDirectMessage billerDirectMessage)" to my EJB and created a web service based on this.
(The class Biller Direct Message has the same internal structure as the message type on PI.)
When I delpoy the Web Service to the SAP J2EE 7.0 I can test the web service successfully in Web Service Navigator.
When I now create according objects in PI Integration Builder and send a test message via PI to the web service I get following error:
An error occurred while processing the message security. Reason: com.sap.engine.interfaces.webservices.runtime.OperationNotFoundException Found 0 operation definitions using keys: Key name:'first-body-element-ns' key value:'http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect'; Key name:'SoapRequestWrapper' key value:'BillerDirectMessage'; . See trace entry no trace for com.sap.security.core.server.ws.service.ServerSecurityProtocol (severity above PATH).
Can you please advice why I get this error trying to reach the web service via PI? How can I fix this?
Or is there even a good solution how to create a web service in NWDS 7.0 (based on Eclipse 2.1.2) based on a WSDL?
regards
RenéHi Jurmann,
I m facing same Issue with WSDL , it is working with NWDS 7.1 and not with 7.0 ..
can you help me this how to fix this issue..
i need to create webservice in NWDS 7.0 version
Thanks in advance
regards,
Sidhu -
Why is the web service cannot be invoked?
Hi Experts,
Scenario: I have created a web service from a function module from SAP CRM using SOAMANAGER. I wish to invoke this web service from Data Services.
I have tried to invoke the web service using the 2 types of data store avaible in Data Services:
- One Web Service datastore
- One Adapter datastore
Both have the same WSDL URL and I see the defintion of the web service in both. Fine.
I created 2 dataflows:
- One invoking the function from the Web Service datastore
- One invoking the function from the Adapter datastore
When I execute the batch job, I get different errors in the 2 dataflows, but the root cause seems to be the same: it cannot access and execute the web service.
- In the dataflow using the function from the Web Service data store, I get the error RUN-248005 There is no response for thte web service. Ensure that the network, web server, and service are running properly. Also ensure that the service call time out is set properly
- In the dataflow using the function from the Adaptor data store, I get the error RUN-058110 Error calling function. Web Service client unable to invoke Web Service Server. Error: (0)null
I have checked the Data Integrator documentation and nothing is mentioned on what is a proper time out setting.
I have followed the white paper of Michael Eaton [Building Data Integrator Real Time Jobs and Calling Web Services|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true]. Nothing is mentioned in there in regards of special configuration. Yet, my scenario is a bit different here as I am using and external web service and not a published web service from Data Services.
Is there some Data Services configuration missing here? The web service is not secure: it as the lowest level of security, which is NONE! :).
What am I am missing :(?
Thanks a lot & Best Regards
IsabelleHi Manoj,
Thanks for the tip, unfortunately it still doesn't work.
I had posted a thread to the web service forum [Re: How to get the http.proxyHost and http.proxyPort?;. I was given the tip to invoke the web service using SOAP UI ([www.soapui.org]). I was able to invoke my web service and execute the service successfully! That's one win!
Yet, in DS it still doesn't work :(. I have:
- Added the Dhttp.proxyHost and Dhttp.proxyPort in the Additional Java Launcher Options in DS Management Console. I am not sure I have the right ones though. I think I might have the wrong values. I will recheck. Yet, when using SOAP UI, I don't need it so I am wondering why DS needs this.
- I have added the user/password in the adaptor datastore where the WSDL is specified.
I couldn't find any documentation related to the possible options for Additional Java Launcher Options. Where is this documented?
Thanks for your help & Best Regards
Isabelle -
Error in browser while testing the web service
Hi all
plz help me out in the following problem.
i have generated a simple web services program using netbean. while i am testing the web service i am getting the following error in the browser
Exceptions details : java.lang.RuntimeException: Service Class not generated as expected
javax.servlet.ServletException: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:546) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:158) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:104) at com.sun.enterprise.webservice.JAXWSServlet.doGet(JAXWSServlet.java:233) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75) Caused by: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:521) ... 29 more
regards
minaCheck this guide for creating a correct WSDL:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
User user need the role SAP_XI_APPL_SERV_USER
Regards
Stefan
Maybe you are looking for
-
I bought a 5th generation iPod touch. everything was working fine. until I tried to back up my music from iTunes. it said it would restart after "backing up" and it didn't. this is the second iPod this has happened to. I left the last one on the char
-
my laptop hard drive crashed, used to have lion now it is back to snow leopard. i lost all of my info, music, pictures, etc. how do i get it back to lion again? this is very frustrating because i paid $30 to download it and now i am unable to have it
-
Problems using new embedding method
My embedded Quicktime movies don't always play correctly! The problem I am having is when I load the page - rather than playing the movie at the correct dimensions of 640x376 (16 pixels taller than the .mov for the controller), I get just the quickti
-
What is exact diff between Bean and Class
As my knowledge... Class should not depends on any specified rules..But Bean should specified on specified rules, like setters and getters.... is there any more........ thanks for giving help..........
-
Hi everyone, I recently encountered a problem with a program that is located in my Applications folder. Every time I restart or turn on my MacBook Pro a program opens in my dock called "starfield update." I can't access this and have to force it clos