EAI, SOA, WEB Services

Hi all!!
what are EAI, SOA, WEB Services??
are they same?? are they depend on each other or different?
Also, I have one important question:
many companies have their own intranet. sometimes they have some secured resources in intranet which are accessible only in intranet and not on Internet. So, how these companies allow access to those secured resources in intranet to their partners or employees who want to access these resources from internet? (B2B)
I think web services is one solution. But what are other solutions if anybody can suggest?
also, what solutions were used to solve this problem before webservices??
please give your views!!
thanking you in advance.
.Mohit

Hi,
You can find the answer here:
http://www.atomikos-support.com/forums/viewtopic.php?t=91
Best
Guy
http://www.atomikos.com - Java transaction manager software
Visit the transactions expert community forum on http://www.atomikos-support.com/forums

Similar Messages

  • EAI AND WEB SERVICES

    Hi,
    What is the difference between web services and EAI ?
    Thank you.

    Hi,
    Salient Differences between Traditional EAI Solutions and Web Services
    A few essential differences between traditional EAI solutions and Web Services are, as follows:
    Simple: There is no doubt that Web Services are much simpler to design, develop, maintain, and use as compared to a typical EAI solution which may involve distributed technology such as DCOM and CORBA. Once the framework of developing and using Web Services is ready, it will be relatively easy to automate new business processes spanning across multiple applications.
    Open Standards: Unlike proprietary EAI solutions, Web Services are based on open standards such as UDDI, SOAP, HTTP and this is probably the single most important factor that would lead to the wide adoption of Web Services. The fact that they are built on existing and ubiquitous protocols eliminates the need for companies to invest in supporting new network protocols.
    Flexible: Since EAI solutions may require point-to-point integration, changes made at one end have to be propagated to the other end, making them very rigid and time consuming in nature. Web Services based integration is quite flexible, as it is built on loose coupling between the application publishing the services and the application using those services.
    Cheap: EAI solutions, such as message brokers, are very expensive to implement. Web Services, in the future, may accomplish many of the same goals - cheaper and faster.
    Scope: EAI solutions, such as message brokers, integrate applications treating them as single entities, whereas Web Services allow companies to break down big applications into small independent logical units and build wrappers around them. For example, a company can write wrappers for different business components of an ERP application such as order management - purchase order acceptance, status of order, order confirmation, accounts receivable, and accounts payable.
    Efficient: As mentioned in the previous point, Web Services allow applications to be broken down into smaller logical components, which makes the integration of applications easier as it is done on a granular basis. This makes Web Services solutions for EAI much more efficient than traditional EAI solutions.
    Dynamic: Web Services provide a dynamic approach to integration by offering dynamic interfaces, whereas traditional EAI solutions are pretty much static in nature.
    Read this article:
    <a href="http://www.webservicesarchitect.com/content/articles/samtani01.asp">EAI and Web Services</a>
    Regards,
    Boris

  • [推荐] SOA & Web Service 精华文章收集

    揭示 SOA 的暗面
    http://dev2dev.bea.com.cn/techdoc/2005052405.html
    Security in a Web Services World: A Proposed Architecture and Roadmap
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwssecur/html/securitywhitepaper.asp
    Service-Oriented Architecture (SOA) and Web Services: The Road to Enterprise Application Integration (EAI)
    http://java.sun.com/developer/technicalArticles/WebServices/soa/
    BEA与IBM的SOA平台之争
    http://dev2dev.bea.com.cn/bbsdoc/2006040419242.html
    Understanding Web Services specifications, Part 1: SOAP
    http://www.ibm.com/developerworks/edu/ws-dw-ws-understand-web-services1.html
    Asynchronous operations and Web services, Part 1
    http://www.ibm.com/developerworks/library/ws-asynch1.html
    Asynchronous operations and Web services, Part 2
    http://www-128.ibm.com/developerworks/library/ws-asynch2/index.html
    实施WebService Security[WS-Security1.0]的Encrypt和Sign模式(XFire+WSS4J)
    http://www.blogjava.net/openssl/archive/2006/08/08/xfire_wss4j.html
    在SpringSide实现XFire Webservice认证
    http://www.blogjava.net/openssl/archive/2006/07/25/XFire_Webservice_Authentication.html
    Java中的SOAP技术
    http://www.cn-java.com/target/news.php?news_id=3054
    Really Simple Asynchronous Web Services
    http://www.computerworld.com/developmenttopics/development/story/0,10801,79698,00.html
    Deploy SOA applications in Apache Geronimo using XMLBeans
    http://www.ibm.com/developerworks/webservices/library/os-ag-soa/index.html
    SDO 2.0:创建和读取基于 XML 模式的 XML 文档
    http://www-128.ibm.com/developerworks/cn/webservices/ws-sdoxmlschema
    SCA与JAX-WS
    http://dev2dev.bea.com.cn/bbsdoc/20060301204.html
    WS-Policy的作用
    http://dev2dev.bea.com.cn/bbsdoc/05092824.html
    使用SAML令牌进行身份验证,第一部分
    http://dev2dev.bea.com.cn/bbsdoc/05092827.html
    使用SAML Token进行身份验证,第二部分
    http://dev2dev.bea.com.cn/bbsdoc/05092826.html
    使用XML-Encryption实现安全的SOAP消息
    http://dev2dev.bea.com.cn/bbsdoc/20051213165.html
    用SAAJ解决SOA集成问题
    http://dev2dev.bea.com.cn/techdoc/2005011705.html
    Understanding Web Services Policy
    http://msdn.microsoft.com/library/en-us/dnwebsrv/html/understwspol.asp?frame=true
    Understanding WS-Security
    http://msdn.microsoft.com/library/en-us/dnwssecur/html/understw.asp?frame=true
    Understanding WSDL
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwssecur/html/securitywhitepaper.asp
    WS-Addressing 简介
    http://dev2dev.bea.com.cn/techdoc/2005050904.html

    版主大哥,怎么没有weblogic9.2 的基础教程阿?

  • Getting SOAException while calling SOA web service via pl/sql procedure

    Hi All,
    I created a 'Helloworld' BPEL process and successfuly deployed it. I tested it in the WLS and it is working. Now I wrote a pl/sql procedure which calls this 'HelloWorld' bpel process. When ran this procedure it throw me an error
    GetPayload: resp3 IS NULL
    <HTML><HEAD><TITLE>Web Service</TITLE></HEAD><BODY><H1>Bad Request</H1><PRE>javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Unexpected character &#39;&#60;&#39; &#40;code 60&#41; excepted space, or &
    #62;&#39; or &#34;/&#62;&#34;
    at [row,col {unknown&#45;source}]: [1,120]</PRE></BODY></HTML>
    null response
    GetPayload: resp3 IS NULL
    <HTML><HEAD><TITLE>Web Service</TITLE></HEAD><BODY><H1>Bad Request</H1><PRE>javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Unexpected character &#39;&#60;&#39; &#40;code 60&#41; excepted space, or &
    #62;&#39; or &#34;/&#62;&#34;
    at [row,col {unknown&#45;source}]: [1,120]</PRE></BODY></HTML>
    null response
    Please suggest.
    WSDL - http://herbalife-mwdv4-new.hrbl.net:21000/soa-infra/services/SAI/HTTP_BPEL/bpelprocesshttp_client_ep?WSDL
    procedure code is as below:
    Create or Replace FUNCTION GetPayload(
    p_Payload IN VARCHAR2)
    RETURN VARCHAR2 IS
    soap_request VARCHAR2(30000);
    soap_respond VARCHAR2(30000);
    http_req UTL_HTTP.REQ;
    http_resp UTL_HTTP.RESP;
    resp XMLTYPE;
    response VARCHAR2(30000) := '';
    l_detail VARCHAR2(30000);
    i INTEGER;
    l_xsl_nonamespace VARCHAR2(640) := '<?xml version="1.0" encoding="UTF-8" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="comment()|processing-instruction()|/"> <xsl:copy> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="*"> <xsl:element name="{local-name()}"> <xsl:apply-templates select="@*|node()"/> </xsl:element> </xsl:template> <xsl:template match="@*"> <xsl:choose> <xsl:when test="name() != ''xmlns''"> <xsl:attribute name="{local-name()}"> <xsl:value-of select="."/> </xsl:attribute> </xsl:when> </xsl:choose> </xsl:template></xsl:stylesheet>';
    namespace VARCHAR2(128) := 'xmlns:ns1="http://xmlns.oracle.com/FusionServices/HTTP_BPEL/BPELProcessHTTP';
    endpoint VARCHAR2(128) := 'http://herbalife-mwdv4-new.hrbl.net:21000/soa-infra/services/SAI/HTTP_BPEL/bpelprocesshttp_client_ep';
    BEGIN
    soap_request:= '<?xml version = "1.0" encoding = "UTF-8"?>'||'<SOAP-ENV:Envelope '||'xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"'||'<SOAP-ENV:Body>'||'<'||namespace||'>'||'<ProcessRequest>'||'<input'||namespace||'>'||p_Payload||'</input>'||'</ProcessRequest>'||'</SOAP-ENV:Body>'||'</SOAP-ENV:Envelope>';
    http_req := utl_http.begin_request( endpoint, 'POST', 'HTTP/1.1');
    utl_http.set_header(http_req , 'Content-Type' , 'text/xml');
    -- dealing with plain text in XML documents
    utl_http.set_header(http_req , 'Content-Length' , lengthb(soap_request));
    utl_http.set_header(http_req , 'SOAPAction' , 'process'); -- required to specify a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp := utl_http.get_response(http_req);
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    IF (instr(resp.getStringVal(), 'ERROR:') > 0)THEN
    raise_application_error ( -20999, 'GetHelloWorldPayload: Failed! '||p_Payload);
    END IF;
    resp := resp.extract('/soap:Envelope/soap:Body/child::node()' , 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' );
    -- Remove namespaces
    SELECT XMLTransform(resp, xmlType(l_xsl_nonamespace)) INTO resp FROM dual;
    -- resp := resp.extract('/ProcessResponse/child::node()', 'xmlns:ns1="http://xmlns.oracle.com/FusionServices/HTTP_BPEL/BPELProcessHTTP');
    IF (resp IS NULL)THEN
    dbms_output.put_line('GetPayload: resp3 IS NULL');
    ELSE
    dbms_output.put_line('GetPayload: resp3 ' ||resp.getStringVal());
    END IF;
    i:=0;
    LOOP
    dbms_output.put_line(SUBSTR(soap_respond,1+ i*255,250));
    i := i+1;
    IF i*250> LENGTH(soap_respond) THEN
    EXIT;
    END IF;
    END LOOP;
    IF (resp IS NULL)THEN
    response := 'null response';
    ELSE
    response := REPLACE( REPLACE( REPLACE( resp.getStringVal(), '<', '<') , '>', '>') , '"', '"');
    END IF;
    RETURN response;
    END GetPayload;
    /

    vladodias thanks for the reply. I went through the link before also but i am not comfortable with the utl_dbws that's why i am following utl_http.
    I also changed my procedure now i am not getting any error but it is not printing the output as well. New procedure is as below.
    I tried 'set serveroutput on size 1000000;' also but still not working.
    Create or Replace FUNCTION GetPayload(
    p_Payload IN VARCHAR2)
    RETURN VARCHAR2 IS
    soap_request VARCHAR2(30000);
    soap_respond VARCHAR2(30000);
    http_req UTL_HTTP.REQ;
    http_resp UTL_HTTP.RESP;
    resp XMLTYPE;
    response VARCHAR2(30000) := '';
    l_detail VARCHAR2(30000);
    i INTEGER;
    l_xsl_nonamespace VARCHAR2(3000) := '<?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="comment()|processing-instruction()|/">
    <xsl:copy>
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="*">
    <xsl:element name="{local-name()}">
    <xsl:apply-templates select="@*|node()"/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="@*">
    <xsl:choose>
    <xsl:when test="name() != ''xmlns''">
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:when>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>';
    namespace VARCHAR2(128) := 'xmlns:ns1="http://xmlns.oracle.com/FusionServices/HTTP_BPEL/BPELProcessHTTP';
    endpoint VARCHAR2(128) := 'http://herbalife-mwdv4-new.hrbl.net:21000/soa-infra/services/SAI/HTTP_BPEL/bpelprocesshttp_client_ep';
    BEGIN
    soap_request:= '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bpel="http://xmlns.oracle.com/FusionServices/HTTP_BPEL/BPELProcessHTTP">
    <soapenv:Header/>
    <soapenv:Body>
    <bpel:process>
    <bpel:input>test</bpel:input>
    </bpel:process>
    </soapenv:Body>
    </soapenv:Envelope>';
    http_req := utl_http.begin_request( endpoint, 'POST', 'HTTP/1.1');
    utl_http.set_header(http_req , 'Content-Type' , 'text/xml');
    -- dealing with plain text in XML documents
    utl_http.set_header(http_req , 'Content-Length' , lengthb(soap_request));
    utl_http.set_header(http_req , 'SOAPAction' , 'process'); -- required to specify a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp := utl_http.get_response(http_req);
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    IF (instr(resp.getStringVal(), 'ERROR:') > 0)THEN
    raise_application_error ( -20999, 'GetHelloWorldPayload: Failed! '||p_Payload);
    END IF;
    resp := resp.extract('/soap:Envelope/soap:Body/child::node()' , 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' );
    -- Remove namespaces
    SELECT XMLTransform(resp, xmlType(l_xsl_nonamespace)) INTO resp FROM dual;
    -- resp := resp.extract('/ProcessResponse/child::node()', 'xmlns:ns1="http://xmlns.oracle.com/FusionServices/HTTP_BPEL/BPELProcessHTTP');
    IF (resp IS NULL)THEN
    dbms_output.put_line('GetPayload: resp3 IS NULL');
    ELSE
    dbms_output.put_line('GetPayload: resp3 ' ||resp.getStringVal());
    END IF;
    i:=0;
    LOOP
    dbms_output.put_line(SUBSTR(soap_respond,1+ i*255,250));
    i := i+1;
    IF i*250> LENGTH(soap_respond) THEN
    EXIT;
    END IF;
    END LOOP;
    IF (resp IS NULL)THEN
    response := 'null response';
    ELSE
    response := REPLACE( REPLACE( REPLACE( resp.getStringVal(), '<', '<') , '>', '>') , '"', '"');
    END IF;
    RETURN response;
    END GetPayload;
    /

  • About SOA/Web Service performance

    is there any material or usful about ORACLE SOA performance solution?
    e.g. webservice performance.
    Thanks!

    I'm not sure from your description but it sounds to me like the Web Service should be implemented as a eInsight Business Process (BP) which delegates to the JCD to do the heavy work, if any. This way each SOAP request can be handled by a separate instance of the BP. Otherwise, if the JCD is implemented as a externally callable Web Service, then the SOAP requests would be processed serially by a single instance of the JCD.
    Assuming that you have the SOAP->BP->JCD->QUEUE arrangment, you should consider these other tuning factors:
    - Business Process Max Concurrent Instances to handle requests in its eInsight Engine
    - eInsight Engine
    ---Receive Timeout
    --- Work Item Submit Limit
    ---Invocation Allocation Ratio
    ---No persistence unless essential
    ---- if you need it also consider Application Mode = Multiple
    ---- tune the database
    --- No monitoring unless essential
    - Integration Server
    --- HTTP Listerner Acceptor Threads and/or Virtual Servers
    --- Thread Pool Min and Max Size and Timeout (use asadmin to configure)
    --- JVM Heap Space
    There is no magic algorithm. I'd recommend that you configure the Integration Server so that you can use JConsole to monitor it and then use SoapUI to do the performance testing.
    Regards.

  • Difficulty in a Oracle SOA web-service with 2 message parts

    Hi,
    I am developing a web-service which should take 2 inputs - a string and a datetime. Also I have an xsd which I am importing into the wsdl to define the message elements.
    I have 2 options to do this:
    Option-1: Bundle these 2 input parameters into a single complex type in the xsd and then expose this complex-type as a single message part in the input message element. The wsdl operation tag then looks something like this:
    +<wsdl:message name="RetrieveLoVRecordsRequest">+
    +<wsdl:part name="part1" element="inp1:LoVInput"/>
    +</wsdl:message>+
    Option-2: Put these both these simple-types (the string & datetime inputs) in separate message parts. So wsdl operation looks like:
    +<wsdl:message name="RetrieveLoVRecordsRequest">+
    +<wsdl:part name="part1" element="inp1:LoVName"/>+
    +<wsdl:part name="part2" element="inp1:LoVEffectiveDate"/>+
    +</wsdl:message>+
    I need 2 wsdl interfaces with one with option-1 & other with option-2
    The web-service works fine in option-1. But for strange reason does not work correctly for option-2.
    In option-2 the 1^st^ difficulty was that after I coded the wsdl in jdeveloper and did not attach an explicit binding to it, the message-part part2 does not show-up at all in the enterprise manager when I go to the web-service test page. When opened the WSDL URL in the browser it indicated that the SOAP sytle/encoding as Document/literal. Perhaps that's what it dafults to when no explicit binding is specified. I got around this problem by explicitly specifying a RPC/literal binding in the WSDL in jdeveloper. This then showed-up the 2 parts distinctly in the EM test console.
    The 2^nd^ problem (which the main problem now) was that the web-service now started failing complaining about xsl transformation in the mediator
    +ORAMED-01201:[Error in transform operation]Error occurred while transforming payload using "{0}" for target part "{1}".Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.+
    Strangely I have correctly mapped the input & output parameters and the xsl is very simple having the 2 input parameters on the left being mapped to 2 corresponding parameters for the SQL where clause.
    And when I went to the EM dashboard to inspect the failure, the input payload did not show any input being passed to the xsl transform in the mediator. This is how the input looks
    +<message>+
    +<properties>+
    +<property name="tracking.compositeInstanceId" value="80053"/>+
    +<property name="tracking.ecid" value="f2d97d6a53d56c9f:-58326bb8:13e15e68aab:-8000-000000000000113d"/>+
    +<property name="transport.http.remoteAddress" value="10.110.173.159"/>+
    +</properties>+
    +<parts/>+
    +</message>+
    As you see above, the parts tag is blank; where it should contain part1 & part2
    To summarise, when I add an RPC/literal binding to the WSDL the input to the wsdl seems to get chopped off !
    Looking fwd to your help.
    -Sudripta
    Edited by: Sudripta on Apr 17, 2013 8:55 PM
    Edited by: Sudripta on Apr 17, 2013 9:05 PM

    Hi Boatseller,
    I will put this in simple way.
    Can we set properties in biztalk wcf_custom adaptor like 
    1. <security authenticationMode="UserNameOverTransport" 
    2. enableUnsecuredResponse="True" 
    or 
     includeTimestamp="false"
    3. <textMessageEncoding
    messageVersion="Soap11"/>
    <httpsTransport/>
    I am unable to find these properties in BizTalk wcf_custom adaptor properties. It will be great help if you could guide me in right direction . My problem is to receive response message into orchestration which is not having header. But the response is coming
    from web service. I saw that in fiddler.
    Also, If there is any steps to make these properties available in machine config, please share 
    Thanks in advance
    Vivek

  • Create an Alias in SICF for SOA Web Services

    We have various Enterprise Web Services (SOAP) which are available via URLs which look like this:
    https://oursapserver.ourdomain.com/sap/bc/srt/rfc/sap/zServiceX/100/ConfigY/bindingZ
    Whenever we change the interface (changing the Function Modules) we have to create a new Enterprise Web Service (and config and binding...) in SOAMANAGER and this is not only tedious but it means a new URL.
    We would like to have a fixed URL pointing to the latest version of the service. Something like:
    https://oursapserver.ourdomain.com/zws/serviceX
    When we create such an alias in SICF and point it to the above path and binding it does not work. We get a 500 error with the following response:
    HTTP/1.1 500 SRT: Unexpected failure in SOAP processing occurred: ("No Web service configuration for this access path: "/zws/serviceX"")
    content-type: text/html
    content-length: 0
    server: SAP NetWeaver Application Server / ABAP 731
    Can anyone explain this message, or suggest a solution?

    You'd get a different message if the address was already taken. The error you are experiencing has been reported numerous times, but I would assume that it was intermittent or we'd be hearing a lot more about it than we do. I'm afraid your only options are to try from time to time, or to attempt to navigate the shoals of the iCloud support system and ask them whether they can fix it.
    To contact  Support: if you currently happen to have AppleCare, either because you recently bought Apple hardware or have paid to extend the inititial period, you can contact them here:
    http://www.apple.com/support/icloud/contact/
    You will need the serial number of the covered hardware.
    If you are not covered by AppleCare, then - in common with other free email services - there is no free support and you may be asked to pay a fee - if so you should point out that this problem is their fault and you shouldn't be charged.

  • SOAPUI to Test SOA Web Services

    Hi,
    When we create a WSDL project and provides the WSDL url in relevant box in SOAPUI, it tries to fetch all the relevant artifacts locally to create the request and response. But in case of Oracle SOA, if the XSD's or Abstract wsdls are placed in Metadata Store (MDS --> oramds:/app/customer,xsd), understandably SOAPUI fails to fetch those artifacts hence unable to load the service client.
    Is there any workaround for this.
    Thanks in Advance

    Hi,
    Rather than using the developed WSDL file to create the SoapUI project, create the SoapUI project from the WSDL URL on the server (MDS) for the endpoint. You can get this in the /em console. If the composite has already been deployed then in /em navigate to the composite and click the 'Show WSDL and endpoint URI' icon. This will give you a WSDL URL with referential integrity that you can use to create the SoapUI project.
    If you've only deployed the WSDL resource to MDS then you can still get to the WSDL via it's URL. You can use any other composite deployed to the server, go to it's WSDL (as per previous) and within this WSDL use the abstract WSDL URL & just change the section of the URI that comes after the composite version number to the path to the resource you have deployed and want to use to create the SoapUi project.
    Hope this helps.

  • SOA Web Service xsd Schema Creation

    Hi,
    I want to create WebService with input Parameter as Dept Id and return data from emp table.
    eg. AFTER passing Input Dept Id = 20 WebService should RETURN below data.
    EMPNO     ENAME     JOB     MGR     HIREDATE     SAL     COMM     DEPTNO
    7369     SMITH     CLERK     7902     17-Dec-80     800          20
    7566     JONES     MANAGER     7839     2-Apr-81     2975          20
    7788     SCOTT     ANALYST     7566     9-Dec-82     3000          20
    7876     ADAMS     CLERK     7788     12-Jan-83     1100          20
    7902     FORD     ANALYST     7566     3-Dec-81     3000          20
    I created DB Adapter. However i could not create xsd schema for mapping.
    Could you please help me out how to create schema for multiple rows data.
    Thanks,
    Jit

    You should be able to use the following XSD for mapping.
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:complexType name="Request">
    <xsd:sequence>
    <xsd:element name="deptID" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Response">
    <xsd:sequence>
    <xsd:element name="empNo" type="xsd:string"/>
    <xsd:element name="eName" type="xsd:string"/>
    <xsd:element name="job" type="xsd:string"/>
    <xsd:element name="Mgr" type="xsd:string"/>
    <xsd:element name="hireDate" type="xsd:string"/>
    <xsd:element name="sal" type="xsd:string"/>
    <xsd:element name="comm" type="xsd:string"/>
    <xsd:element name="deptNo" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>

  • Web service data control based on SOA flow

    Hello,
    I have an ADF application developed with JDev 11.1.1.2.0. This application uses some web service data controls based on a SOA flow that receives a complex data type as an input parameter and also returns a collection of complex data type.
    I have a page that has some comboboxes boundto the input parameters for the flow, a button that is bound to an operation exposed by the web service and a table binded to the return of the web service.
    The problem is that when i press the button, multiple instances of the SOA web services are created.
    Can you please help with this problem?
    Thanks,
    Daniela

    Daniela,
    Are you executing the method programatically from bean? Can elaborate on what you mean by
    The problem is that when i press the button, multiple instances of the SOA web services are created. Also, check out this blog on executing the method programatically by constructing the parameters to be passed.
    https://blogs.oracle.com/aramamoo/entry/executing_put_operation_of_rest
    -Arun

  • Web service proxy and data control are not working properly

    Hi,
    I am working on jDeveloper 11.1.1.6
    I have a SOA web service which requires 3 inputs and return with a set of data.
    When I tried testing that web service in soapUI it is working perfect. But when I have created a web service proxy in my application and trying to test it from class (*******_ptClient) main method everytime it is replying with the output null
    Also When I am requesting from the main method SOA is getting proper input (which I am providing in the main method) and SOA is returning proper output I have checked the SOA instance in em. So there is no problem in SOA side.
    After that I have created web service data control and tested in that case also it is not showing any result.
    What could be the problem ?
    Please help.
    Thanks
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Shay Shmeltzer,
    Thanks for the reply.
    I tried in HTTP Analyzer in JDeveloper and there also it is not working. My concern is :-
    There are many other web services deployed on the same SOA server in same partition and they are working fine in HTTP analyzer and I am able to create and use the web service proxy as well. So as per my understanding there is nothing like network issues between SOA server and jDeveloper.
    1 more thing When I am creating the proxy for this web service and requesting from the proxy's main method SOA is getting proper input (which I am providing in the main method) and SOA is returning proper output I have checked the SOA instance in em. So there is no problem in SOA side. The problem is jDeveloper is not able to get back that response which SOA is returning.
    Please Help.
    -- NavinK

  • Issue with - Consume Web Services in a Messaging Only Scenario

    Hello,
    I am trying to consume a Oracle - SOA web service in BizTalk.
    1. I followed the below MSDN post,
    http://msdn.microsoft.com/en-us/library/aa560545%28v=bts.70%29.aspx
    but I am getting "The custom tool 'BtsDiscoCodeGenerator' failed." error.
    2. Tried another approach like the below blog
    http://blogs.msdn.com/b/amantaras/archive/2010/03/03/consuming-a-web-service-in-a-non-orchestration-scenario.aspx
    In this case, I am getting this error
    "A message sent to adapter "SOAP" on send port "xxx" with URI "<<WSDL>>" is suspended.
     Error details: Failed to serialize the message part "ProcessPOAck1" into the type "ProcessPOAckType" using namespace "xxx". Please ensure that the message part stream is created properly. "
    I made sure there are no data type errors... I have copied the message to SoapUI and tested successfully. The message (output from BizTalk map) does not have soap envelop though. I had to copy
    the message in
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <<some name spaces>>
       <soapenv:Header/>
       <soapenv:Body>
       </soapenv:Body>
    </soapenv:Envelope>
    tags to submit a request successfully.
    Any help in this regard is greatly appreciated.
    Thanks,
    Venkat.

    Why are you using the SOAP adapter instead of the WCF Adapter?  I think the only way to do that would be with some fairly heavy custom pipeline components. 
    Using the WCF Adapter, this is very easy - you just need to subscribe to the result message from the web service call - not a big deal, just play with the promoted properties and see what you have; normally SPName.  This can be sent to a file location
    with Overwrite set so that you never run out of disk space (if you don't care about the content response). 
    -Dan
    If this answers your question, please Mark as Answer

  • How to pass username/password to BPEL web service from java proxy?

    Hi all,
    Environment : SOA Suite 11g
    I am using basic http authentication in my SOA services using "oracle/wss_http_token_client_policy" policy. Now i need to invoke these SOA web services from a java proxy.
    Please let me know how this can be done.
    Thanks in advance

    Have you tried the below posts ?
    BPEL to invoke Webservice secured with HTTP Basic authentication
    Invoke a BPEL process using HTTP Basic Authentication
    http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm#CHDBAHBI
    Thanks,
    Vijay

  • Have Error invoking SSL web service using pl sql procedure

    Hi All,
    Please any one can tell where i am going wrong,in calling ssl soa web service from plsql procedure.
    Below steps i followed ssl configure in soa server
    1- For configuring ssl in soa 11g, i am going to weblogic console->environment-> servers-> soa_server1-> check ssl box of port 8002.
    2- restart the server.
    3- One process i devloped, deployed in em console, while trying to acces the service with 8002 port, i need to use https://servicepath.
    Is there is any problem in the above approch for configuring ssl in soa server.
    Now coming to the procedure part, in below i given the deatails
    DECLARE
    HTTP_REQ UTL_HTTP.REQ;
    HTTP_RESP UTL_HTTP.RESP;
    URL_TEXT VARCHAR2(32767);
    lv_process_xml_body varchar2(4000);
    BEGIN
    DBMS_OUTPUT.ENABLE(1000000);
    lv_process_xml_body:='<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body xmlns:ns1="http://xmlns.oracle.com/SOA_RND_jws/Sample/DemoBPELProcess">
              <ns1:process>
                   <ns1:input></ns1:input>
    </ns1:process>
    </soap:Body>
    </soap:Envelope>';
    UTL_HTTP.SET_WALLET('file:/db/oracle/app/oradb/product/11.2.0/dbhome_1/bin/client', 'abcd123');
    HTTP_REQ := UTL_HTTP.BEGIN_REQUEST('https://172.28.40.20:8002/soa-infra/services/Client/Sample/demobpelprocess_client_ep', 'POST' , 'HTTP/1.0');
    UTL_HTTP.set_header(http_req, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header(http_req, 'Content-Length', LENGTH(lv_process_xml_body));
    UTL_HTTP.SET_HEADER(HTTP_REQ, 'SOAPAction', 'process');
    UTL_HTTP.write_text(http_req, lv_process_xml_body);
    HTTP_RESP := UTL_HTTP.GET_RESPONSE(HTTP_REQ);
    UTL_HTTP.END_RESPONSE(HTTP_RESP);
    dbms_output.put_line('success');
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    END;
    But i am getting the error, unable to open the file
    Regarding certificate i have taken from the browser while running the above soa service in browser with 8002 port.
    Please let me know where i am doing wrong...
    Please if some one knows about steps ...... to do it to work
    Its urgent please help me out on this
    Thanks
    Dillip
    Edited by: 903915 on Dec 21, 2011 9:51 PM
    Edited by: 903915 on Dec 21, 2011 10:11 PM

    Oracle is hosted by HOST A - this is where the pl/sql program resides.
    The Web Service being accessed by pl/sql program is hosted by HOST B and there are 4 firewalls in between.
    Oracle was not even able to establish connection to web services host.
    Escalated the issue with networking folks and they resolved the connectivity problem.
    Hope that helps.

  • Coldfusion invoke web service

    I am trying to invoke a web service and I'm getting an error.
    Error 401 Unauthorized.  Unable to read WSDL from URL: http://servername/generation/bj/TestCalculation.wsdl.  An exception occurred while invoking an event handler method from Application.cfc. The method name is: onRequest.
    I can put the URL in the browser and it will pull up the WSDL. I can call this from a flex program and it will work fine.  I don't know much about Flex and I'm just learning it so I wanted to see if I could get it to work with ColdFusion.  
    Here is the CFC I created:
        <cffunction name="myCalcFunction" access="remote" returntype="any">
                <cfinvoke
         webservice="http://servername/generation/bj/TestCalculation.wsdl"
         method="TestCalculation"
         returnvariable="response">
         <cfinvokeargument name="number1" value="#arguments.number1#"/>
         <cfinvokeargument name="number2" value="#arguments.number2#"/>
       </cfinvoke>
      <cfreturn response>
    </cffunction>
    Can anyone point me in the right direction of what I can do?
    thanks for the support.
    BJ

    BKBK -
       I'm new to SOA/web services so maybe I'm not saying it right but I don't think we are on the same page.  In the defintion, the WSDL is just an XML based file used to describe the functionality offered by a web service. I don't need to know anything about the service except the inputs and outputs and the URL to call the WSDL.
    I created a service to calculate two numbers and return the result using a software called NextAxiom that my company has.  This service is not sitting on our web server but on one of our machines on our network.  See below for the WSDL file I have listed.  I was just trying to use some of the standards that I read about and was using a CFC to invoke the web service so any CFM program would be able to call the CFC and not put it in the CFM program.  But for now I can just put in the invoke tag in my CFM code:
      <cfinvoke
                webservice="http://localhost/TestCalculation.wsdl?wsdl"
                method="TestCalculation" refreshwsdl="true"
                returnvariable="response">
                <cfinvokeargument name="number1" value="5"/>
                <cfinvokeargument name="number2" value="6"/>
                                  </cfinvoke>
    <cfdump var="#response#">
    Doing this, I can run the CFM program and it will come back with 11.  This works great on my local CF server.  When I try and run it on my dev machine I get the 401 unauthorized error. (yes I change the path of the wsdl to the path that the WSDL is on my dev web server.)
    So it looks like some type of permission problem.  My question is where do I look?
    thanks for all replys,
    BJ
    Here is my WSDL file.  If you notice the bold line at the bottom, that is the server where my service is.
    <!-- 
    Automatically generated 09/23/2011 by Hyperservice Business Platform, NextAxiom Technology, Inc.
    -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:tns="http://www.nextaxiom.com/soapservice/TrainingBJ.TestCalc.TestCalculation/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsd1="http://www.nextaxiom.com/soapservice/xsd1" name="TrainingBJ.TestCalc.TestCalculation"targetNamespace="http://www.nextaxiom.com/soapservice/TrainingBJ.TestCalc.TestCalculation/wsdl"> 
    <types> 
    <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"targetNamespace="http://www.nextaxiom.com/soapservice/xsd1"> 
    <element name="TestCalculation"> 
    <complexType> 
    <sequence> 
    <element name="number1" type="long"/> 
    <element name="number2" type="long"/>
    </sequence>
    </complexType>
    </element>
    <element name="TestCalculationResult"> 
    <complexType> 
    <sequence> 
    <element name="result" type="long"/> 
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="TestCalculationRequest"> 
    <part element="xsd1:TestCalculation" name="TestCalculation"/> 
    </message>
    <message name="TestCalculationResponse"> 
    <part element="xsd1:TestCalculationResult" name="TestCalculationResult"/> 
    </message>
    <portType name="TrainingBJ.TestCalc.TestCalculationSoapPort"> 
    <operation name="TestCalculation"> 
    <input message="tns:TestCalculationRequest"/> 
    <output message="tns:TestCalculationResponse"/>
    </operation>
    </portType>
    <binding name="TrainingBJ.TestCalc.TestCalculationSoapBinding" type="tns:TrainingBJ.TestCalc.TestCalculationSoapPort"> 
    <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/> 
    <operation name="TestCalculation"> 
    <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:doc?in=TestCalculation?out=TestCalculationResult?path=TrainingBJ.TestCalc.TestCalculat ion"/> 
    <input> 
    <soap:body use="literal"/> 
    </input>
    <output> 
    <soap:body use="literal"/> 
    </output>
    </operation>
    </binding>
    <service name="TrainingBJ.TestCalc.TestCalculation"> 
    <port binding="tns:TrainingBJ.TestCalc.TestCalculationSoapBinding" name="TrainingBJ.TestCalc.TestCalculationPort"> 
    <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://nextaxb:7777/NXAServer/NextAxiomServer"/> 
    </port>
    </service>
    </definitions>

Maybe you are looking for

  • Help - Multiple errors occurred on the server while processing commands

    I am trying to start ical server on a fresh install of os x server 10.5, but I receive the following error messages: "Multiple errors occurred on the server while processing commands. Use the console application to view the error message" then I hit

  • How to find out that sequence has finished loading?

    Hello, i have a custom C#-OPUI to load and execute testplans. I do this using these funtions: 1. ApplicationManager.OpenSequencFile(filename) 2. ??? 3.Command TestStart = axSequenceFileViewMgr.GetCommand(.......) TestStart.Execute(true) The question

  • Internal Keyboard is not working ocasionally.

    I have a black macbook from mid 2007 that has been running fine except sometimes when I put it to sleep when I try to log back in the keyboard and trackpad are unresponsive. This has happened a few times before I had leopard installed and a couple of

  • Missing Exif Metadata in Version 1.4.1

    It seems as if not all possible metadata fields show up in the metadata panel. Specifically, I do not see an EXIF/Image field called Image Description. I added data to this field in a different application (ACDSee) but it does not show up when I impo

  • Urgent : Smartforms: Direct printing from module pool/dialog screen

    Hi all, i have a module pool screen where in from a screen i have some inputs from the user and after saving user wud click on a button called print which shud print a slip containing the screen data.now for this purpose i have made a smartform which