Invoking Solman WS from Eclipse
Friend,
I am absolutely new to SAP. I was given the URL of SAP Solution Manger web services and was asked to consume it via Lotus Notes. I thought it fit to - first use a Eclipse based Webservice explorer to research a little bit. I am able to connect to the webservice, see all the function it exposes. I am able to get a systemguid when I invoke the operation 'RequestSystemGuid' . But when I use this to get a list of unclosed incident - I get the following error. I am posting the Soap Response here. Could any please tell me what is it that I have to do at the SAP Sol Man end to make sure that I get the list of unclosed incidents ? I am invoking the web service from Eclipse on my lap top. Let me know if you need more information ?
- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
- <soap-env:Body>
- <ListUnclosedIncidentsResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
- <Errors>
- <item>
<ErrorCode>13</ErrorCode>
<Val1>48395265CC3A0158E10080000A19035B</Val1>
<Val2 />
<Val3 />
<Val4 />
</item>
</Errors>
<Incidents />
</ListUnclosedIncidentsResponse>
</soap-env:Body>
</soap-env:Envelope>
Hi, did you accomplish to solve your problem using the list unclosed incidents operation?
Best Regards
Nasoft
Similar Messages
-
Invoking SOLMAN WS from a NON-SAP application
Hello All,
Has any one accessed the SAP SolMan web services from a non-sap application ? For my project, I need to talk to solman through its exposed operations as defined in the WSDL file
http://mycompany.com:8003/sap/bc/srt/rfc/sap/ict_service_desk_api?wsdl
When I invoke this WS through eclipse, after taking in the UID & PWD, it is returning appropriate values for:
RequestSystemGuid
RequestGuid
Getpossiblevalues
It fails for all other operations. For e.g. ListUnclosedIncidents returns and error called :
ErrorCode (unsignedByte): 13
Similary for the operation 'ReadCompleteIncident'
What is it that needs to be done to surmount this error ? Any pointers, suggestions ?
Thanks
KarthikHi, did you accomplish to solve your problem using the list unclosed incidents operation?
Best Regards
Nasoft -
Invoking JDev bpel process from Eclipse BPEL Process?
Is it possible to invoke a bpel process (with dbadapter) developed in JDev from a bpel process created in Eclipse (Designer)?
I was unsuccessful.
Scenario:
I was trying to invoke jdev bpel process (that had a database adapter to update the database) from Eclipse bpel process (since we do not have adapters in Eclipse designer).
The namespace wasn't known by Eclipse( some schema missing?) and therefore we couldn't compile it. -
Runnable JAR from Eclipse with DLL
Hi,
Is it possible to export a runnable jar from Eclipse that includes and uses a dll?
My simple application uses an 'external' API - JIntelliType - a jar file and a dll belongs to it.
I can run the project fine from Eclipse, but I can't export it to runnable jar. I am a bit lost among classpath, path, build path, native library location, referenced library,..
But maybe it doesn't matter because after trying to look this question up on the net, I am not sure if it is possible to do it with Eclipse (not without additional plugin at least).
Could somebody please help me with this?
Thank you in advance!
lemonbostonYour question is that of deployment. In Eclipse you setup your development environment to include native binaries in the projects working directory. As soon as you leave Eclipse you do not have its facilities anymore and you need to make do with what the JDK has to offer you.So your real question is: I have a jar and a DLL, the jar depends on the DLL. How do I run the application such that the DLL can be loaded by it?
The answer is: you can provide through a system property (java.library.path) which directory Java (and ultimately the operating system) should scan for native binaries, or you can simply put the DLL in the same directory as the jar. The current working directory (the directory where Java is invoked) is always on the binary search pat of the operating system.
The documentation for the java tool is here:
http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
To pass a system property as a parameter you would do something like:
java -Djava.library.path=path/to/libs -jar yourjar.jar -
Invoking ALBPM Process from ALSB
Hi,
I am presently trying to invoke ALBPM(Oracle BPM) process by registering my process as webservice to ALSB (OSB). I am however not able to trigger my processes from ALSB. I have posted the steps followed. Please help me in figuring out the missing piece
a) Registered the ALBPM Process WSDL in ALSB by importing manually
b) Created a Business Service based on the WSDL
c) Created a Proxy Service based on the WSDL.
Invoked the "startSession" operation to generate the sessionID using ALSB test browser. ALSB receives an error response.
I was however able to generate my sessionID and also invoke my processes successfully by using any generic Soap client.
Please do help me in figuring out my missing steps.
Thanks in Advance,
RudrakshHi,
Thanks for your response. I am getting an echo of the request as the response. I am just trying to invoke my "startSession" from test browser . I am presently using the default proxy services to trigger the ALBPM webservices. I haven't configured any message flows.I have posted the invocation trace response below.
Invocation trace ::
Routed Service
No Service has been invoked, the request is echoed.
I also happened to try out the option of registering the endpoint to connect to OSB from with OBPM. I am presently getting this stack trace everytime I try to register.
fuego.lang.exception.ProgramException: Couldn't invoke method 'publish' on fuego.alsb.deployment.ProcessesDeploymentModel@7846a9
at fuego.lang.exception.ProgramException.wrap(ProgramException.java:55)
at fuego.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:50)
at fuego.ui.wizards.ui.InvokeMethodActionListener.actionPerformed(InvokeMethodActionListener.java:49)
at fuego.ui.peer.swt.SwtButton$1.widgetSelected(SwtButton.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at fuego.ui.peer.swt.SwtWindow.setVisible(SwtWindow.java:179)
at fuego.ui.UiComponent.setVisible(UiComponent.java:832)
at fuego.ui.Dialog.setVisible(Dialog.java:218)
at fuego.designer.action.OpenAlsbProcessDeploymentDialogAction.run(OpenAlsbProcessDeploymentDialogAction.java:61)
at fuego.eclipse.ui.EclipseAction.run(EclipseAction.java:180)
at fuego.eclipse.ui.EclipseAction.run(EclipseAction.java:199)
at fuego.eclipse.studio.actions.EclipseActionDelegate.run(EclipseActionDelegate.java:39)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:198)
at fuego.lang.reflect.MethodUtils.invokeMethod(MethodUtils.java:40)
... 43 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:210)
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128)
at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308)
at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:400)
at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:255)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:201)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at javax.management.remote.rmi.RMIConnectionImpl_1030_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$15.run(ClientProviderBase.java:606)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:604)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(Unknown Source)
at javax.management.MBeanServerInvocationHandler.invoke(Unknown Source)
at $Proxy23.importUploaded(Unknown Source)
at fuego.alsb.dao.impl.AlsbManagerImpl.importJar(AlsbManagerImpl.java:404)
at fuego.alsb.process.ProjectHelper.publishProcess(ProjectHelper.java:534)
at fuego.alsb.process.ProjectHelper.publish(ProjectHelper.java:139)
at fuego.alsb.deployment.ProcessesDeploymentModel.publish(ProcessesDeploymentModel.java:138)
... 50 more
I am stuck.I really appreciate any help in this regard.
Rudraksh
Edited by: rudraksh on Jul 17, 2009 1:59 PM -
hello,
I amusing tomcat 5.5.9 with suse (linux), and I am using jdk 1.6.0
The CATALINA_HOME, JAVA_HOME are defined,
When I try to startup the tomcat as root user every thing is ok, it
start (with port 8080)
I have create a new user with permissions to logs and work
directories, and try to startup the tomcat from command
like that su - tomcatuser -c /user/tomcathome/bin/startup.sh
every thing is ok
but wenn I try to start it from eclipse I get this message:
In Catalina.out
Apr 17, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Apr 1, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Apr 1, 2006 6:03:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
Can any one help,
Thankshello,
I amusing tomcat 5.5.9 with suse (linux), and I am using jdk 1.6.0
The CATALINA_HOME, JAVA_HOME are defined,
When I try to startup the tomcat as root user every thing is ok, it
start (with port 8080)
I have create a new user with permissions to logs and work
directories, and try to startup the tomcat from command
like that su - tomcatuser -c /user/tomcathome/bin/startup.sh
every thing is ok
but wenn I try to start it from eclipse I get this message:
In Catalina.out
Apr 17, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Apr 1, 2006 6:03:26 PM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Apr 1, 2006 6:03:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
Can any one help,
Thanks -
Passing arguments to JVM from eclipse
When running a program from eclipse, I get an error like java.lang.UnsatisfiedLinkError: no driJNI in java.library.path
I tried the -Djava.library.path={whatever} in the VM arguments. However, I still get the error of unsatisfied link. When try setting the property in the code with:
System.setProperty("java.library.path","{whatever}");
System.out.println(System.getProperty("java.library.path"));
the output remains : null.
anyother suggestions? if i just use command line the problem goes away. however, i'd like to be able to make eclipse work.
Thanks.It is called a here-document, as in "The Document is Right Here".
anycommand_that_reads_stdandardin <<UNIQUE_STRING
stuff to be
read by the
command via
its standard input
UNIQUE_STRING
The typical convention is to use EOD for the unique string as in End-of-Data, but any string that will NOT occur in the body of the text starting in column 1 is fine. And keep the string simple, no spaces, tabs, funny characters, etc...
This is similar to putting all of the text between the <<EOD and EOD into a file and then invoking the command with:
anycommand_that_reads_stdandardin <file.with.data
The advantage of the here-document is that you do not need to have a separate file, or do a bunch of echo statements into file so you can pass it as input to the command, and then remember to clean up the temp file later.
In addition, the here-document allows shell substitutions to occur, which is just what you needed for your osascript work.
If you are intrested in shell scripting, you might spend some time in a book store, drinking coffee while browsing some of the books on learning bash, or if you can find it, "Learning Unix for Mac OS X Tiger". If you enjoy it and find any of the books useful to you, grab your credit card and head to check-out -
Error while invoking a Dataservice from client application
Hi,<br><br>
Code snippet of Client to invoke DataService is....<br><br>
Hashtable h = new Hashtable();<br>
h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");<br>
h.put(Context.PROVIDER_URL,"t3://10.1.5.31:7001");<br>
h.put(Context.SECURITY_PRINCIPAL,"weblogic");<br>
h.put(Context.SECURITY_CREDENTIALS,"weblogic"); <br>
Context context = new InitialContext(h);<br>
DataService ds =DataServiceFactory.newDataService(context, "HLCApp","ld:HLCAppDataServices/com/pfizer/hlc/dataservices/HCP_DETAILS"); <br>
<u>DataObject obj= (DataObject) ds.invoke("HCP_DETAILS", null);</u><br>
System.out.println(" HCP details : \n" + obj);
<br><br><br>
The line(which is underlind) is causing the error(I checked by putting some System.outs).
<br>
While invoking a DataService from the Client application(Java Client) I am getting the following error in the console.
<br><br>
Exception in thread "main" com.bea.ld.dsmediator.client.exception.SDOMediatorExc
eption: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic.rj
vm.PeerGoneException: ; nested exception is:
java.io.EOFException
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
Base.java:114)
at com.pfizer.hlc.DSClient.HCP.main(HCP.java:23)
Caused by: com.bea.ld.dsmediator.client.exception.SDOMediatorException: weblogic
.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
rviceBase.java:183)
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invoke(XmlDataService
Base.java:102)
... 1 more
Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:290)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:248)
at com.bea.ld.Server_ydm4ie_EOImpl_816_WLStub.executeFunction(Unknown So
urce)
at com.bea.ld.dsmediator.client.XmlDataServiceBase.invokeQuery(XmlDataSe
rviceBase.java:157)
... 2 more
Caused by: java.io.EOFException
at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:897
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.ja
va:599)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:549)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:707)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:654)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:2
82)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
<br><br><br><br>
<b>And in the server's log file the exception is like below</b><br><br>
<Nov 1, 2006 4:29:31 PM IST> <Error> <RJVM> <gsipl-c2-8> <cgServer> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-000503> <Incoming message header or abbreviation processing failed
<b>java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940</b>
java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940
at java.io.ObjectStreamClass.initNonProxy(Ljava.io.ObjectStreamClass;Ljava.lang.Class;Ljava.lang.ClassNotFoundException;Ljava.io.ObjectStreamClass;)V(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Z)Ljava.io.ObjectStreamClass;(Unknown Source)
at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
at java.io.ObjectInputStream.readExternalData(Ljava.io.Externalizable;Ljava.io.ObjectStreamClass;)V(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject0(Z)Ljava.lang.Object;(Unknown Source)
at java.io.ObjectInputStream.readObject()Ljava.lang.Object;(Unknown Source)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:251)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:748)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:782)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
<br><br><br>
<b>My workstation environment is</b>
Weblogic 8.1 SP6,Aqualogic 2.0 ,os is WindowsXP and JDK is jrockit81sp6_142_10.
<br><br><br>
Does anyone have any idea, why i am getting this error.
<br><br>
Thanks,<br>
Suresh varma.Hi Suresh varma
Did you get any answer for your problem?
I'm having the exact same problem. Working with Weblogic 8.1 SP6 and getting this strange message whenever I'm calling my data service.
I've followed the guidlines given on the URL posted here, and still getting the same message.
Let me know if you have any idea.
Cheers
Rod -
Export OSB configuration from eclipse using ant script
I am trying to export an OSB project from eclipse using ant script
I followed the link below http://biemond.blogspot.com/2010/07/osb-11g-ant-deployment-scripts.html
It is using com.bea.alsb.core.ConfigExport to do the export. This export is always set to resource level.
I see it generates a file ExportInfo setting some properties. It has a property that set the export level as below
<imp:property name="projectLevelExport" value="false"/>*
How can I export the project in project level? basically setting projectLevelExport to true?
So that if a file does not exist in the sbconfig.jar file , then while importing the jar to OSB server it will delete the file from the server instead of skipping it?
I appreciate any help
here is the ant script snippet that gets executed to export from eclipse
<target name="exportFromWorkspace">
<delete failonerror="false" includeemptydirs="true"
dir="${metadata.dir}"/>
<!--eclipse.refreshLocal resource="${config.project}" depth="infinite"/-->
<java dir="${eclipse.home}"
jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar"
fork="true" failonerror="true" maxmemory="768m">
<jvmarg line="-XX:MaxPermSize=256m"/>
<arg line="-data ${workspace.dir}"/>
<arg line="-application com.bea.alsb.core.ConfigExport"/>
<arg line="-configProject ${config.project}"/>
<arg line="-configJar ${config.jar}"/>
<arg line="-configSubProjects ${config.subprojects}"/>
<arg line="-exportLevel true"/>
<arg line="-includeDependencies ${config.includeDependencies}"/>
<sysproperty key="weblogic.home" value="${weblogic.home}"/>
<sysproperty key="osb.home" value="${osb.home}"/>
<sysproperty key="osgi.bundlefile.limit" value="500"/>
<sysproperty key="harvester.home" value="${osb.home}/harvester"/>
<sysproperty key="osgi.nl" value="en_US"/>
<sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
</java>
</target>yes, I specified the project name to export the whole project.
Here is few lines from my properties file
# properties for workspace export
config.project="OSB Configuration-GW"
config.jar=D:/workspace/osb/scripts/gateway/mycode2/ant_osb/dist/sbconfig.jar
config.subprojects="GatewaySecurity"
config.includeDependencies=true
workspace.dir=D:/workspace/osb/gateway-workspace
But this property does not make it to export at project level ,it export the specified project at resource level.
And while importing this jar to OSB server, if a file is missing it skips the file instead of deleting the file from the OSB server
If I unjar sbconfig.jar file, open ExportInfo file and update the line in bold below to true then it deletes the file from OSB server, if not exist in sbconfig.jar
<imp:property name="exporttime" value="Thu Dec 29 13:57:44 EST 2011"/>
<imp:property name="productname" value="Oracle Service Bus"/>
<imp:property name="productversion" value="11.1.1.4"/>
*<imp:property name="projectLevelExport" value="false"/>*
Here is few lines from Oracle API java doc
http://docs.oracle.com/cd/E13171_01/alsb/docs26/javadoc/com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html
public static final ALSBImportOperation.Operation Delete
Indicates that the resource is deleted in the importing domain. This is the default operation when the project is exported in its entirety and the resource exists in the target domain but not in the jar file
public static final ALSBImportOperation.Operation Skip
Indicates that the resource is skipped meaning the resource is not touched in the importing domain. This is the default operation if the jar file was exported at the resource level, and a resource that exists in the target domain, does not exist in the jar file. -
BEx Error: Automation error: Object invoked has disconnected from clients
Hi,
We have a user here that attempts to access a query in BEx (MS Excel), but receives this error message:
- Runtime error '-2147417848 (80010108)':
Automation error
The object invoked has disconnected from its clients.
Any ideas.
Thanks,
JohnPlease go through the OSS note 857360..
https://websmp108.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=857360&_NLANG=E
This talks about your error..
Solution
1) Replace the RFC library
librfc32.dll
on the client PC with a current version.
620: Version >= 6206.6.1938.4727 (620x.x.x.4727).
640: Version >= 6400.3.79.4740 (640x.x.x.4740).
There is a version of the 620 and 640 librfc32.dll in the attachments: and we recommend that you use Version 640 (compatible with SAPGUI 620) (see below).
620 Version: Download librfc32.rar. Rename it librfc32.exe. This file extracts itself automatically.
640 Version: Download librfc32.zip. You can use WinZip to extract this file.
Note:
It seems that newer (delivered) versions of 6.20 librfc32.dll do not contain this fix. In this case, you can also use the 6.40 librfc32.dll. For reasons of compatibility, you should use the following Microsoft DLLs that are available on the PC for this: msvcr71.dll and to be msvcp71.dll (see Note 684106). -
Error invoking external WS from pl/sql ( 11i10 Appls DB)
I stuck when I'm trying to call a WebService from pl/sql. I get error : "...'Element' is an invalid node type. Line 6, position 7...."
what i did: Wrote a plsql, assembled envelop, body(hardcoded with xml data) etc and used utl_http functions to begin soap request. When i run this plsql, then i get above errror.
Question: Why did i get this error, especialy when I'm not using Element characters in my code ? Are there any specific java class or pl/sql pkgs that need to be installed in 11i10 DB (9.2.0.5.0) inorder for DB to be compatible in invoking a Webservice (SOAP over http)? If so,what are they and Doesn't these pkgs come when you install 11i10? Are there any preparations/setups that I need to do to DB to invoke WS from plsql?
Please guide me as this is the first time we are invoking a Webserivce from plsql
Thanks
Message was edited by:
[email protected]
Message was edited by:
[email protected]Thank you very much, Tugdual, for pointing to right documents. I have read thru them and now have an understanding what jar files need to be present.
Yes, I have looked at WS Doc but it was Version 10g (9.0.4) where there is not much info. The newer version 10g Release 3 (10.1.3) has changed a lot :)
Just to jott here : The delta files from base 11i10 to jars needed by webservice are (min) 1. soap.jar, 2. dms.jar 3. servlet.jar
4. jssl-1_1.jar [Only if we are using SSL on both endpoints)
Thanks -
Invoking ODI Scenario from BPEL
Hi,
I tried invoking a scenario from BPEL. I started the agent before invoking the scenario. However I am getting the following error in the Agent
java.lang.NullPointerException
at com.sunopsis.dwg.dbobj.SnpScen.getObjectLst(SnpScen.java)
at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
And i am getting the following error in BPEL Console
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1</summary>
</part></remoteFault>
I am not able to solve the issue. Request you all to help
Thanks and Regards.
Edited by: user10714505 on May 12, 2009 11:06 PMHi,
Thanks its working now. I am facing another issue. I do not use parameters in my Scenario. Now when i run my scenario i m getting the following error. I think its because i have not assigned anything to the Variable element. I guess its taking null value for Variable element here and cheking if such a variable exists. Have you come accross such an issue? If so, please sugest remedy.
java.lang.Exception: Specified variable not found in the Repository : null
at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:619)
Edited by: silas.john on May 13, 2009 1:29 AM -
Problem while invoking ODI Scenario from BPEL
Hi,
I am trying to invoke a scenario from BPEL process through ODIPublicWebService.
When I initiate the process, its failing with following error message....
InvokeDeptAdmin_invokeScenario_OutputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="part1">
-<ns1:invokeScenarioResponse xmlns:ns1="xmlns.oracle.com/odi/OdiInvoke/">
<ns1:Ok>false
</ns1:Ok>
<ns1:SessionNumber>23101
</ns1:SessionNumber>
<ns1:ErrorMessage>Agent didn't execute this command:
</ns1:ErrorMessage>
</ns1:invokeScenarioResponse>
</part>
</InvokeDeptAdmin_invokeScenario_OutputVariable
I observed that its failing as I am not giving any input to optional parameters like
<xsd:element name="SessionName" minOccurs="0" type="xsd:string" />
<xsd:element name="Keywords" minOccurs="0" type="xsd:string" />
<xsd:element name="Variables" maxOccurs="unbounded" minOccurs="0" type="VariableType" />
I can see following empty tags in my Audit of BPELConsole....
<SessionName/>
<Keywords/>
<Variables/>
And null is being considered as a variable by the Agent and following Exception is thrown in the Operator
java.lang.Exception: Specified variable not found in the Repository : null
at com.sunopsis.dwg.dbobj.SnpSession.a(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.y(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSessionPreTrt(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Please let me know how can I overcome this problem
Appreciate earliest response.
Thanks!!!
Message was edited by:
user644377Hi, how are you?
I did works including a parameter in my scenario and put value in this parameter on call scenario from BPEL. If i remove the parameter on the scenario and the call, its dont works.
Try include a parameter in your scenario. -
Invoking Web Service From PL SQL package
Below is the sample code to invoke web service from pl/sql package using UTL_HTTP:
Declare
http_req UTL_HTTP.req;
http_resp UTL_HTTP.resp;
Begin
http_req :=
UTL_HTTP.begin_request
'http://'
|| lv_hosturl
-- || '.net/soa-infra/services/finance_rt/Payments/paymentsprocess_client_ep',
--new url
|| '.net/soa-infra/services/finance_rt/PaymentsReq/paymentsprocess_client_ep?WSDL',
'POST',
'HTTP/1.1'
UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
-- since we are dealing with plain text in XML documents
UTL_HTTP.set_header (http_req,
'Content-Length',
LENGTH (lv_soap_request)
UTL_HTTP.set_header (http_req, 'SOAPAction', '');
-- required to specify this is a SOAP communication
UTL_HTTP.write_text (http_req, lv_soap_request);
http_resp := UTL_HTTP.get_response (http_req);
UTL_HTTP.read_text (http_resp, lv_soap_respond);
UTL_HTTP.end_response (http_resp);
resp := XMLTYPE.createxml (lv_soap_respond);
End;Hi,
there are a lot of option to make plsql web services .
First you can stay with jdev 10.1.3
Use the xmldb servlets
use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
thanks Edwin -
Invoking Web Service from JSF Managed Bean
Hi all,
I am trying to invoke a webservice from Managed Bean and getting an exception.
Server : WAS 6.1.0.2
Version :JSF 1.2
Type of WS Invocation : JAX-WS web services
IDE : RAD 7.0.0
I have set up the class path correctly and added relevant WS Client in EAR ....
Following is the exception am receiving :
[8/31/11 7:59:25:335 EDT] 0000002d WebApp E [Servlet Error]-[Faces Servlet]: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:170)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:123)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:84)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:204)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:171)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:627)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:550)
at com.sun.faces.taglib.html_basic.InputTextareaTag.doEndTag(InputTextareaTag.java:651)
at com.ibm._jsp._sample._jspx_meth_h_inputTextarea_0(_sample.java:107)
at com.ibm._jsp._sample._jspx_meth_h_form_0(_sample.java:149)
at com.ibm._jsp._sample._jspx_meth_f_view_0(_sample.java:180)
at com.ibm._jsp._sample._jspService(_sample.java:77)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:239)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1263)
at java.beans.Beans.instantiate(Beans.java:219)
at java.beans.Beans.instantiate(Beans.java:63)
at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:226)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:291)
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:81)
at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:249)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:140)
Thanks in advance ..
Steve BobNo you haven't, because
Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType a relevant class can still not be found and Java really is not going to lie to you; this class is not on your application's classpath so it is either missing or put in the wrong place. Note that missing classes can be caused by you forgetting to properly redeploying your application - its usually something silly like that. Figure out what you did wrong and correct your mistake.
The fact that you have to mention that you "setup the classpath" is questionable; in web applications you don't touch the classpath at all. So what exactly did you do?
Maybe you are looking for
-
G510 Windows 8.1 Pro X64 Conexant Audio Driver Error and Driver Update Request
When are we to expect some updates in the drivers for G510, specifically for both graphics (Intel and AMD) Also I am using G510S's Lenovo Power Management for Windows 8.1(running with no issues) as Windows 8 version was not compatible and there is no
-
Reinstalling snow leopard after mountain lion
I am selling my older imac. I have wiped the drive and I want to reinstall Snow Leopard, the operating system it came with. The machine was once upgraded to Mountain Lion. I have the original Snow Leopard disc. I can't seem to reinstall Snow Leop
-
While trying to download the latest issue of Creative Cloud Error message 82 says Adobe Application Manager has to be closed first, which I can't figure out to do. Can anyone help me with this? Thanks. Rich
-
Hi, I have a Lenovo Thinkpad Edge E530c. The problem is that when I press the full stop (.) on the numeric key pad it comes up as a comma (.). Is there a setting I need to change to get it to work as it should? Solved! Go to Solution.
-
Does anyone know how to Record-punch in? Without having hold the **** mouse and waiting for the point to come up, while trying to play an instrument?