How to invoke EJB with BPEL?

How to invoke EJB with BPEL?
I know there are two ways: WSIF and SOAP.
But I don't how to do step by step. Please help me.
Thanks
Melody

And I used the method said by soaUser to generate the WSIF binding WSDL file for a Java class.
Then I put this WSDL file into a BPEL project directory and create a partner link with this.
But after I invoke this BPEL, a error happen:
Error while determining signature of method sayHello : The meta information is not consistent.; nested exception is:
     org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate class 'javaws.SayHelloElement'; nested exception is:
     java.lang.ClassNotFoundException: javaws.SayHelloElement
Even after I put the Java class into the %SOA_HOME%\bpel\system\classes directory, this error still happen.
How to resolve?
Thanks,
Melody

Similar Messages

  • How to invoke JSF With Standard Urls and parameters

    Hi,
    Could some one please help me how to invoke JSF with standard Urls and parameters?
    My requirement is:
    http://localhost:8080/myapp/faces/jsf_page.jsp?trackerID=11&viewPage="products"
    then i want to save the tracker details into database and redirect the user to "products" page.
    Would some one suggest me where can i get some example?

    Hi BalusC,
    It didn't solve my proble.....Your solutions are fantastic for most of the issues. But mine problem is unclear where JSF page tags.
    If possible, Could you please provide me how to invoke the method from JSF page....
    same code works if the user click on command button but my requirement is as soon as the user click on the link from 3rd party website, then he need to come to our web application and invoke the JSF page along with ManagedBean for saving details and redirect to disganted webpage.
    I will provide the following link to 3rd party websites. the URL is :: http://somedomain.com/myApp/Tracker.JSF?trackerID=111
    Could you please provide me the code i need to write in JSF ....just for invoking ManagedBean class...? how i code for page on load call the managedBean for specific method?

  • How to start working with BPEL[SOLVED]-but someone still can help me :)

    Hello Everyone,
    I'm Fizzz, I'm totally new to BPEL. I don't know where to start and how to start.
    Right now I'm Working with JDeveloper 11g R1. I didn't go further yet but Now i have to create some BPEL Process that can be integrated to my Web Application. There are some transaction to be Approved or Canceled from BPEL and if Transaction is Approved then i need to Update that Transaction to Peoplesoft's Database. I have 1 week to learn it. and then i need to start my work.
    But i really don't know where to start? What do i need? And how to proceed?
    Can Anybody suggest me the steps that i can follow to get Start with BPEL and done with Peoplesoft connectivity?
    I would really appreciate your help.
    Thanks,
    Fizzz...
    Edited by: Fizzz on Nov 24, 2009 5:14 PM

    Thanks user11082822 and Vivek..
    Your Oracle Doc links are really very helpful. i would definitely go through these docs to get familiar with BPEL, But i have only one week to understand this part of technology.
    So would request for any Live Example or How to's for Sample BPEL app creation and integration part of that. I would definitely read these document but i need some fast overview on these processes practically.
    Can you please suggest me such things.
    Thank you very much to both of you for your very quick and very helpful effort. :)
    Fizzz...

  • Unable to invoke Webservice with BPEL process

    Hi,
    I wrote a basic WebService in Java and now I want to invoke it with a simple BPEL Process. But it doesn't work. I am using Netbeans 6.5 as IDE and GlassFish V2 as Server.
    Everytime when I try to test my BPEL Process, I got back the following failure message:
    ERROR: Successful execution of Start: NPSProcesstestingApp
    WARNING: (JBIMA0405) Start of service assembly NPSProcesstestingApp succeeded partially; some service units failed to start.
    * Component: sun-http-binding
    ERROR: (SOAPBC_START_1) HTTPBC-E00205: Start failed. java.lang.Exception: LifecycleException: PWC3985: Initialisierung der Protokoll-Behandlungsroutine fehlgeschlagen: java.net.BindException: Address already in use: bind: 8083
    * Component: sun-bpel-engine
    INFO: (JBIMA0409) Lifecycle operation start succeeded for Service Unit NPSProcesstestingApp-NPSProcesstesting.
    I have absolutely no idea why it doesn't work, my webservice is running on localhost at port 8083: http://localhost:8083/numberportingservice, and I deploy it in the following way:
    //NumberPortingService
    NumberPortingServiceImpl npsImpl = new NumberPortingServiceImpl();
    new TestDataGeneratorNPS(npsImpl);
    JaxWsServerFactoryBean sfNPS = new JaxWsServerFactoryBean();
    sfNPS.setServiceClass(NumberPortingService.class);
    sfNPS.setAddress("http://localhost:8083/numberportingservice");
    sfNPS.setServiceBean(npsImpl);
    sfNPS.create();
    That works fine, but it doesn't work with the BPEL process, GlassFish is running on Port 7272 and my webservice on Port 8083, so is the Port 8083 blocked? I checked it, it is not blocked by another application, only my webservice is using it.
    My BPEL Process looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
    name="NPStesting"
    targetNamespace="http://enterprise.netbeans.org/bpel/NPSProcesstesting/NPStesting"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
    xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
    xmlns:tns="http://enterprise.netbeans.org/bpel/NPSProcesstesting/NPStesting">
    <import namespace="http://enterprise.netbeans.org/bpel/numberportingserviceWrapper" location="localhost_8083/numberportingserviceWrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <import namespace="http://jaxws/" location="localhost_8083/numberportingservice.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
    <partnerLinks>
    <partnerLink name="PartnerLink1" xmlns:tns="http://enterprise.netbeans.org/bpel/numberportingserviceWrapper" partnerLinkType="tns:NumberPortingServiceLinkType" myRole="NumberPortingServiceRole"/>
    </partnerLinks>
    <variables>
    <variable name="StatecountOut" xmlns:tns="http://jaxws/" messageType="tns:statecountResponse"/>
    <variable name="StatecountIn" xmlns:tns="http://jaxws/" messageType="tns:statecount"/>
    </variables>
    <sequence>
    <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="statecount" xmlns:tns="http://jaxws/" portType="tns:NumberPortingService" variable="StatecountIn"/>
    <reply name="Reply1" partnerLink="PartnerLink1" operation="statecount" xmlns:tns="http://jaxws/" portType="tns:NumberPortingService" variable="StatecountOut"/>
    </sequence>
    </process>
    The wsdl of my webservice looks like this:
    <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="NumberPortingServiceService" targetNamespace="http://jaxws/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://jaxws/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://jaxws/" xmlns:tns="http://jaxws/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="address" type="tns:address" />
    <xs:element name="check_porting_possible" type="tns:check_porting_possible" />
    <xs:element name="check_porting_possibleResponse" type="tns:check_porting_possibleResponse" />
    <xs:element name="check_porting_status" type="tns:check_porting_status" />
    <xs:element name="check_porting_statusResponse" type="tns:check_porting_statusResponse" />
    <xs:element name="customer" type="tns:customer" />
    <xs:element name="customers" type="tns:customers" />
    <xs:element name="get_porting_result" type="tns:get_porting_result" />
    <xs:element name="get_porting_resultResponse" type="tns:get_porting_resultResponse" />
    <xs:element name="portingRequest" type="tns:portingRequest" />
    <xs:element name="portingResult" type="tns:portingResult" />
    <xs:element name="schedule_batch_porting" type="tns:schedule_batch_porting" />
    <xs:element name="schedule_batch_portingResponse" type="tns:schedule_batch_portingResponse" />
    <xs:element name="statecount" type="tns:statecount" />
    <xs:element name="statecountResponse" type="tns:statecountResponse" />
    <xs:element name="telephoneNumber" type="tns:telephoneNumber" />
    <xs:complexType name="check_porting_possible">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    <xs:element name="providerId" type="xs:long" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="customer">
    <xs:sequence>
    <xs:element minOccurs="0" name="id" type="xs:string" />
    <xs:element minOccurs="0" name="name" type="xs:string" />
    <xs:element name="provider" type="xs:long" />
    <xs:element minOccurs="0" name="address" type="tns:address" />
    <xs:element minOccurs="0" name="telephoneNumber" type="tns:telephoneNumber" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="address">
    <xs:sequence>
    <xs:element minOccurs="0" name="area_code" type="xs:string" />
    <xs:element minOccurs="0" name="city" type="xs:string" />
    <xs:element name="door" type="xs:int" />
    <xs:element name="house" type="xs:int" />
    <xs:element minOccurs="0" name="street" type="xs:string" />
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" />
    </xs:complexType>
    <xs:complexType name="telephoneNumber">
    <xs:sequence>
    <xs:element minOccurs="0" name="area_code" type="xs:string" />
    <xs:element minOccurs="0" name="country_code" type="xs:string" />
    <xs:element minOccurs="0" name="id" type="xs:string" />
    <xs:element minOccurs="0" name="number" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_possibleResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:boolean" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_status">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="check_porting_statusResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:boolean" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="get_porting_result">
    <xs:sequence>
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="get_porting_resultResponse">
    <xs:sequence>
    <xs:element minOccurs="0" name="return" type="tns:portingResult" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="portingResult">
    <xs:sequence>
    <xs:element minOccurs="0" name="comment" type="xs:string" />
    <xs:element name="new_provider" type="xs:long" />
    <xs:element name="success" type="xs:boolean" />
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="schedule_batch_porting">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="portingrequests" type="tns:portingRequest" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="portingRequest">
    <xs:sequence>
    <xs:element name="new_provider" type="xs:long" />
    <xs:element name="porting_date" type="xs:long" />
    <xs:element minOccurs="0" name="customer" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="schedule_batch_portingResponse">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="xs:anyType" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="statecount">
    <xs:sequence />
    </xs:complexType>
    <xs:complexType name="statecountResponse">
    <xs:sequence>
    <xs:element name="return" type="xs:int" />
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="customers">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="customers" nillable="true" type="tns:customer" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="InvalidCustomerFault" type="tns:InvalidCustomerFault" />
    <xs:complexType name="InvalidCustomerFault">
    <xs:sequence />
    </xs:complexType>
    <xs:element name="NotFinishedFault" type="tns:NotFinishedFault" />
    <xs:complexType name="NotFinishedFault">
    <xs:sequence />
    </xs:complexType>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="statecountResponse">
    <wsdl:part element="tns:statecountResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_statusResponse">
    <wsdl:part element="tns:check_porting_statusResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="schedule_batch_porting">
    <wsdl:part element="tns:schedule_batch_porting" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_possible">
    <wsdl:part element="tns:check_porting_possible" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="get_porting_resultResponse">
    <wsdl:part element="tns:get_porting_resultResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_status">
    <wsdl:part element="tns:check_porting_status" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="statecount">
    <wsdl:part element="tns:statecount" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="NotFinishedFault">
    <wsdl:part element="tns:NotFinishedFault" name="NotFinishedFault">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="get_porting_result">
    <wsdl:part element="tns:get_porting_result" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="check_porting_possibleResponse">
    <wsdl:part element="tns:check_porting_possibleResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="InvalidCustomerFault">
    <wsdl:part element="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="schedule_batch_portingResponse">
    <wsdl:part element="tns:schedule_batch_portingResponse" name="parameters">
    </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="NumberPortingService">
    <wsdl:operation name="check_porting_possible">
    <wsdl:input message="tns:check_porting_possible" name="check_porting_possible">
    </wsdl:input>
    <wsdl:output message="tns:check_porting_possibleResponse" name="check_porting_possibleResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="check_porting_status">
    <wsdl:input message="tns:check_porting_status" name="check_porting_status">
    </wsdl:input>
    <wsdl:output message="tns:check_porting_statusResponse" name="check_porting_statusResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="get_porting_result">
    <wsdl:input message="tns:get_porting_result" name="get_porting_result">
    </wsdl:input>
    <wsdl:output message="tns:get_porting_resultResponse" name="get_porting_resultResponse">
    </wsdl:output>
    <wsdl:fault message="tns:NotFinishedFault" name="NotFinishedFault">
    </wsdl:fault>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="schedule_batch_porting">
    <wsdl:input message="tns:schedule_batch_porting" name="schedule_batch_porting">
    </wsdl:input>
    <wsdl:output message="tns:schedule_batch_portingResponse" name="schedule_batch_portingResponse">
    </wsdl:output>
    <wsdl:fault message="tns:InvalidCustomerFault" name="InvalidCustomerFault">
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="statecount">
    <wsdl:input message="tns:statecount" name="statecount">
    </wsdl:input>
    <wsdl:output message="tns:statecountResponse" name="statecountResponse">
    </wsdl:output>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="NumberPortingServiceServiceSoapBinding" type="tns:NumberPortingService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="check_porting_possible">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="check_porting_possible">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="check_porting_possibleResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="check_porting_status">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="check_porting_status">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="check_porting_statusResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="get_porting_result">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="get_porting_result">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="get_porting_resultResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="NotFinishedFault">
    <soap:fault name="NotFinishedFault" use="literal" />
    </wsdl:fault>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="schedule_batch_porting">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="schedule_batch_porting">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="schedule_batch_portingResponse">
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InvalidCustomerFault">
    <soap:fault name="InvalidCustomerFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="statecount">
    <soap:operation soapAction="" style="document" />
    <wsdl:input name="statecount">
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output name="statecountResponse">
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="NumberPortingServiceService">
    <wsdl:port binding="tns:NumberPortingServiceServiceSoapBinding" name="NumberPortingServicePort">
    <soap:address location="http://localhost:8083/numberportingservice" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Have anybody an idea why I got this failure I mentioned above when trying to start the BPEL process?
    Please help me :)
    Thanks a lot!!!
    Steve

    Or can you invoke the service from the 'gui' of the deployed webservice in the glassfish as ?
    you need to check if either the service doesnt work or the invoke of the service from bpel is the problem

  • How to invoke web services BPEL from ODI

    Hi All,
    I tried to invoke a BPEL Web service through OdiInvokeWebService tool, and throws me the following message:
    Request invalid. NullPointerException*
    This is the WSDL that I need to consume
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="Contabilidad" targetNamespace="http://xmlns.oracle.com/Contabilidad" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:WL5G3N2="http://xmlns.oracle.com/Contabilidad" xmlns:WL5G3N3="xs" xmlns:WL5G3N4="r" xmlns:WL5G3N5="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?WSDL%2FpruebaOSB%2FRuntimeFault_Contabilidad" namespace="http://schemas.oracle.com/bpel/extension"/>
    <WL5G3N1:partnerLinkType name="Contabilidad">
    <WL5G3N1:role name="ContabilidadProvider">
    <WL5G3N1:portType name="WL5G3N2:Contabilidad"/>
    </WL5G3N1:role>
    </WL5G3N1:partnerLinkType>
    <WL5G3N0:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/Contabilidad" xmlns:ns1="http://schemas.oracle.com/bpel/extension" xmlns:ns2="xs" xmlns:ns3="r" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/Contabilidad">
    <import namespace="xs" schemaLocation="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?SCHEMA%2FpruebaOSB%2FSeguridad.xsd"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/Contabilidad" xmlns:ns1="http://schemas.oracle.com/bpel/extension" xmlns:ns2="xs" xmlns:ns3="r" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/Contabilidad">
    <import namespace="r" schemaLocation="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?SCHEMA%2FpruebaOSB%2FRespuesta.xsd"/>
    </schema>
    </WL5G3N0:types>
    <WL5G3N0:message name="ContabilidadRequestMessage">
    <WL5G3N0:part element="WL5G3N3:Root" name="root"/>
    </WL5G3N0:message>
    <WL5G3N0:message name="ContabilidadResponseMessage">
    <WL5G3N0:part element="WL5G3N4:Respuesta" name="respuesta"/>
    </WL5G3N0:message>
    <WL5G3N0:portType name="Contabilidad">
    <WL5G3N0:operation name="process">
    <WL5G3N0:input message="WL5G3N2:ContabilidadRequestMessage"/>
    <WL5G3N0:output message="WL5G3N2:ContabilidadResponseMessage"/>
    </WL5G3N0:operation>
    </WL5G3N0:portType>
    <WL5G3N0:binding name="ContabilidadBinding" type="WL5G3N2:Contabilidad">
    <WL5G3N5:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <WL5G3N0:operation name="process">
    <WL5G3N5:operation soapAction="process" style="document"/>
    <WL5G3N0:input>
    <WL5G3N5:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N5:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="Contabilidad">
    <WL5G3N0:port binding="WL5G3N2:ContabilidadBinding" name="ContabilidadPort">
    <WL5G3N5:address location="http://DSKTEAAGRE05.sigfe.local:7021/pruebaOSB/servicioProxyOSB_Contabilidad"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    I want to know how to invoke this webservice.(BPEL)
    Edited by: user9012955 on 05-08-2011 11:23 AM

    Hi All,
    I tried to invoke a BPEL Web service through OdiInvokeWebService tool, and throws me the following message:
    Request invalid. NullPointerException*
    This is the WSDL that I need to consume
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="Contabilidad" targetNamespace="http://xmlns.oracle.com/Contabilidad" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:WL5G3N2="http://xmlns.oracle.com/Contabilidad" xmlns:WL5G3N3="xs" xmlns:WL5G3N4="r" xmlns:WL5G3N5="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?WSDL%2FpruebaOSB%2FRuntimeFault_Contabilidad" namespace="http://schemas.oracle.com/bpel/extension"/>
    <WL5G3N1:partnerLinkType name="Contabilidad">
    <WL5G3N1:role name="ContabilidadProvider">
    <WL5G3N1:portType name="WL5G3N2:Contabilidad"/>
    </WL5G3N1:role>
    </WL5G3N1:partnerLinkType>
    <WL5G3N0:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/Contabilidad" xmlns:ns1="http://schemas.oracle.com/bpel/extension" xmlns:ns2="xs" xmlns:ns3="r" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/Contabilidad">
    <import namespace="xs" schemaLocation="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?SCHEMA%2FpruebaOSB%2FSeguridad.xsd"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:client="http://xmlns.oracle.com/Contabilidad" xmlns:ns1="http://schemas.oracle.com/bpel/extension" xmlns:ns2="xs" xmlns:ns3="r" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/Contabilidad">
    <import namespace="r" schemaLocation="http://10.10.10.207:7021/pruebaOSB/servicioProxyOSB_Contabilidad?SCHEMA%2FpruebaOSB%2FRespuesta.xsd"/>
    </schema>
    </WL5G3N0:types>
    <WL5G3N0:message name="ContabilidadRequestMessage">
    <WL5G3N0:part element="WL5G3N3:Root" name="root"/>
    </WL5G3N0:message>
    <WL5G3N0:message name="ContabilidadResponseMessage">
    <WL5G3N0:part element="WL5G3N4:Respuesta" name="respuesta"/>
    </WL5G3N0:message>
    <WL5G3N0:portType name="Contabilidad">
    <WL5G3N0:operation name="process">
    <WL5G3N0:input message="WL5G3N2:ContabilidadRequestMessage"/>
    <WL5G3N0:output message="WL5G3N2:ContabilidadResponseMessage"/>
    </WL5G3N0:operation>
    </WL5G3N0:portType>
    <WL5G3N0:binding name="ContabilidadBinding" type="WL5G3N2:Contabilidad">
    <WL5G3N5:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <WL5G3N0:operation name="process">
    <WL5G3N5:operation soapAction="process" style="document"/>
    <WL5G3N0:input>
    <WL5G3N5:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N5:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="Contabilidad">
    <WL5G3N0:port binding="WL5G3N2:ContabilidadBinding" name="ContabilidadPort">
    <WL5G3N5:address location="http://DSKTEAAGRE05.sigfe.local:7021/pruebaOSB/servicioProxyOSB_Contabilidad"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    I want to know how to invoke this webservice.(BPEL)
    Edited by: user9012955 on 05-08-2011 11:23 AM

  • Invoking BusinessRules with BPEL

    i want to invoke business rules from bpel without using Decide activity , i want to invoke it by embeded java activity that call a java class in jdeveloper and retrieve the rule
    the java class works fine in jdeveloper and retrieves the rules but when i invoke it from bpel an error occured in both javafacts and xmlfacts
    the error message in javafacts is
    exceptionoracle.rules.rl.exceptions.UndefinedException: 'javaclassbusinessrules.Driver' is undefined at line 11 column 7 in underage
    where the javaclassbusinessrules.Driver is the class that i import it as a jar file in java fact
    and according to xml fact the message is
    he can't locate jaxb.property even all the jaxb classes were imported in jdeveloper
    class and deployed with the proess

    Hi,
    why dont you want to use the decide activity?
    It is very easy.
    For embedding see
    Re: java embedding import custom class

  • How to invoke WS with oracle/wss11_saml_or_username_token_with_message_..?

    Hi,
    I need to develop a client that invokes WLS Web Services protected using the policy oracle/wss11_saml_or_username_token_with_message_protection_service_policy. Is there any sample code for reference especially on how/what to pass into the BindingProvider?
    Thanks!
    Edited by: user10768002 on Jan 27, 2010 5:16 PM

    Hi,
    Hope the following links contains some procedure ... may give some idea:
    http://jaysensharma.wordpress.com/2010/01/09/username-token-in-jaxws-webservice/
    http://jaysensharma.wordpress.com/2010/01/19/jaxws-with-wssp1-2-2007-https-usernametoken-plain-xml-policy/
    Thanks
    Jay SenSharma

  • How access applications EJBs, with security constraints

    Hi,
    I'm using iAS 6.5 and this my problem:
    I've an EAR file deployed with EJBs that are protected by security constraints.
    An IIOP Client can do an authentication using the IUserPrincipal Class. This works!
    A web module in this application can do a user authentication using Form Authentication. This works!
    But how can this be done by another deployed Application (Ear), in the same or a remote iAS?
    Is there anywhere an example/doc about a App to App access via iiop, dealing with security constraints?
    Thanks for any help
    Regards

    Hi,
    I'm using iAS 6.5 and this my problem:
    I've an EAR file deployed with EJBs that are protected by security constraints.
    An IIOP Client can do an authentication using the IUserPrincipal Class. This works!
    A web module in this application can do a user authentication using Form Authentication. This works!
    But how can this be done by another deployed Application (Ear), in the same or a remote iAS?
    Is there anywhere an example/doc about a App to App access via iiop, dealing with security constraints?
    Thanks for any help
    Regards

  • Java.lang.ClassCastException when invoking EJB from BPEL

    Hi,
    We have a EJB deployed in one OC4J instance and the BPEL is deployed in another OC4J instance. ClassCastException occurs when the BPEL invokes the EJB. Any feedback would be appreciated.
    Regards,
    M.Rajesh

    Hi Rajesh,
    I am facing the same issue.
    Did this issue get resolved at your end?
    Thanks,
    Mahendra

  • How to invoke services with javabeans type or other customer type??

    Hi all,
    My BPELI will invoke a services and delivery a variable, but the variable is a javabeans type or other customer type.
    But, the BPEL Console trow a Exception Message...
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is b19473ef990d7108:148662:10d0cdbc8d7:-7ffc. Please check the process instance for detail.
    How to resolve my problem.
    I make a services, the services has a operation, the operation will return a javabean type.
    ex:
    Service
    public BeansServices {
    public Order setOrder(Order order) {
    order.setName("TEST");
    return order;
    JavaBeans
    public Order{
    String name = "";
    public void setName(String name) {
    thie.name = name;
    public String getName() {
    return this.name;
    /--------------------------------------------------/

    Hi
    The error doesnt seem to be related to the JavaBean.
    You can try changing the syncMaxWaitTime in the BPEL Console.
    This post might help:
    Re: How to longer the BPEL waiting timeout
    ^_^

  • How to run EJB with JSP as client on TOMCAT - JBOSS server

    Hi all,
    I am having my EJB component successfully deployed on JBOSS server. My core-java client is able to access the same. But when I use the JSP page which is on Tomcat server, I am getting following exception. Please help me out.
    Exception Report:
    org.apache.jasper.JasperException: sealing violation
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:125)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:161)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:171)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
         at java.lang.Thread.run(Thread.java:484)
    Root Cause:
    java.lang.SecurityException: sealing violation
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:648)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:987)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:906)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:136)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:237)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:123)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:161)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:171)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
         at java.lang.Thread.run(Thread.java:484)
    Please let me know what the problem is as I am new to EJB.
    Thanx a lot
    Unmesh

    Hi
    Even i have the same problem...
    i have deployed the ejb in jboss..
    but i cannot even run the core-java client program
    can u pls mail me the code...
    and the directory path
    thanks a lot
    cheers
    simreen

  • How to use ESb with BPEL....

    I have created An ESB now i want to use that in BPEL.how can i do so...I am working in Jdeveloper...

    You can just create a service pointing to the wsdl of you esb service like you do for every other service.
    In the esbconsole select your routingservice and you will see the wsdl-url in the second tab..use this one.
    or create partnerlink...and instead of create a new one..use the flashlight to search your newly create esbproject.
    service explorer > registered esb services > etc

  • How to deploy ejb with dependent jars

    Hi
    I am trying to deploy a ejb into WEBLOGIC 6.1
    I have the following structure
    c:\testapp\deploy as the root and the following with in the root folder
    ejb/test/app/test.class
    ejb/test/app/testHome.class
    ejb/test/app/testBean.class
    ejb/META-INF/ejb-jar.xml
    ejb/META-INF/weblogic-ejb-jar.xml
    META-INF/application.xml
    I have a testdep.jar file required by the ejb. I have that in the Class path of
    the weblogic startup script.
    However If I want to remove it from the startu[p script and still be able to reference
    in the ejb where should I place it. Do I have to create some other directory with
    standard name? i am deploying the ejb in exploded form.
    Thanx
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I try to do the following but with out luck. I copied a maifest.mf file and the
    .jar file into the META-INF folder. I have the following in the manifest.mf
    Manifest-Version: 1.0
    Created-By: 1.3.1_04 (Sun Microsystems Inc.)
    Class-Path: TPUtils.jar
    the first two lines were generated and i copied the last line and I got the following
    error. I am runiing the application in exploded format.
    EJB : CUBean .Unable to initialize method info for remote or home interface.The
    error is java.lang.NoClassDefFoundError: com/towers/bas/utils/TPData
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    Rob Woollen <[email protected]> wrote:
    You should have a Manifest Class-Path entry for the jar.
    Basically you'd put the jar say in my.jar
    and you'd have a META-INF/MANIFEST.MF file that looked like this:
    Manifest-Version: 1.0
    Class-Path: my.jar
    -- Rob
    Venkat V wrote:
    Hi
    I am trying to deploy a ejb into WEBLOGIC 6.1
    I have the following structure
    c:\testapp\deploy as the root and the following with in the root folder
    ejb/test/app/test.class
    ejb/test/app/testHome.class
    ejb/test/app/testBean.class
    ejb/META-INF/ejb-jar.xml
    ejb/META-INF/weblogic-ejb-jar.xml
    META-INF/application.xml
    I have a testdep.jar file required by the ejb. I have that in the Classpath of
    the weblogic startup script.
    However If I want to remove it from the startu[p script and still be
    able to reference>> in the ejb where should I place it. Do I have to create some other>directory with>> standard name? i am deploying the ejb in exploded form.>> >> Thanx>> >                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to use Ejb with Hibernate in netbeans

    hello everybody
    i am developing a project using ejb and hibernate as a persistance provider. i need some idea how to develop a web application in netbeans. I went through a example in netbeans but it's not helping me.If any body can give me some idea
    many thanks
    sri

    Well, I've never used a JProgressBar before, so I'm
    not sure. If I add it to the frame, can I call it
    whenever I need to use it like when I click the
    JMenuItem do I just call it?Questions like these are better answered by the tutorials:
    http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html

  • How to get started with BPEL?

    I've donwloaded then Order booking demo - and run through it. But I would like a more detailed description of all the different settings/values/whatever.
    Where do I find that?
    Regards, Henrik

    It's an open door, but the documentation should answer your questions. Did you also have a look at:
    http://orasoa.blogspot.com
    I blog my experiences with Oracle SOA. I also created a article with all usefull links related to Oracle SOA Suite.
    Marc

Maybe you are looking for

  • PKGBUILD "Project: Starfighter". Is all correct?

    I have created a PKBUILD for "Project: Starfighter" which btw is my first PKGBUILD. I would appreciate comments on this PKGBUILD before I post it on AUR. To make it build cleaner I had to change some paths in the makefile. I am not sure if I should n

  • IPhone say no service

    My iPhone 4S says no service it been like that now for more then 24hrs, I've rebooted and taken SIM card out and put back, still no service. I also have an iPad with same network and work perfectly fine. I've reset network and rebooted and still iPho

  • Cleaning up emails in iPhone 5

    Can I set my iphone 5 to automatically delete emails after a certain number of days or number of emails?

  • OTN web page still says early adpter release 3

    http://www.oracle.com/technology/index.html FEATURED DOWNLOADS Project Raptor Early Adopter Release 3 for Linux and Windows Should this be changed to Oracle SQL Developer (formerly Project Raptor) Early Adopter Release 4?

  • Will these printers & scanners work?

    I've several friends who praise Leopard and urge me to upgrade, but reading the many complaints about non-functioning printers & MFPs worries me since I have a home business, and if I can't print, copy and scan, I'm out of business. So my question is