Invoking an ALSB Service

Hi all !
I'm new to BPM Studio but I have read that you can easily invoke your ALSB Service with BPM Studio 6.0.
So I have added in the Catalog a Module which maps my ALSB Service. So far, so good. But how can I invoke my Service from inside an Activity ?
I have seen the Getting started's guide and I couldn't find any information about it.....Is there any good chapter/tutorial which explains how to invoke Modules from inside activities ?
Thanks a lot
Francesco

Hi Francesco.
If you have already mapped the external resources and have catalogued the components needed then you've done the biggest part of the work! :-)
You must call the method that you want to use into an activity simply declarig a variable (local or instance depending on your needs) that impersonate your service.
Initialize it calling its constructor.
eg.
Supposing to have a method returning something, accepting something and something else...
myAlsbSvc As MyCatalog.MyALSBServices.MyService
myAlsbSvc = MyService()
retValue = myAlsbSvc.myMethod(arg1, arg2)That's all. Hope that this will help.
Giuliano

Similar Messages

  • How to invoke a proxy service from a java client

    Hi all,
    how could I invoke a proxy service from a java client ?
    The proxy service type is 'any xml service' with http protocol.
    For a proxy with web service type I can export the related WSDL and generate the java client source.
    With 'any xml service' there is no associated wsdl and I'm wondering how to do that.
    Thanks
    ferp

    Hi Ferp,
    I used ClientGEN to generate client files from WSDL deployed in ALSB. You can also use Axis for client file generation.
    You need to know the WSDL URL. Generate Client files from WSDL URL.
    Sample ANT Script
    <project name="simple-web" default="mytask" basedir=".">
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" classpath="C:\bea92\weblogic92\server\lib\weblogic.jar"/>
    <target name="mytask" description="Generate web service client">
              <clientgen wsdl="http://<hostname>:<port>/URL?WSDL"
         destDir="src"
         packageName="com.client.mytask"
         classpath="${java.class.path}" />
         </target>
    </project>
    Use the following JAVA Code,
    try {
         ActivationService service = new ActivationService_Impl("http://<hostname>:<port>/url?WSDL");
    client = service.getActivationServicePort();
    } catch (Exception ex) {
    // Handle Exception
    client.activateNumber();
    Let me know if you need any more information.
    Thanks,
    Suman.

  • Append data to a existing file thru ALSB Service

    Hi,
    I want to write/append message data to a file before and after I invoke a Business Service.
    I have created a Business Service with Service Type as Messaging Service and the protocol as FILE. I notice that everytime I call the Business Services a new text file is created. Is there a way I can append messages to the same file.
    The workaround I thought of is to write a Java Class to write/append data to a file and invoke this as a Java Callout. Is this a feasible/good solution.
    If anybody has any ideas of implementing this, please help.
    Thank you.

    This feature is not supported by ALSB
    You are correct, your best bet is to write some code in a Java callout to implement your expected behavior.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]

  • BEA-382500: ALSB Service Callout action received SOAP Fault response

    Hi Friends...
    <BR>
    <BR>
    <BR>
    During the implementation of TUTORIAL: 2 Loan Example of AquaLogic Service Bus 2.1,
    I am getting fault response when testing the Proxy Service. Please help me in the following....
    <BR>
    <BR>
    <BR>
    <b>BEA-382500: ALSB Service Callout action received SOAP Fault response</b>
    <BR>
    <BR>
    <BR>
    <b>error: failed to load java type corresponding to t=LoanStruct@java:normal.client</b>
    <BR>
    at
    <BR>
    <BR>
    <BR>
    <BR>
    com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
    at com.bea.staxb.runtime.internal.MarshalStreamUtils.addError(MarshalStreamUtils.java:274)
    at com.bea.staxb.runtime.internal.MarshalStreamUtils.addError(MarshalStreamUtils.java:249)
    at com.bea.staxb.runtime.internal.UnmarshalResult.addError(UnmarshalResult.java:140)
    at com.bea.staxb.runtime.internal.UnmarshalResult.addError(UnmarshalResult.java:124)
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:327)
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoTypeFromXsiType(UnmarshalResult.java:310)
    at com.bea.staxb.runtime.internal.RuntimeBindingType.determineActualRuntimeType(RuntimeBindingType.java:256)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:210)
    at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
    at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
    at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
    at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
    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:3214)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    <BR>
    Message was edited by:
    alwaysvaghu
    Message was edited by:
    alwaysvaghu

    I've been getting this problem as well. However, the thing that confuses me is that if I use the command-line client (as described in the tutorial), everything seems to work fine. However, if I use the test console, it fails to work (giving the fault described in an ancestor of this post).
    I've tried added a 'Rename' operation, but I just get the java1 namespace as well.
    If the problem was just the namespace issue as stated, wouldn't the command-line client have a similar problem?

  • BEA-382501: ALSB Service Callout action received an unrecognized response

    I have a proxy service A, in the response pipeline it has a stage that makes a service callout to another proxy B.
    The proxy B also has a pipeline pair. If the response pipeline is empty (no actions) then I get the following error when I invoke proxy A:
    BEA-382501: ALSB Service Callout action received an unrecognized response
    If I add any action to proxy B's response pipeline (eg. log, report) everything works fine.
    Any ideas to explain this?

    Hi dear,
    I think Response of Proxy Service A is not matching with the Response of Proxy Service B. if u will leave empty Response of Proxy Service B then it will not match with the response of Proxy A.

  • Problem invoking a web service from soa11g BPEL.

    Hi ,
    I am trying to invoke a web service from soa bpel 11g composite.
    We have the wsdl, wsdl URL of the web service along with the user name , password credentials.
    Initially w/o any WS policy attached and testing the composite, it fails with the below message
    *<fault>*
    *<bpelFault>*
    *<faultType>0</faultType>*
    *<remoteFault>*
    *<part name="summary">*
    *<summary>An Authentication object was not found in the SecurityContext</summary>*
    *</part>*
    *<part name="detail">*
    *<detail>javax.xml.ws.soap.SOAPFaultException: An Authentication object was not found in the SecurityContext</detail>*
    *</part>*
    *<part name="code">*
    *<code>soap:Server</code>*
    *</part>*
    *</remoteFault>*
    *</bpelFault>*
    *</fault>*
    *<faultType>*
    *<message>0</message>*
    *</faultType>*
    *</messages>*
    So I have gone back to the composite and added the WS policy (oracle/wss_username_token_client_policy) by Right clicking on web service -> Configure WS Policy -> Security -> oracle/wss_username_token_client_policy -> OK.
    After this I have added the following binding properties 'oracle.webservices.auth.username' , 'oracle.webservices.auth.password' with the respective values and deployed it again.
    Even then I face the same issue. I have looked into the EM console and found the HTTP username and password properties were blank for this Web service even though the WS policy was attached.
    Later I have tried editing the username pwd from the EM console, only to find out that the composite was now failing in the previous step (an ordinary db adapter with a select statement) even before it reaches the web service invocation.
    If I redeploy the composite, the http username and pwd properties in the EM console are erased and when i test it, it errors out at the web service invocation with the same issue again.
    Any pointers on how to solve this issue ??
    How can I figure out what is the security policy the web service is using ??
    Regards,
    Shiva Kiran

    Hi,
    Can anyone help me with this ??
    I guess I am not able to send the authorization credentials via the request to the web service invocation.
    Plz help ! This is a bit urgent..
    Regards,
    Shiva Kiran

  • Invoking an ESB service from a PL/SQL procedure (URGENT)

    I used this utl_http example:
    DECLARE
    req Xxm_Web_Service_Client_Pkg.request;
    res Xxm_Web_Service_Client_Pkg.response;
    l_return_status VARCHAR2(2);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    BEGIN
    req := Xxm_Web_Service_Client_Pkg.new_request('alta','xmlns="http://cliente.services.provisioning.vision.com"');
    Xxm_Web_Service_Client_Pkg.add_TagGroup(req,'altaClienteParameters');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'apellido','xsd:string','deHaro');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'email','xsd:string','[email protected]');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'nombre','xsd:string','emilio');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'password','xsd:string','a');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'passwordInstalador','xsd:string','a');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'tipoCliente','xsd:string','1');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'username','xsd:string','1');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'versionContrato','xsd:string','1');
    Xxm_Web_Service_Client_Pkg.add_TagGroup(req,'commonParameters');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'idAdmin','xsd:long','1');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'idCaller','xsd:long','9');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'idCliente','xsd:long','1000000');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'idEmpresa','xsd:long','1000');
    Xxm_Web_Service_Client_Pkg.add_parameter(req,'idEntradaCaller','xsd:long','1');
    Xxm_Web_Service_Client_Pkg.close_TagGroup(req,'commonParameters');
    Xxm_Web_Service_Client_Pkg.close_TagGroup(req,'altaClienteParameters');
    res := Xxm_Web_Service_Client_Pkg.invoke(p_init_msg_list => FND_API.G_TRUE,
    p_url => 'http://198.137.253.178:7777/event/DefaultSystem/clienteService_RS',
    p_action => 'alta',
    x_return_status => l_return_Status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_req => req);
    IF (l_return_Status != FND_API.G_RET_STS_SUCCESS) THEN
    dbms_output.put_line(XXM_Util_Pkg.Get_Msg(l_msg_count));
    END IF;
    END;
    The process deployed is an ESB service .However on execution of the above code I get the following message as the response from the server. Also there is no new instance of the ESB services created (to show that the service was triggered)
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/>
    <env:Body>
    <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor></faultactor>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I found the following messages in esb-rt J2EE Application log
    Cluster Topology > Application Server: soasuite.esbprov > Log Files > Search Logs >
    OWS-04052 Unable to determine operation id from SOAP Message
    OWS-04005 An error ocurred for port: EventProvider: javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
    The soap message that I am using in the code (as input to the process) is
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <soap:Body>
    <alta xmlns="http://cliente.services.provisioning.vision.com/"
    soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <altaClienteParameters>
    <apellido>xxxxx</apellido>
    <email>[email protected]</email>
    <nombre>emilio</nombre>
    <password>a</password>
    <passwordInstalador>a</passwordInstalador>
    <tipoCliente>1</tipoCliente>
    <username>1</username>
    <versionContrato>1</versionContrato>
    <commonParameters>
    <idAdmin>1</idAdmin>
    <idCaller>9</idCaller>
    <idCliente>1000000</idCliente>
    <idEmpresa>1000</idEmpresa>
    <idEntradaCaller>1</idEntradaCaller>
    </commonParameters>
    </altaClienteParameters>
    </alta>
    </soap:Body>
    </soap:Envelope>
    Another SOAP message when used directly to initiate the ESB services (by pasting this SOAP on Test WebService option) worked fined
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://cliente.services.provisioning.cablevision.com/">
    <ns1:alta>
    <altaClienteParameters>
    <apellido>A</apellido>
    <commonParameters>
    <idAdmin>10</idAdmin>
    <idCaller>10</idCaller>
    <idCliente>10</idCliente>
    <idEmpresa>1</idEmpresa>
    <idEntradaCaller>10</idEntradaCaller>
    </commonParameters>
    <email>[email protected]</email>
    <nombre>AAAA</nombre>
    <password>sssss</password>
    <passwordInstalador>sssss</passwordInstalador>
    <tipoCliente>1</tipoCliente>
    <username>cccccc</username>
    <versionContrato>1</versionContrato>
    </altaClienteParameters>
    </ns1:alta>
    </soap:Body>
    </soap:Envelope>
    Thanks in advance.

    I change p_action value ( before p_action => 'alta' ) now ( p_action => '"alta"' )
    res := Xxm_Web_Service_Client_Pkg.invoke(p_init_msg_list => FND_API.G_TRUE,
    p_url => 'http://198.137.253.178:7777/event/DefaultSystem/clienteService_RS',
    p_action => '"alta"',
    x_return_status => l_return_Status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_req => req)
    And the invokation an ESB service from a PLSQL procedure began to work fine !!!
    Thanks for all answers
    Thans Peter !!!
    Claudio

  • Error in invoking task query service-after customising Worklist application

    hi' I am getting error after trying to customize the Worklist application.
    IWorkflowServiceClient wfSvcClient =WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT);
    IWorkflowContext wfCtx = wfSvcClient.getTaskQueryService().authenticate(userid, password, realm_name, null);
    In the above code 2nd line gives error:
    log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    log4j:WARN Please initialize the log4j system properly.
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
    <::>      at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 11 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
         at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
         at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 6 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30028
    <::>
    <::> Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
    <::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
    <::>      at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:39)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
    <::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
    <::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
    <::>      ... 6 more
    <2009-11-16 11:36:55,598> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.common.util.AbstractJaxbUtil.getAbsoluteSchemaLocation(AbstractJaxbUtil.java:320)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.createUnmarshaller(AbstractJaxbUtil.java:295)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:145)
         at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:127)
         at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
         at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.<clinit>(VerificationService.java:151)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.<clinit>(AbstractDOMTaskQueryServiceClient.java:73)
         at oracle.bpel.services.workflow.client.SOAPWorkflowServiceClient.getTaskQueryService(SOAPWorkflowServiceClient.java:73)
         at test.GetWorkList.getWorklist(GetWorkList.java:39)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> WorkflowService:: VerificationService.VerificationService: Session Timeout set to default due to error: Invalid configuration file wf_config.xml
    <::> The configuration file wf_config.xml not be read.
    <::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
    ITaskQueryService
    <::> ORABPEL-30509
    <::>
    <::> Error in invoking task query service.
    <::> A client side error occured in invoking the task query service.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:176)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:43)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    <::>      at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
    <::>      ... 4 more
    <2009-11-16 11:36:55,661> <ERROR> <oracle.bpel.services.workflow> <::> Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)
    <::> ORABPEL-30509
    <::>
    <::> Error in invoking task query service.
    <::> A client side error occured in invoking the task query service.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:176)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
    <::>      at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
    <::>      at test.GetWorkList.getWorklist(GetWorkList.java:43)
    <::>      at test.GetWorkList.main(GetWorkList.java:111)
    <::> Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    <::>      at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
    <::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
    <::>      ... 4 more
    <2009-11-16 11:36:55,661> <ERROR> <oracle.bpel.services.workflow> <::> Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)
    Error in invoking task query service.
    A client side error occured in invoking the task query service.
    Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis.soap.MessageFactoryImpl not found
         at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:119)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:103)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:193)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:90)
         at test.GetWorkList.getWorklist(GetWorkList.java:43)
         at test.GetWorkList.main(GetWorkList.java:111)after taskquery
    Edited by: Yatan on Nov 16, 2009 12:22 PM

    I am not getting where to keep this .xml file so it is able to read this.
    please advice.
    thanks
    Yatan

  • Extra Tag Getting Added while invoking a Web service

    Hi all,
    We are facing an issue while trying to invoke a web service. We are assigning values to invoke input variable of the invoke. The issue is that while invoking an Extra element named “input” is getting added.
    For Eg: The required one is
    <messages>
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    </messages>
    But what is getting passed is :
    <messages>
    *<input>*
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    *</input>*
    </messages>
    Due to this, the invoke is failing and we are not able to proceed. The error which we are getting is "*exception on JaxRpc invoke: unexpected null*"
    If any has faced similar issues, please share your experience.
    PS: The same wsdl is working in other environments. only thing we changed is the Endpoint URI and that endpoint URI is also accessible.
    Thanks
    Mohan

    can u re import the wsdl into the process and then change the endpoint uri... undeploy the previous process.. bounce the server and then deploy the new process and try

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • Web Service Proxy client to invoke a Web service on SSL (Jdev 10.1.3.1)

    Hi,
    I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
    1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
    2) Made a test with a browser, it worked OK
    3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
    --- Now make it work on SSL----
    4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
    5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
    6) Test web service from browser on https and worked OK.
    7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
    Questions----
    1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
    2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
    Thanks in advance
    J.

    Hi,
    Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
    Thanks a lot in advance
    Nilesh

  • Invoking a web service from jcd

    hi all,
    Is there any built-in class in CAPS5.1 for invoking a web servervice from jcd directly. Or is there any some other automation/mechanism to achieve the same, plz provide me any sample code avilable for the same.its very urgent for me.
    Thanks

    Hello rss,
    If you want to invoke a web service from a JCD you will have to build the SOAP message using JAX-RPC or AXIS and then programmatically creat an HTTP connection.
    Or you can leverage the HTTP(S) eWay and then you only have to build the SOAP message.
    Or use eInsight. You can import a WSDL into eInsight and eInsight will offer you a business process Activity to invoke the web service operations defined in the WSDL.

  • Invoking a web service from dynamic client in weblogic 7

    Is it possible to invoke a webservice from dynamic client in weblogic 7. Because i tried and it doesn't work. But it works with WL 8.1
    I don't see any samples on the net for weblogic 7.

    Hello rss,
    If you want to invoke a web service from a JCD you will have to build the SOAP message using JAX-RPC or AXIS and then programmatically creat an HTTP connection.
    Or you can leverage the HTTP(S) eWay and then you only have to build the SOAP message.
    Or use eInsight. You can import a WSDL into eInsight and eInsight will offer you a business process Activity to invoke the web service operations defined in the WSDL.

  • Issues in invoking a web service from a JAVA/BPEL client...

    We are trying to invoke a web service from a JAVA/BPEL client using org.apache.soap classes. But everytime we are running into issues of IllegalAccessError or InvalidClassError or IncompatibleClassError based on different jars we are trying to include in our project. Attached is a simple BPEL project which tries to invoke a web service through JAVA embedding (no supporting jars need to be included explicitly). It erros with following trace:
    Class org/apache/soap/Envelope violates loader constraints
         Invalid class: org.apache.soap.Envelope
         Loader: soap:10.1.3
         Code-Source: /slot/ems1508/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar
         Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /slot/ems1508/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar
         Dependent class: org.apache.soap.rpc.RPCMessage
         Loader: soap:10.1.3
         Code-Source: /slot/ems1508/oracle/product/10.1.3.1/OracleAS_1/webservices/lib/soap.jar
         Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /slot/ems1508/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar
    Could you please help us out or provide any pointers. Any help would be highly appreciated

    Because you weren't told what to get, perhaps you already have it eh?
    What you want to read up about is JAX-WS, which is the webservice API bundled by default with your JDK (Java 6 and up). You'll find the wsimport tool in the bin directory of your JDK. I recommend you explore that directory and read up about all the executables you can find there, to be more prepared in the future. Know the tools you work with and all that. Most tools have a manual on this website:
    http://www.oracle.com/technetwork/java/javase/tech/index.html
    (under tools and utilities). Not wsimport, that is part of the jax-ws documentation. Better you look for jax-ws tutorials using Google, it will be quicker.

  • 10g: Invoking a web service asynchronously from BPEL

    Hello,
    I am trying to figure out a good, generic method for making a previously synchronous web service asynchronous and changing the way in which it is invoked from BPEL. I am using SOA Suite 10g (10.1.3.5)
    As I understand, one possible method to achieve this is to use IDeliveryService.post() to deliver the web service's response to the BPEL process. For this route, the standard practice of correlation seems to be to supply a correlation Id when invoking the web service and returning the same correlation id as a part of the web service's response message. However, I want to avoid this since it would mean that all response messages from the web service (10+) would have to be modified to include a correlationId, which is problematic in the special case of this web service. Including a correlationId in the request message is possible, however.
    I have tried the approach of using the conversation Id directly instead of the correlation Id, by reading the value of ora:getConversationId(), passing this to the web service and setting the property CONVERSATION_ID of the response NormalizedMessage to the same value when returning. However, I cannot seem to get this approach right. Is this possible at all?
    An alternative might be to use WS-Addressing, but I do not know if I can make the web service support this - it is written using the EJB WebService-Annotations feature and runs on OC4J as well.
    Do you have any suggestions on how this problem could be resolved?
    Edited by: 901765 on 12.12.2011 06:01

    I have found the following tutorial that implements something similiar to what I am trying to do: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/10g/10135/odiscenario_bpelcallback/odiscenario_bpelcallback.htm#t3
    Because of this, I am now confident that the conversation IDs can be used to achieve correlation. I have implemented the pattern by performing
    an invoke activity on the web service, passing the result of ora:getConversationId() as part of the message. The conversation Id returned is of UUID-Form.
    After the invoke activity, I have added a pick activity to receive the response message supplied by the web service through IDeliveryService.post(...). I can see that the message is received correctly by loooking at the contents of DLV_MESSAGE. However, the pick activity times out every time (after 10m). Looking at DLV_SUBSCRIPTION reveals that the conversation_id for the pick/receive activity is set to a value of the form bpel://localhost/default/MyBpelProcessName~1.0/7610001-BpInv0-BpSeq2.7-2. As far as I know, this should instead be set to the UUID that ora:getConversationId() returned before performing the invoke activity. What is going wrong here?
    Thanks for your help!

