ODI Web Service Invoke Scenario
Hi all,
I am trying to invoke a scenario from ODI Web Services, passing the following parameters:
<invokeScenarioRequest>
<invokeScenarioRequest>
<RepositoryConnection>
<OdiUser>SUPERVISOR</OdiUser>
<OdiPassword>XXXXX</OdiPassword>
</RepositoryConnection>
<Command>
<ScenName>PROCESSORDER</ScenName>
<ScenVersion>-1</ScenVersion>
<Context>Development</Context>
<LogLevel>5</LogLevel>
<SyncMode>1</SyncMode>
</Command>
<Agent>
<Host>localhost</Host>
<Port>20910</Port>
</Agent>
</invokeScenarioRequest>
</invokeScenarioRequest>
When I execute this from ODI Web Service Advanced Editor, I got the following exception. Is there anything I missed out during installation / configuration?
ServiceClass does not implement required method of the form OMElement invokeScenario(OMElement e)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1515)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
at com.sunopsis.graphical.wsclient.f.b(f.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Appreciate any input. Thanks all.
Regards,
Edison
Can you please check the request message again; <invokeScenarioRequest> is repeated.
Thanks,
Is
Similar Messages
-
Hello,
I have Tomcat 3.3.1a web container running with JSP that acts like Weblogic 7.0
SP2
webservice client. However, when I try to send data file to webservice, I get
the following
error:
web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=class javax.activation.DataHandler class context=TypedClassContext{schemaType=['http://www.ma.ee']:register}
It is SOAP With Attachments style webservice. Is it related somehow with javax.activation.Datahandler
class? Please answer urgently!
Best regards,
Ago MeisterHello,
What is the content type you are trying to send?
Also, I would encourage all urgent questions to be directed to our
outstanding support group: [email protected] http://support.bea.com
Thanks,
Bruce
Ago Meister wrote:
>
Hello,
I have Tomcat 3.3.1a web container running with JSP that acts like Weblogic 7.0
SP2
webservice client. However, when I try to send data file to webservice, I get
the following
error:
web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException:
mapping lookup failure. class=class javax.activation.DataHandler class context=TypedClassContext{schemaType=['http://www.ma.ee']:register}
It is SOAP With Attachments style webservice. Is it related somehow with javax.activation.Datahandler
class? Please answer urgently!
Best regards,
Ago Meister -
How to call an ODI web service through PL/SQL
Hi All,
Can we call an ODI web service through PL/SQL. If we can, can you please provide me info/examples/links on how to accomplish this task ?
Any information will help me and my team.
Am I required to use UTL_HTTP ?
Thanks,
Amer
Edited by: Rooney on Nov 6, 2012 9:58 AMHi,
Take a look at this :
http://www.business-intelligence-quotient.com/?p=1466 -
Error in AXIS2 when i try publish ODI web services
Hi people,
I´m configured AXIS2 into OC4J (SOA Suite 10.1.3.1) and when i try to publish ODI web services using a odi-public-ws.aar file on AXIS2, show me a "Faulty Services" message and when i click on details link show me a Java message (below):
{color:#ff0000}*This Web axisService has deployment faults*{color}
Error: java.lang.NoSuchMethodError: javax.wsdl.Operation.getExtensionAttributes()Ljava/util/Map;
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1295) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:592) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:469) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363) at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:248) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:356) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:67) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)
Wow, a lot of lines ! No problem, i can identify problem when try generate a WSDL file ... it´s correct ? (Please correct me if i have a incorrect reasoning).
Can a JDK Version too ? I´m using a JDK 1.5.0_06. According by manual instructions version of JDK can be 1.4.2 or later version....
Help me ! :-)
Thanks for your attention !!Roberto and all,
I installed Tomcat and published ODI web service and it was done sucessfully.
Why OC4J this simple activity doesn´t have any success ? I'm still curious what's difference between OC4J and Tomcat and why it does not allow this simple task when is completed in a such simple way... Oracle support analyst recommended that I use the OC4J but did not explain the reason, what are the advantages and benefits compared to Tomcat...
Sincerelly, i´m not too sure if i should go ahead with OC4J.
Thanks for your attention !
Best Regards,
João. -
About XML Parameter for Web Service invoking
I would like to use the XML parameter as the Web Service's input(Attachment is
the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
use the WebLogic Server generate test web page to test it, I got Exception. The
WebLogic Server can't constructe the input XML.
The correct XML should look like this:
<ids>
<desc>Description</desc>
<id>1</id>
<id>2</id>
<id>3</id>
</ids>
Is there any one can tell me whether this kind of XML was permitted for Web Service
invoking or not?
[sample.xsd]Hi Andy,
On the test page, before the invoke of the operation, did it say
something like:
<!-- Do not know how to create a sample instance for this part due to
the following exception:java.lang.InstantiationException:
javax.xml.soap.SOAPElement. Pls replace this with the correct XML before
invoking the service. --->
if so, the service itself may be working OK, the deficiency is that the
test page tries its best to determine sample values for the invoke,
however it does not know in this case.
Did you try with a client?
Your XML should be fine.
Regards,
Bruce
Andy wrote:
>
I would like to use the XML parameter as the Web Service's input(Attachment is
the XML schema) in WebLogic Server 8 sp1. When I generated the Web Service and
use the WebLogic Server generate test web page to test it, I got Exception. The
WebLogic Server can't constructe the input XML.
The correct XML should look like this:
<ids>
<desc>Description</desc>
<id>1</id>
<id>2</id>
<id>3</id>
</ids>
Is there any one can tell me whether this kind of XML was permitted for Web Service
invoking or not?
Name: sample.xsd
sample.xsd Type: ACT Project (text/xml)
Encoding: base64 -
Hi Experts,
If we use ODI 11g web service to invoke scenario, is there any way to get the detailed session log, like, each stepLog, start/end time, etc.?
Thanks!Hi Michelle,
This information should still be available in the ODI Console Operator log (and also the work repository schema, if you are going through the back door).
Cheers
Bos -
How to create or simulate a WEB service? Scenario RFC to WEBService.
Hello PI experts,
I'm creating an interface with this scenario: RFC->PI->WEBService, the message is synchronous. The problem is that we don't have nothing at the webservice yet, I just want to know if have a way to create or simulate a webservice to test my interface? If someone have some material or information please it will be very helpfull.
ThanksCreate two scenarios.
1) Using SOAP sender you can create a web service. So create a simple scenario using soap sender and use some receiver like jdbc or file or something for your test. Create WSDL using sender agreeement and save the wsdl.
2) create RFC to SOAP scenario. In the receiver side use the WSDL as external definition for the receiver mesg structure. Configure SOAP receiver to point the soap service created using soap sender in the step 1.
Basically you need to know SOAP sender for the step 1 and Soap receiver for the step 2 configuration and design.
Refer these links
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/ -
Web service invoking problem with websphere server
HI all,
I am getting the following exception while running the FedEx web service application in RAD.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
{http://xml.apache.org/axis/}hostname:LGSCP0359
java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at fedex.ws.rate.v4.RateServiceSoapBindingStub.getRates(RateServiceSoapBindingStub.java:1046)
at com.lgs.fedex.FedexClient.getFedexRates(FedexClient.java:173)
at com.lgs.fedex.FedexClient.getFedExCost(FedexClient.java:95)
at com.lgs.fedex.FedexClient.main(FedexClient.java:52)
Caused by: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
... 13 more
Please help me what is the problem...
Thanks in advanceHello,
Sorry... I don't have an answer to your question... :(
However, I just started trying to figure out the FedEx Web Service stuff. So far, I haven't gotten very far. I've got AXIS and some ShippingService code downloaded but can't seem to figure out how to implement or test it... or any service. Have you found or got any basic Java code that connects to the endpoint and sends a request?
Any help would be much appreciated.
thanks, brian -
Web Service - Invoke Web Service not trapping errors
Greetings All:
I am having an issue trying to trap errors coming out of the Invoke Web Service service.
I have a Fault Route set up for SYSTEM EXCEPTION, and direct it to an ExecuteScript service.
If the process I am developing fails, it appears to leave the web service "open". The next time the process is invoked, it will fail on the Web Service call.
When my process fails, this failure route is never taken.
I do not know why the initial failure does not "clean-up" after itself.
I also do not know why the Web Service call does not follow the failure route.
This is a turnkey 8.2 install on Windows Server 2003 running JBoss.
Any assistance on how to overcome these problems would be greatly appreciated.
Thank You
Mark
My process dies with the following ending up in the system log:
2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.impl.wsdl.WsdlSubmit] Exception in request: java.net.SocketException: Connection reset
2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.SoapUI] An error occured [Connection reset], see error log for details
2009-03-12 16:53:18,144 ERROR [soapui.errorlog] java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.re adLine(MultiThreadedHttpConnectionManager.java:1382)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at com.eviware.soapui.impl.wsdl.submit.transports.http.TimeablePostMethod.readResponse(Timea blePostMethod.java:56)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java :397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:17 0)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendReques t(HttpClientRequestTransport.java:142)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72)
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370)
at com.adobe.idp.dsc.webservice.WebServiceSoapUIInvoker.invoke(WebServiceSoapUIInvoker.java: 126)
at com.adobe.idp.dsc.webservice.WebServiceImpl.invoke(WebServiceImpl.java:93)
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:585)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
at sun.reflect.GeHi Mark,
Did you find out the origin of this problem? I've got a similar issue (without the stacktrace) and any help would be great!
Thanks,
Romain. -
ODI Web Service Soap Header Missing Error
I am trying to invoke oracle crm ondemand web service using ODIInvokeWebService tool by providing the below parameters
Url
Port Type
Operation
XML Request
HTTP User
HTTP Password
I am getting the below error during the execution of the step.
javax.xml.ws.soap.SOAPFaultException: Invalid Soap Request : Soap Header is missing
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
The code which is getting executed is
OdiInvokeWebService "-URL=http://slc402454.us.oracle.com:30090/Services/cte/FieldManagementService?wsdl" "-PORT_TYPE=FieldManagementService" "-OPERATION=FieldManagementRead" "-HTTP_USER=Upgrade_all/sales" "-HTTP_PASS=aYyHL7THHZYEdPNTd.1ugy"
<?xml version = '1.0' encoding = 'UTF8'?>
<WL5G3N1:FieldManagementRead_Input xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:WL5G3N1="urn:crmondemand/ws/odesabs/fieldmanagement/">
<apQuery:FieldSet xmlns:apQuery="urn:/crmondemand/xml/fieldmanagement/query">
<apQuery:ObjectName>Account</apQuery:ObjectName>
<apQuery:IncludeAll>true</apQuery:IncludeAll>
</apQuery:FieldSet>
</WL5G3N1:FieldManagementRead_Input>
With SOAPUI , I am able to get the response.After mentioning the SOAP header and response file as XML with other properties , I am able to successfully retrieve the SOAP response.
-
Urgeent: Web Service Invokation Error form BPM studi
Hi
I'm using BPM Studio 10.3.
I have a Web service and i want to call it form my process. But whenever I invoke it a problem occures.
I can invoke it from my code out of studio.
The complete exception message is:
fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'java.net.SocketException: Connection reset'.
Bye
Edited by: user1045467 on Mar 3, 2009 10:12 PMHi everybody
I found the solution.
It was all for my windows. I used windows Xp Service Pack 3.
I run my process on other computer running windows XP Service Pack 2 and everything was fine, I invoked service successfully.
The bad thing about windows was that I could invoke my service from another java code, but when invoking it from BPM suite had errors.
Bye -
Can config wallet on cloud DB for security web service invoke ?
Currently, I can invoke the security web service by APEX at my local DB env.
based the apex_web_service API
http://docs.oracle.com/cd/E37546_01/doc/doc.41/e28475/apex_web_service.htm#AEAPI537
we need wallet to store the cert files.
want to confirm that
--> Can we config wallet to import cert files on cloud DB?
Thanks
Edited by: 985754 on Feb 6, 2013 2:17 AMHello 985754,
Unfortunately, you cannot import your own certificates into the wallet used by Application Express in the Database Cloud Service. However, this wallet already contains many common CA certificates. Unless the web service you are consuming uses a self-signed certificate, chances are you will be able to use this functionality in the Cloud.
-- Vlad -
Re: Informatica Batch Web Service Invoke Workflow
Hi All, This is known issue and had been mentioned in knowledge based id 301904. Thanks.ChitWooi
Hi All, Currently I am working on invoke workflow from the Informatica Batch Web Service.May I know how to execute the operation WaitTillWorkflowComplete as I keep getting error as shown below: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>Client</faultcode> <faultstring/> <detail> <ns1:WSHFaultDetails xmlns:ns1="http://www.informatica.com/wsh"> <ErrorCode>LMWSH_95216</ErrorCode> <ExtendedDetails/> </ns1:WSHFaultDetails> </detail> </soapenv:Fault> </soapenv:Body></soapenv:Envelope> Can anyone show example on how to execute this operation?Or any link that have example on this will do. Besides that, is it possible to assign workflow variable during invoke workflow by using operation startWorkflow? Thanks. Regards,ChitWooi
-
Web service invokation problem
Hi,
I am having problem when consuming .net web service. This web
service expects xmlobject which I create using <cfxml> tag. I
have used <cfinvoke> and CreateObject without any success.
First I get following error message:
java.lang.IllegalArgumentException: argument type mismatch
After I refresh few times (15 or so) I get following error
message: java.lang.IllegalArgumentException:
java.lang.ClassCastException@1645559. I am not sure wher is the
problem.
Thanks,
MarkHere is my code;
<cfxml variable="xmlobject">
<cfoutput>
<Orders xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns="" Version="1.0"
xsi:noNamespaceSchemaLocation="Order.xsd">
<Order>
<Customer_Data>
<SkipDupCheck>N</SkipDupCheck>
<UserId>public</UserId>
<SkipAddressCheck>Y</SkipAddressCheck>
<ChainNbr />
<StoreNbr />
<SansNbr />
<CustNbr />
<BillTo>23423</BillTo>
<ShipTo>43242</ShipTo>
<MacAcct />
<ZipStateCountry />
<ShortName />
<OneTimeShipInfo>
<Name>Joe Test</Name>
<Addr1>11 Test Ave</Addr1>
<Addr2>Town Hall</Addr2>
<Addr3 />
<City>Bethlehem</City>
<State>NY</State>
<ZipPostalCode>112222323</ZipPostalCode>
<CountryCode>US</CountryCode>
</OneTimeShipInfo>
<BillToOnly>N</BillToOnly>
</Customer_Data>
<CreditCardInfo>
<CardNbr />
<ExpDate />
<AreaCode />
<PhoneNbr />
<Contact />
<Trigger />
</CreditCardInfo>
<Deliver_Option>
<ShipVia />
<FreightTrm />
<ArriveBy />
<DeliverOn />
<NotBefore />
<ShipOn />
<FreightAmt />
<HandlingFee />
</Deliver_Option>
<SpecialInstructions>
<AuthAppearance />
<SpecInstr1 />
<SpecInstr2 />
<SpecInstrComments1 />
<SpecInstrComments2 />
<SpecInstrComments3 />
</SpecialInstructions>
<ReceiptDate />
<OrderSource>DC</OrderSource>
<OrderType>NC</OrderType>
<RushCode>N</RushCode>
<MarkFor>test</MarkFor>
<CartonRound />
<BatchNbr />
<PrintOption />
<StatusOverride />
<WarehouseCode />
<Royalty />
<Facility />
<SalesHurt />
<BarCodeNumber />
<AddSource />
<Voucher />
<TaxClassOver />
<InvoiceRoute />
<BOShipDate />
<NotToExceed />
<PrintBindOrderNumber />
<ShipWOFlag />
<WorkOrderNumber />
<CancelDate />
<CancelDays />
<AdditionalDiscount />
<Promotion />
<CustomerPurchaseOrder>312321</CustomerPurchaseOrder>
<OvrdDisc />
<DatingCode />
<OvrNetPrice />
<AccountDiscountClassOvrd />
<BOPref />
<NYPPref />
<BSBPref />
<InvoiceCombinationPref />
<LineItems>
<LineItem>
<ItemNumber>1</ItemNumber>
<Qty>1</Qty>
<AltTitleCode />
<ISBN>1234567890</ISBN>
<PromoKey />
<NetPrice />
<Discount />
<FreightTerms />
<TitleStatusOvrd>AS</TitleStatusOvrd>
<SubstituteOvrd />
<TransportOvrd />
<BackOrderCanOvrd />
</LineItem>
</LineItems>
</Order>
</Orders>
</cfoutput>
</cfxml>
<cfset ws_obj = CreateObject("webservice", "
http://host/webservices/orderentry/orderentry.asmx?WSDL")>
<cfdump var="#ws_obj#">
<cfset ws_ret_ = ws_obj.placeOrder(#xmlobject#)> -
ODI Web Service is Synchronous or Asynchronous??
Hi,
I have a question about odi.When a websevice calls odi scenario(through agent) the the session id returned to the webservice immediately.Is this calling process synchronous/asynchronous?Actually i want to say, the webservice get the session id at the invokation time(when scenario start executing) or at the time when scenario execution completed?
Please Ans
Thanks
PapaiIf you go for Asynchronous, you can use getSessionStatus. Parameters are ODI user, password, work repository name and session id(s) (you can retrieve the status for multiple session at one time I think).
Hope it helps,
JeromeFrHi Jerome,
The request payload is like this:-
<OdiStartScenRequest>
<Credentials>
<OdiUser>odi_user</OdiUser>
<OdiPassword>odi_password</OdiPassword>
<WorkRepository>work_repository</WorkRepository>
</Credentials>
<Request>
<ScenarioName>scenario_name</ScenarioName>
<ScenarioVersion>scenario_version</ScenarioVersion>
<Context>context</Context>
<LogLevel>log_level</LogLevel>
*<Synchronous>synchronous</Synchronous>*
<SessionName>session_name</SessionName>
<Keywords>session_name</Keywords>
<Variables>
<Name>variable_name</name>
<Value>variable_value</Value>
</Variables>
</Request>
</OdiStartScenRequest>
Now my question is for *<Synchronous>synchronous</Synchronous>* element what I have to write:-
<Synchronous>synchronous</Synchronous>
or
<Synchronous>Synchronous=1</Synchronous>
or
<Synchronous>1</Synchronous>
Maybe you are looking for
-
How can i login in to the designer on oracle 9i?
i have just installed the developer suits... but ,when i want to use the designer tools... they need to enter the username, passwords,and the string.. what i have got so far is usename:scott passwords:tiger string: blank but i can't login in ......it
-
How to Pass the data from the class to the BSP application(ie. .html page)
hi i had created one .html page. This page is getting opened after clicking on one of the buttton of the toolbar(say Bank Data). Now the problem is , to show the data of the bank which user had entered in the PCUI application on the .html page. Pleas
-
Battery life with mountain lion 10 8 1.. Still awful
After my update from version 10.8 to 10.8.1 , batter life has NOT improved as many have speculated. I ran the following two tests on a MBP ( mid 2009) 10.8 1 after installing.... -Time to discharge from 100% to 50% remaing - 1h 54 m. -Time to re-char
-
where can i download tg4msql ?
-
Greetings! I'm new to Application Express, and can't find the place where I change the title of a page (or is it part of a tab?). I can change the tab title, but can't seem to find where to change the title that seems to accompany it at the left of t