1)I created and deployed decision service in contortion server from rule test and created wsdl file .Now i am able to access this wsdl in server.
Now i am try to access that wsdl file from java and call a particular operation in wsdl namely execute.
Now i am struct with how to pass parameter in the execute method.
I think need to pass xml file in that parameter.
Kindly give detailed steps to address this issue.
Note:-And it is working fine in Soap-UI
Thanks in advance,
Saravanan P
1)I created and deployed decision service in contortion server from rule test and created wsdl file .Now i am able to access this wsdl in server.
Now i am try to access that wsdl file from java and call a particular operation in wsdl namely execute.
Now i am struct with how to pass parameter in the execute method.
I think need to pass xml file in that parameter.
Kindly give detailed steps to address this issue.
Note:-And it is working fine in Soap-UI
Thanks in advance,
Saravanan P
Flag this post as spam/abuse.
1)I created and deployed decision service in contortion server from rule test and created wsdl file .Now i am able to access this wsdl in server.
Now i am try to access that wsdl file from java and call a particular operation in wsdl namely execute.
Now i am struct with how to pass parameter in the execute method.
I think need to pass xml file in that parameter.
Kindly give detailed steps to address this issue.
Note:-And it is working fine in Soap-UI
Thanks in advance,
Saravanan P
Flag this post as spam/abuse.
Hi James,
I am getting below type of error when i pass string value as parameter in excecute()
Error Details,
Exception in thread "main" com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: java.rmi.RemoteException: Unexpected Error; nested exception is:
com.corticon.service.ccserver.exception.CcServerInvalidArgumentException: CcServer.execute(Document) Invalid Root Element Name....expected 'CorticonRequest' but received execute
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.corticon.eclipse.server.core.impl.CcServerImpl@796e1c Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy32.execute(Unknown Source)
at Run.main(Run.java:55)
My Request xml is been like below
<?xml version="1.0"?>
<CorticonRequest xmlns="urn:Corticon" xmlns:xsi="www.w3.org/.../XMLSchema-instance" decisionServiceName="Sample">
<WorkDocuments>
<Applicant id="Order_id_1">
<Blind>true</Blind>
</Applicant>
</WorkDocuments>
</CorticonRequest>
Thanks in advance
Saravanan P.
Hi James,
I am getting below type of error when i pass string value as parameter in excecute()
Error Details,
Exception in thread "main" com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: java.rmi.RemoteException: Unexpected Error; nested exception is:
com.corticon.service.ccserver.exception.CcServerInvalidArgumentException: CcServer.execute(Document) Invalid Root Element Name....expected 'CorticonRequest' but received execute
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.corticon.eclipse.server.core.impl.CcServerImpl@796e1c Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy32.execute(Unknown Source)
at Run.main(Run.java:55)
My Request xml is been like below
<?xml version="1.0"?>
<CorticonRequest xmlns="urn:Corticon" xmlns:xsi="www.w3.org/.../XMLSchema-instance" decisionServiceName="Sample">
<WorkDocuments>
<Applicant id="Order_id_1">
<Blind>true</Blind>
</Applicant>
</WorkDocuments>
</CorticonRequest>
Thanks in advance
Saravanan P.
Flag this post as spam/abuse.
Given 130 and provided the Decision service name. After that we are getting below error. It is working fine in SOAPUI tool.
Calculator
com.corticon.service.ccserver.exception.CcServerDecisionServiceNotRegisteredExce
ption: CcServer.lookupCcServerPoolHighestVersionNumber() Decision Service: Calcu
lator is not registered. Update failed.
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.cortic
on.eclipse.server.core.impl.CcServerImpl@1543c88
at com.corticon.eclipse.server.core.impl.CcServerImpl.lookupCcServerPool
HighestVersionActiveNonTestingDecisionServiceNumber(CcServerImpl.java:3919)
at com.corticon.eclipse.server.core.impl.CcServerImpl.clearExecutionCoun
ts(CcServerImpl.java:6603)
at com.corticon.eclipse.server.core.CcServerApiTest.clearExecutionCounts
(CcServerApiTest.java:3110)
at com.corticon.eclipse.server.core.CcServerApiTest.executeTransaction(C
cServerApiTest.java:564)
at com.corticon.eclipse.server.core.CcServerApiTest.beginProcess(CcServe
rApiTest.java:419)
at com.corticon.eclipse.server.core.CcServerApiTest.main(CcServerApiTest
.java:4192)
Transaction completed.
What does option 120 : Get Decision service Names return ? Is Calculator Decision Service returned
Hi,
I am getting the below error. in console if i provide decision service name after providing 120
com.corticon.service.ccserver.exception.CcServerDecisionServiceNotRegisteredExce
ption: CcServer.lookupCcServerPoolHighestVersionNumber() Decision Service: Calcu
lator is not registered. Update failed.
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.cortic
on.eclipse.server.core.impl.CcServerImpl@1479feb
at com.corticon.eclipse.server.core.impl.CcServerImpl.lookupCcServerPool
HighestVersionActiveNonTestingDecisionServiceNumber(CcServerImpl.java:3919)
at com.corticon.eclipse.server.core.impl.CcServerImpl.getIntervalExecuti
onCounts(CcServerImpl.java:6242)
at com.corticon.eclipse.server.core.CcServerApiTest.getIntervalExecution
Counts(CcServerApiTest.java:2889)
at com.corticon.eclipse.server.core.CcServerApiTest.executeTransaction(C
cServerApiTest.java:546)
at com.corticon.eclipse.server.core.CcServerApiTest.beginProcess(CcServe
rApiTest.java:419)
at com.corticon.eclipse.server.core.CcServerApiTest.main(CcServerApiTest
.java:4192)
Thanks in advance.
What is returned when you use use menu item 120 ?
It should return a list of decision services deployed on the server.
If this returns an empty list or [ ] , it means no decision service is deployed on the Server.
But i am able to run in SOAPUI and i got the result as well. Works fine
Thank you.
Hi,
provide me any details or doc to call the corticon decision service from java. After deploying decision service, it is working from SOAP UI but if i am executing using the execute method by passing the xml as input am getting the error which is mentioned in this thread at starting.
Do we have any small procedure to invoke the corticon service from a jsp button trigger.
Thanks in advance.....
Regards,
Brahmaiah B.