PL/SQL Web Service Optional Parameters

I have created a PL/SQL web service and deployed successfully using Jdeveloper 10.1.3.5. The database is 9.2.0.8.
When the web service request is made, all is well if all parameters are passed.
I have been told that the request might come with some but not necessarily all of the parameters expected by the PL/SQL procedure.
Is it possible when deploying through JDeveloper to indicate that all parameters might not be present?
This is my first web service. Thanks in advance for your assistance.

Parameters relate to procedures. Web Services require XML messages.
Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
Just package up the values into the XML and pass it to the web service.
If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

Similar Messages

  • Oracle PL/SQL Web service - dynamic parameters... possible?

    Oracle 11.2.0.3 - newbie on web services!
    Currently we have a pl/sql web service taking in 2 static parameters and returning a varchar2 response.
    I was asked today if it's possible for a web service to take in a dynamic set of parameters and return a corresponding set of results. It's as if I need to pass the web service a table with two columns and return a table of one column.
    For example:
                        Input                          Output
              1 2                             3
              3 4                             7
              5 6                            11output being in XML of course. It is possible?
    p.s. I posted this in OC4J also - no response hence the re-post !

    Parameters relate to procedures. Web Services require XML messages.
    Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
    Just package up the values into the XML and pass it to the web service.
    If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

  • PL/SQL Web services working with synonyms but not parameters Collection

    Hi
    I am Using JDeveloper 10.1.3.1.0
    i could able to test successfully the PL/SQL web services with the synonyms.I created the PL/SQL web services in 'MKI' schema and then i dropped the objects from the MKI schema and launched the same in 'BAS' Schema and given grants to MKI schema and Created the Local synonyms in Schema 'MKI' and now when i test the PL/SQL web service, it is working successfully.
    There was problem with passing the collection types as parameters in web services in that case it is giving the following Error
    "Internal Server Error (Caught exception while handling request: java.rmi.RemoteException: java.sql.SQLException: Internal Error)"
    Could any one suggest me the reason for the above error?
    Regards
    Malathi

    Just a clarification about the problem.
    Even though, if an exception is raised, the Connection object will be eventually closed(), it may take a while and if there are lots of users getting exceptions at the same time the connection pool can quickly run out of connections (correct me if I am wrong please.)
    That is why we think the Connection object should be immediately closed in the case of an exception is raised and we are looking for a fix for this.
    Thanks
    Luis

  • PL/SQL Web Service altered method names

    Using JDev 10.1.3 production, creating a web service from a PL/.SQL procedure results in 3 names for the service. Why is this? Will it change in a future release?
    PL/SQL parameter list:
    procedure calc_slots(pdrive in out varchar2,
    pName in varchar2,
    pfunc in number,
    pstart in date,
    pend in date,
    pwbslots in number,
    pbkst in date,
    pbkend in date,
    pOutval out varchar2,
    pautoequip in number := 0,
    pautoslots in number := 0) is
    Method 1:
    calcSlots
    parameters
    xsd:string pdrive_inout =
    xsd:string pname =
    xsd:decimal pfunc =
    xsd:dateTime pstart =
    xsd:dateTime pend =
    xsd:decimal pwbslots =
    xsd:dateTime pbkst =
    xsd:dateTime pbkend =
    Method2:
    calcSlotsvSSBTTBTTSB
    parameters
    xsd:string pdrive_inout =
    xsd:string pname =
    xsd:decimal pfunc =
    xsd:dateTime pstart =
    xsd:dateTime pend =
    xsd:decimal pwbslots =
    xsd:dateTime pbkst =
    xsd:dateTime pbkend =
    xsd:decimal pautoequip =
    Method3:
    calcSlotsvSSBTTBTTSBB
    [parameters
    xsd:string pdrive_inout =
    xsd:string pname =
    xsd:decimal pfunc =
    xsd:dateTime pstart =
    xsd:dateTime pend =
    xsd:decimal pwbslots =
    xsd:dateTime pbkst =
    xsd:dateTime pbkend =
    xsd:decimal pautoequip =
    xsd:decimal pautoslots =
    }

    Yes, we tried with databse adapter with out any problem. we want specifically with the PL/SQL Web service using the web service wizard.
    Thanks in advance.

  • PL/SQL Web Service

    I need Web Service from PL/SQL package but,I can not see
    All Technologies
    Business Tier
    Web Services -> PL/SQL Web Services.
    in the new Galery wizard of Jdeveloper(Studio Edition Version 11.1.1.0.1)
    Also "Publlish as Web service" menu doesn't appear when i make right click while selecting a PL/SQL package on the db connnection navigator.
    Please help me if you know the reason.

    Oracle removed this option or really good hide it in the final version of jdeveloper 11g
    But there is hope you can do it yourself with eclipselink , they have a great wiki page with all the options plus you have control how you make this ws
    Here an example to make a quickstart
    http://biemond.blogspot.com/2009/01/create-plsql-webservice-in-jdeveloper.html
    thanks Edwin

  • Jdeveloper 11g R2 problem when publishing PL\SQL Web Service

    Hi Guys,
    I have been banging my head against the wall for the past few days trying to publish pl\sql package as a web service on a weblogic 10.3 but I keep running into the same problem.
    PL\SQL Package Source below
    create type dept_type as object
    (deptno NUMBER,
    dname VARCHAR2(50),
    loc varchar2(13),
    cr_date date)
    create type dept_list_table is table of dept_type
    purge recyclebin;
    create or replace package ws_package as
    procedure test_dept_table (pout out dept_list_table);
    end ws_package;
    show errors;
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    all_depts dept_list_table := dept_list_table();
    dRecType dept_type;
    i number := 0;
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    dRecType := dept_type(null, null, null, null);
    dRecType.deptno := r_list.deptno;
    dRecType.dname := r_list.dname;
    dRecType.loc := r_list.loc_id;
    dRecType.cr_date := sysdate;
    pout.extend;
    pout(i) := dRecType;
    end loop;
    end test_dept_table;
    end ws_package;
    show errors;
    I go and create PL\SQL Web Service using default settings in Jdeveloper 11g R2 but when I try and test this page I get the following response:
    Failed to invoke end component servqa.MyWebService1User (POJO), operation=testDeptTable -> Failed to invoke method -> java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00306: wrong number or types of arguments in call to 'TEST_DEPT_TABLE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Anyone have any idea what the problem may be? Your help would be much appreceated!
    Bojan

    Hi Frank,
    I think the problem is in any procedure that has a COMPLEX TYPE as OUT parameter. So even if you strip down the procedure to just do nothing I still get the error as described in my top post. Passing complex parameters as IN parameter work fine its only when I have procedure with complex out when it errors. I also tried function that returns object parameter and that works fine too so not sure why this doesnt?
    create or replace package body ws_package as
    procedure test_dept_table (pout out dept_list_table) is
    begin
    -- iterate through all depts
    for r_list in (select * from dept) loop
    i := i + 1;
    end loop;
    end test_dept_table;
    end ws_package;
    Not sure if I am meant to do anything extra before I generate Web Service using JDeveloper if my procedure has got PL\SQL types as OUT parameters but as far as I know JDeveloper should do all the type conversions for you??
    Thanks
    Bojan

  • Testing PL/SQL Web Service Error

    I've generated a web service using JDev 10.1.2, ran it in the embedded OC4J Server. I then generated a stub to test it with, browsed to the web service wsdl file in the original project, and ran the stub. The stub project returns the error:
    SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>java.lang.NoClassDefFoundError:
    I'm not sure what I should be looking for to track this down. Is it a bug in my stub, or in my web service? In order to keep things simple, the stored procedure only takes a few strings, and I've double-checked the values and order of parameters I'm passing. Anybody have any ideas?

    I got this figured out, just blew away my projects
    and started over, and it worked. Now that I've got
    it working in a test environment, how do I get it
    into production? Is Oracle's AS the only AS you can
    use to deploy a PL/SQL web service?The OrindaBuild Plugin for JDev 10.1.2 writes Java classes to run PL/SQL that work with Apache Axis 1.1 and should work with almost any web service toolkit.
    www.orindasoft.com
    David Rolfe
    Orinda Software.

  • PL/SQL web services, removed in JDev 11?

    hello,
    I cannot seem to find this option anymore.
    has it been removed?
    I cannot understand why it was removed if it is.
    I know quite a few companies who rely heavily on these webservices.
    Someone prove me wrong and show me where they are!
    Anton

    The short answer is yes, we plan to reintroduce this functionality in a way that is compatible with Oracle WLS.
    A limited version of this feature is actually still present in JDev 11g, but it's harder to find.... From the DB Connection Navigator, you can right click on a Package and "Publish as a Web service".
    Although simple PL/SQL web services are present, and appear to work in 11g, there are some significant limitations of what's there right now. Most notably, there's no way to attach policies.
    At this point, I can't guarantee that we'll be able to put the menu item back in the New gallery in a patch release, but I would expect the option to be back in the next feature-bearing release.
    Brian
    Product Manager

  • Error when invoking pl/sql web service from bpel

    Hi!
    I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
    "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault>
    <part name="code" >
    <code>Server.userException</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
    </part>
    <part name="detail" >
    <detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
    </part>
    </remoteFault>
    Can anybody please tell what could be the problem,
    Thanking in advance,
    Deepika.

    www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file

  • Creating PL/SQL web services from PL/SQL records

    Hello
    Jdeveloper does not allow to create web services from pl/sql packages that use PL/SQL records.to do this,we have to use the jpublisher ?without using the jpublisher,if we create a webservice then the following error is displayed in the web service xml output file.
    <faultstring>Internal Server Error (Caught exception while handling request: java.rmi.RemoteException: java.sql.SQLException: ORA-06550: line 1, column 49: PLS-00181: unsupported preprocessor directive '$WS_SP_EVEN' )</faultstring>
    </env:Fault>
    Could any one suggest me, how to solve the above issue..?
    Regards
    Malathi

    Thank you, with db adapter it was working and also
    pl/sql web-services working successfully with object types.If we want to send the web-services to the client, do we need to send the entire folder that is created in the web-services folder of the external oc4j..?
    Creating the client process:
    we are using the wsdl file that is generated in the web-services and adding to the partner link to Invoke the operations of web-services. Is there any other way to invoke the webservices?Could any one please suggest me?
    Thanking you
    Malathi

  • Creating PL/SQL web services from object types

    Hello
    Jdeveloper, pl/sql web-services working successfully with object types.If we want to send the web-services to the client, do we need to send the entire folder that is created in the web-services folder of the external oc4j..?
    Creating the client process:
    we are using the wsdl file that is generated in the web-services and adding to the partner link to Invoke the operations of web-services. Is there any other way to invoke the webservices?Could any one please suggest me?
    Thanking you
    Malathi

    Hello
    Accessing the pl/sql webservices from the application server:
    I have created pl/sql webservice using the nested tables. This will insert the object data into database tables.after deplying the webservice into external oc4j, when I test the webservice locally with url: http://localmachine:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
    The above web-services working and I am able to insert into the database tables.
    Same when I want to access through the application server, I have changed the wsdl file soap address as
    <soap:address location="http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort"/>
    When I access this url, I am able to give the input data
    http://10.91.20.7:8888/PL_SQL_WS-Nest_Obj_Webservice-context-root/ObjWebserviceSoapHttpPort
    but the out from the web-service is:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>Error creating target: DBConnImpMftest.ObjWebserviceUser</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Err from the OC4j log:<PAYLOAD>
    <MSG_TEXT>An error occurred for port: {http://dbconnimpmftest/Nested_Webserv.wsdl}Nested_WebservSoapHttpPort: javax.xml.rpc.JAXRPCException: Error creating target: dbconnimpmftest.Nested_WebservUser.</MSG_TEXT>
    </PAYLOAD>
    Could any one help me to solve the above issue?
    Kind regards
    Malathi

  • How can I return multiple values with PL/SQL Web Services

    Hi,
    I'm new to developping Web Services. I'm doing some tests with JDeveloper and OC4J on my local machine with a Web Services based on a PL/SQL function within a package. Right now that function only returns one value. So the xml response only has one output.
    I'd like to know how can I return multiple values with my PL/SQL Web Service. For example, if I want to return an employee's name and id? And that the xml contains two output : <employee>, <empid>?
    Reginald
    ps : I have searched the forum and I couldn't find an answer to this question, if that has been discussed AND answered before, can you please post the link? Thanks

    Alright, I actually found my answer. Since this was asked I think as a followup somewhere else I'll give my answer.
    It is very simple, all you have to do is create an Object Type and then Return that object type. After that, JDeveloper will take care of everything and you will have an xml response with multiple values. Here
    {color:#ff0000}
    create or replace TYPE person AS OBJECT
    ( id_interv number,
    first_name VARCHAR2(50),
    last_name VARCHAR2(50),
    date_birth date
    );{color}
    Then your function used in your Web Service should look something like this :
    {color:#ff0000}
    function info_emp (p_empno IN VARCHAR2) RETURN person AS
    l_emp person := person(-1,'','','');
    BEGIN
    SELECT first_name
    ,last_name
    ,emp_no
    INTO l_emp.first_name
    ,l_emp.last_name
    ,l_emp.emp_no
    FROM emp
    WHERE upper(emp_no) = upper (emp_no);
    {color}
    {color:#ff0000}
    RETURN l_emp;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    l_emp := person (-1,'n/a','n/a','n/a');
    RETURN l_emp ;
    END info_emp;{color}
    {color:#ff0000}{color:#000000}After that, this is what the xml response looks like :{color}{color}
    &lt;first_name xsi:type="xsd:string"&gt;John&lt;/first_name&gt;
    &lt;last_name xsi:type="xsd:string"&gt;Doe&lt;/last_name&gt;
    &lt;emp_no xsi:type="xsd:string"&gt;0250193&lt;/emp_no&gt;

  • Error while running PL/SQL Web Service in JDeveloper

    Hi,
    I am trying to run a PL/SQL Webservice example available on OTN site. Below mentioned error is occurring when running the program:
    *************** Error Stack Begin **********************
    D:\DevSuiteHome_1\jdk\bin\javaw.exe -ojvm -classpath D:\DevSuiteHome_1\jdev\mywork\WebServiceOBE\PLSQLWebService\classes;D:\DevSuiteHome_1\sqlj\lib\runtime12ee.jar;D:\DevSuiteHome_1\jdbc\lib\classes12.jar;D:\DevSuiteHome_1\jdbc\lib\nls_charset12.jar;D:\DevSuiteHome_1\jdev\lib\jdev-rt.jar;D:\DevSuiteHome_1\soap\lib\soap.jar;D:\DevSuiteHome_1\lib\xmlparserv2.jar;D:\DevSuiteHome_1\jlib\javax-ssl-1_2.jar;D:\DevSuiteHome_1\jlib\jssl-1_2.jar;D:\DevSuiteHome_1\j2ee\home\lib\activation.jar;D:\DevSuiteHome_1\j2ee\home\lib\mail.jar;D:\DevSuiteHome_1\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=instpisa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.sierraopt.com|nshore|localhost|127.0.0.1 mypackage2.MyWebService1Stub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resource /WebServiceOBE-PLSQLWebService-context-root/MyWebService1 not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at mypackage2.MyWebService1Stub.getEmp(MyWebService1Stub.java:86)
         at mypackage2.MyWebService1Stub.main(MyWebService1Stub.java:40)
    Process exited with exit code 0.
    *************** Error Stack End **********************
    Please would anyone help me by providing clues to resolve this issue.
    Thank you.
    Regards,
    Balu

    Thanks Frank.
    In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
    Now I want create web service that return my clob(xml).
    I try use JDevelper with PL/SQL Web Service Wizard.
    But I get wrong result (see in my first post).
    My Example xml in clob
    <test>"testvalue"</test>
    I want get responce
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result><test>"testvalue"</test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    But I get
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
    Date: Thu, 28 Oct 2010 08:23:31 GMT
    X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
    Content-Length: 279812
    X-HTTPAnalyzer-RuleName: Pass through :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header/>
    <env:Body>
    <m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
    <result>& lt;test>&amp;quot;testvalue&amp;quot;& lt;/test>
    </result>
    </m:udoFDicnomnsXmlWsResponse>
    </env:Body>
    </env:Envelope>
    Can you advice something?
    Edited by: user10707438 on 28.10.2010 1:14
    Edited by: user10707438 on 28.10.2010 1:27

  • PL/SQL web service quickstart not works

    Hello, I am newbie to Oracle, so I follow steps in Publish PL/SQL as Web Service on my own PL/SQL package which works fine against .net framework. Package is on 8.1 and is named ENKI_PKG if it counts. It returns REF CURSOR from three procedures.
    Tutorial looks fine, until step 2/3: Select program units to publish. I didn't see there my procedures. Any suggestions from pros?

    You might want to read this paper:
    http://otn.oracle.com/tech/webservices/htdocs/dbwebservices/Database_Web_Services.pdf
    It talks about approaches to dealing with unsupported types like REF CURSORS - this is an area of focus that the PL/SQL Web services team is looking to automate in a coming release.
    Mike.

  • PL/SQL Web Service: Broken Pipe

    We have successfully deployed PL/SQL Web Services on the Oracle Application Server 10g with about 6 containers. The web services are being consumed by a .NET application. All seems to be working well but we continually are having intermittent (every 2-3 days) "BROKEN PIPE" errors which is causing us to bounce the container constantly. This is not very effecient for a production environment. Does anybody have any ideas........? Here is what shows up in the log:
    javax.servlet.ServletException: Io exception: Broken pipe
    at swprodweb.__Ws_reservationImplSPWrapper.destroy(__Ws_reservationImplSPWrapper.java:605)
    at oracle.j2ee.ws.RpcWebService.destroy(RpcWebService.java:93)
    at com.evermind.server.http.ServletInstanceInfo.destroy(ServletInstanceInfo.java:127)
    at com.evermind.server.http.HttpApplication.destroyServlets(HttpApplication.java:5805)
    at com.evermind.server.http.HttpApplication.destroy(HttpApplication.java:5732)
    at com.evermind.server.http.HttpSite.destroy(HttpSite.java:881)
    at com.evermind.server.http.HttpServer.destroy(HttpServer.java:613)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2033)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:39)
    at java.lang.Thread.run(Thread.java:534)
    So everytime I see this error I know that we have to bounce the container. Very Frustrating!!

    Hi,
    Although it's a long time since you posted your message, I nowadays working with this issue, that is, calling web services from Oracle database 10g through UTL_DBWS package. It turns out that almost 3 of 100 requests fail due to this error (broken pipe). Actually, the trace is:
    ERROR on line 1:
    ORA-29532: Java call finished due to an unresolved exception: HTTP
    transport error: javax.xml.soap.SOAPException:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message
    send failed: send failed
    Broken pipe
    ORA-06512: en "SYS.UTL_DBWS", línea 403
    ORA-06512: en "SYS.UTL_DBWS", línea 400
    I'm looking for the cause of this error. Has anyone any idea about this?
    Thanks a lot.
    Luis Serrano.

Maybe you are looking for

  • How can I disable my MobileMe account as sender in the iOS Mail app?

    Ever since I logged on to iCloud in OS X Mountain Lion (10.8.0, 10.8.1), I've noticed that in Gmail (using the Mail app for iOS), on my iPhone running iOS 5.1.1, the sender appears to be my MobileMe account (an account I had to use a while back when

  • Itunes 7 and quicktime wont install

    Neither itunes 7 or the latest quicktime will install since I recovered my system and installed all the latest windows updates. I get the ol' "installer incountered errors before itunes could be configured, try again at a later time." popup. I tried

  • Problem to show pictures on my TV

    When I convert RAW-files with Lightroom 5 I can't show them on my TV. Same problem with editet files using Elements!!. Using Digital Photo Pro no such problem. Why???

  • Can a stolen MacBook Pro be disabled by Apple?

    Is there any way for Apple to disable a MacBook Pro that was stolen?

  • Out of Perm space

    I'm getting out of perm space in an uncertain condition. The problem can be reproduce with all those settings: Tomcat 4.1.27 , J2SDK 1.4.1_02 , SunOS 5.8 sparc. Tomcat 4.1.27 , J2SDK 1.4.2_01 , Windows 2000 pro. Tomcat 5.0.16 , J2SDK 1.4.2_01 , Windo