Maybe you are looking for

  • How can I see my Mac in another Mac?

    How can I see my Mac in another Mac? I mean, I have a Mac in the office and a Mac at home. Is it possible not to carry mine, just to connect it to the office's one? Thank you very much

  • Upgraded from iPhone 4 to iPhone 5, but my iTunes is too old to backup the new phone.

    I have a Dual 2 GHz PowerPC G5 running Mac OS X 10.5.8.  Prior to purchasing my iPhone 5, I backed everything up to iTunes 10.6.3, which is the latest version my Mac will allow me to install.  I traded in my old iPhone 4 and was excited to get home w

  • Switching off DEBUG messages in the admin console

    Hi I have the problem that I see a lot of debug information on the log when starting the admin console and navigation through the pages. It makes the admin console VERY slow. This must be some sort of low level debug stuff which I'm not able to witch

  • Clips from FCP are not appearing in MOTION!!!

    Sorry to bother but I'm doing the tutorial... and I'm following every step and what I'm trying to do is open up my timeline into Motion. These are the steps: Highlight the clips from my timeline go to FILE, SEND TO "Motion" Project A SAVE dialog box

  • Batch Jobs fail because User ID is either Locked or deleted from SAP System

    Business Users releases batch jobs under their user id. And when these User Ids are deleted or locked by system administrator, these batch jobs fail, due to either user being locked or deleted from the system. Is there any way that these batch jobs c