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>

Similar Messages

  • 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

  • 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;
    /

  • 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

  • Process Web Service - XML Schema

    Hi
    I'm new to ALBPM and currently trying to learn about exposing a Process as a WebService. Specifically is it possible to use a XML Schema defined in the Catalog as an argument to the process Web Service? I've tried this and found the generated WSDL didn't include the Schema in the operation. This was using the Process Web Service menu item.
    The Fast Trak codes sample passes in XML as a String and parses it back into an XMLObject in Pbl. Is this the best practice way to do it?
    // Convert XML String to XML Object
    load orderXML
    using xmlText = orderRequest
    Is there a sample project on dev2dev that shows an alternative approach using a Schema?
    thanks
    Ben

    I'm new to web services, but we are currently
    implementing a number of Web Services that all take
    as arguments a single parameter which is an XMLBean,
    which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP
    message to the Web Service (through the http Web
    Service Tester inside eclipse), I can send any valid
    XML without getting a SOAP fault. Is there a way on
    the Web Service that I want the XML submitted to be
    validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input
    argument validation, and there doesn't appear to be a
    standard way to do this. I must be missing soemthing
    surely? Why else would the Schema be in the WSDL?
    Cheers
    JohnHas anyone found an answer to this, we have the same issue?

  • 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.

  • [推荐] 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 的基础教程阿?

  • 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.

  • A simple web service security scheme

    I've been doing some prototyping for a public web service. Because some of the operations involve confidential data, I'm particularly concerned with ensuring that I have a reasonable security scheme in place. At the same time I want to ensure the broadest possible access to my service, regardless of web platform or environment that clients may use.
    I took a look at the security schemes of some big web service providers and tried to concoct something that is at least as secure in the context of JAX-WS 2.0. The prototype is spread across a few posts in my blog:
    http://xocoatl.blogspot.com/2006/09/web-service-security.html
    http://xocoatl.blogspot.com/2006/10/implementing-web-service-security.html
    http://xocoatl.blogspot.com/2006/10/implementing-web-service-security_23.html
    http://xocoatl.blogspot.com/2006/10/implementing-web-service-s_116166891860478135.html
    Any and all feedback is appreciated. Thanks.

    I am getting the same error as describes in this thread.
    http://forum.java.sun.com/thread.jspa?threadID=715624&messageID=4152590
    How can i solve this error.
    Message was edited by:
    Ajaxrand

  • XML Beans in Web Services / .xsd compilation

    Hello friends -
    I've been told of many wonderful things that can be accomplished by using XML
    beans in web service style integrations. However, I'm running into trouble actually
    getting anything done and was hoping someone could give me a few pointers. I'm
    trying to work inside Workshop 8.1 with the BEA server (i.e., not platform)
    - Documentation seems to reference the ability to compile an .xsd in order to
    get an XML Bean class representing your XML. However, I cannot find anything
    telling me how to do this. Is this supported in Workshop?
    - I'm only showing some classes referenced in the XML Beans Javadoc area as available
    inside my workshop IDE. For example, com.bea.xml.XmlBeans is not available.
    Is this a result of me using Server as opposed to the more complete Platform
    product?
    - Does anyone have a simple example .jws that utilizes a XML bean as an input
    or output? If so, I'd love to see it.
    Thanks so much.
    CM

    Hi,
    I thought passing XMLs was supported using SOAP. In this case, the XML data in the SOAP body is type "string" and the namespace of the XML inside separates it from the rest of the SOAP package. Can I do the same with...say... Web Dynpro where the WSDL is used to generate proxy classes. How do I add a namespace in the SOAP header so that I can add the XML in the body?
    I propose that life would be much easier if a datatype called XML, or some option before the WSDL is imported to create proxy classes is available which creates a wrapper for adding XML data. Far fetched...but can be done. Whats you opinion?
    Regards,
    Nirav Mehta

  • IDOC or Web service for Vendor creation/updation from XI to R/3

    Hi,
    We have a scenario whereby the vendor master details in R/3 need to be created/updated by the data sent from XI. We are on XI 3.0 and R/3 ECC5.
    The options that we need to analyse best suiting the requirement are whether to use Web Service or whether to use IDOC.
    I am not very experienced in the usage of Web Service so it will be very helpful if you could please help me with the scenario build up and how it will update the records in R/3.
    From the point of view of the IDOC usage, the standard IDOC CREMAS03 is available to update the Vendor master data whereby the data is sent to XI in XML format and the data is mapped to IDOC structure and pushed out to R/3. I have checked the SDN forums and there have been discussions baout certain settings that need to be configured first to enable this IDOC scenario.
    Can you please help me in analysing which option to go for and what are the pros and cons of both and the complexity of implementation and if there are any rerequisites that need to be met for either option?
    Please advice.
    Regards,
    Archana

    Hi,
    Thanks for the suggestions and I personnaly favour the IDOC. However, the solution is not only looking at creating new Vendors in the R/3 system but also looking at updating the existing Vendors with the incoming data form the 3rd party.
    Can the same standard IDOC create and update the vendors or do I need to look at 2 different IDOCs?
    There will be a daily polling of data files via XI. The file format is going to be .txt and will be comma seperated.
    Is there any way of checking in XI itself the file duplication before transferring the data to R/3 as and when the files are received?
    On R/3 side, we were currently thinking of going forward with ABAP proxy which can create IDOC and then send the mail or somehow inform the business that some data was incorrect and therefore the IDOC's were not created for them or should we do it via RFC?
    We will also go forward with the custom table contianing the file names received till now to check for the sequence serial number.
    Please advice.
    Regards,
    Archana

  • 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.

  • Error in Web service creation in CRM 7 Ehp1

    Hi,
    I am trying to define a web service  for the creation of letter templates in CRM 7 Ehp1 system
    using the WS_DESIGN_TOOL .But it is giving me error.
    The component GDCOIC ,Root object GDCOIRoot, does not have the key structure defined .
    So the system does not allows me selection of attribute Virtual Object for IC Web(GDCOIRoot).
    Can someone give me a head start as in what could be done ?
    Thanks ,
    Jaya

    issue resolved:)
    version issue..
    SAP NOTE (0001584041 Creating service object from GDCOIC component impossible) implemented.

  • 10.1.3.3 JDev web service client proxy: Issue with XSD:anySimpleType

    Hi,
    One of our Web services XSD elementss has "anySimpleType" as the type:
    <xsd:element name="Value" type="xsd:anySimpleType" minOccurs="0" nillable="true"/>
    The client proxy is generated using JDev 10.1.3.3. We observed that the corresponding Java object is created with "String" data type:
    protected java.lang.String value;
    exp.setValue("100");
    We need to be able to pass arguments with other simple types as well (E.g. Decimal). We tried changing the auto generated code, but weren't successful.
    Any pointers in this regard are much appreciated.
    Thanks,
    Phani

    Hi all,
    can anyone please respond to my issue. Its sort of urgent.
    thanks,

  • 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

Maybe you are looking for