Web Service help - ORA-30625: method dispatch on NULL SELF errors

Hi All
I could do with some assistance getting Web service's up & running on my application
I've been following this guide but altering to fit in with our internal web services... the Internet police here at work have youtube blocked off so unable to test end to end using the OTN tutorial
I've created a web service named PASSWORDGEN with the results stored in the collection PASSWORDRESULT
On my page I've created the process that invokes the webservice PASSWORDGEN which is set to run on load - before header - seq #10
then created the pl/sql anonymous block process which is set to run on load - before header - seq #20
I've used the pl/sql example given in the tutorial but substituted their references to collections with my named collection .
declare
l_clob clob;
l_xml xmltype;
l_val clob;
begin
for c1 in (select clob001
from apex_collections
where collection_name = 'PASSWORDRESULT'
) loop
l_clob := c1.clob001;
exit;
end loop;
l_xml := xmltype.createxml(l_clob);
l_val := dbms_xmlgen.convert(l_xml.extract('/methodResponse/params/param/value/string/text()').getclobval(),1);
apex_collection.update_member_attribute(
p_collection_name => 'PASSWORDRESULT',
p_seq => '1',
p_clob_number => '1',
p_clob_value => l_val );
end;
if I try to run the page at this point I get the error ORA-30625: method dispatch on NULL SELF argument is disallowed
what I think is happening, from what I've read up on, is that the collection is empty?
so I'm trying to find out if the web service is not populating the collection correctly or have I made a mistake in the above syntax & trying to reference the collection incorrectly.
Is there a way I can query the collection using TOAD?
Edited by: Mr JD on 21-Jul-2010 08:38

ok so found the collection but when I invoke the web service the collection record is not populated. I've tested the webservice & a result is returned but for some reason when I either run the test or run the page which invokes the web service as a page render process the collection is still not populated.....
what I'm I missing here as the setup of the web service is pretty straight forward & testing the web service does produce a result within the test window

Similar Messages

  • ORA-30625: method dispatch on NULL SELF error

    Can Someone help me? I'm new to oracle. I'm writing a procedure to copy a file from my hard drive to oracle. I am getting an error: ORA-30625: method dispatch on NULL SELF argument is disallowed. So I just broke the code down to this little piece. I still get the same error. I created a directory called INPUT_FILE and the file test.jpg is in that directory. What am I missing?
    1 Declare
    2 imag ordsys.ordimage;
    3 ctx raw(4000) :=null;
    4 BEGIN
    5 imag.setsource('FILE' , 'INPUT_FILE', 'test.jpg');
    6 imag.import(ctx);
    7* end;
    SQL> /
    Declare
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 5
    null

    There is a sample code for importing an image from an external file into the database in the section 2.2.8 of the interMedia User's Guide:
    http://otn.oracle.com/doc/oracle8i_816/inter.816/a67299/mm_uses.htm#601053
    Basically, you have to have a table in which you store the image in the database first.

  • 10g ORA-30625: method dispatch on NULL SELF argument is disallowed Options

    I found this site for consuming a web service from oracle 9i. I'm trying
    it from 10g
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
    I have an intranet web service (.NET) I know is working as I use it from
    other clients.
    But am getting this error when trying the example:
    Getting error: ORA-30625: method dispatch on NULL SELF argument is
    disallowed.
    on this line:
    l_fullname := soap_api.get_return_value(p_response => l_response,
    p_name => 'yyyResult',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net/"');
    which calling this in the soap_api package i downloaded and installed
    from the stie:
    FUNCTION get_return_value(p_response IN OUT NOCOPY t_response,
    p_name IN VARCHAR2,
    p_namespace IN VARCHAR2)
    RETURN VARCHAR2 AS
    BEGIN
    RETURN p_response.doc.extract('//'||p_name||'/
    child::text()',p_namespace).getstringval();
    END;
    My test script:
    declare
    l_request soap_api.t_request;
    l_response soap_api.t_response;
    l_fullname varchar2(50);
    BEGIN
    l_request := soap_api.new_request(p_method => 'ns1:yyy',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net"');
    soap_api.add_parameter(p_request => l_request,
    p_name => 'userName',
    p_type => 'xsd:string',
    p_value => 'somestring');
    l_response := soap_api.invoke(p_request => l_request,
    p_url => 'http://xx.xxx.xx.xx/
    securityservice/service.asmx',
    p_action => 'http://www.xxx.net/
    yyy');
    -- failing on the below line(21)
    l_fullname := soap_api.get_return_value(p_response => l_response,
    p_name => 'yyyResult',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net/"');
    dbms_output.put_line(l_fullname);
    end;
    Thanks for any help or information.

    This rather cryptic message means that the PL/SQL variable or column whose method is being invoked is null.
    It's the equivilant of a null pointer exeception in java...

  • ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)

    I've created a master detail form.
    I only want the master record to be read only, as I have a separate form elsewhere that is used to enter all the fields in the table it is based on.
    I've hidden the fields in the form that I do not wish the user to see and set the onFocus validation to blur(); to prevent data entry.
    The problem is that when a user leaves the master block action to 'None' it produces the error:
    ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)
    It runs fine on update mode after a record has been queried.
    The table has the correct privs as I already have built a simple form to test inserting records into the master table elsewhere.
    Ideally, I want to override the master block action via a bit of coding so to as to stop the user even attempting to create a new record in the master detail form:
    p_session.set_value (p_block_name => 'MASTER_BLOCK'
    , p_attribute_name => '_MASTER_ACTION'
    , p_value => 'NONE');
    Any ideas?
    cheers,
    John

    Oracle Portal Version: 10.1.2.0.0 (Build: 290)
    DB: 10.1.0.3.1

  • ORA-30625: method dispatch on NULL SELF argument is disallowed

    I have streams setup with table rules.( 3 tiers). It is working fine, besides for one table when insert record, apply has error "ORA-30625: method dispatch on NULL SELF argument is disallowed". I did include all columns in supplemental log group always. Is any limit for max columns for Oracle Streams. This table has 137 columns and I created 6 supplemental log groups.
    Please help

    Hi,
    No restrictions on number of columns in 10.2. Do you have any rule transformation or dml handler?
    Check also on your bdump if the apply generated any trace file that will allow you to identify the root cause of this error.
    Here is an explanation of why that error happens:
    The following error occurs when passing an uninitialized object to an Object's member procedure/function:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    The following illustrates the error by first creating the Object specification. Notice there is one member procedure "initialize_object" that passes in SELF.
    CREATE OR REPLACE TYPE role_type AS OBJECT (
    role_name VARCHAR2(30),
    MEMBER PROCEDURE initialize_object(SELF IN OUT role_type));
    The next step is to create the body of the Object's member procedure. There is no need for any actual code as the error occurs when the NULL is attempted to be passed.
    CREATE OR REPLACE TYPE BODY role_type AS
    MEMBER PROCEDURE initialize_object (SELF IN OUT role_type) IS
    BEGIN
    NULL;
    END initialize_object;
    END;
    The following anonymous block passes in a NULL (Uninitialized Object) to the member procedure initialize_object.
    DECLARE
    V_TEMP role_type;
    BEGIN
    ROLE_TYPE.initialize_object(V_temp);
    END;
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 4
    The example has nothing to do with streams but maybe you are trying to invoke an error handler or dml handler that is causing this issue.

  • Stacked with Error:-30625:ORA-30625: method dispatch on NULL SELF argument

    Hello guys!
    I'm totally stacked with Error:-30625 trying to execute CLN_CH_EVENT_SUBSCRIPTION_PKG.CREATE_EVENT_SUB procedure.
    i'm initializing that type object like:
    WF_EVENT_T.initialize(l_myevent_t);
    and then fill it with values...and then passing to that damned procedure. And then em getting error :(.
    Could you please somebody explain me what i'm doing wrong or what should i do to avoid this error?!?
    thanks in advance.

    To allow anyone the chance to answer your question, you will need to post the relevant code that leads up to the error code you reference. Without that information, silence is all you can hope to receive.

  • ORA-30625: method dispatch on NULL SELF argument on apply_dml_hanlder

    My apply dml handler fails with this message. This dml handler is being called on 10 tables. Is there any way to get the LCR info from the SCN number to track on which table it failed and debug the issue?
    Thank You

    your LCR is most probably in the spill over queue rather tha in the queue table. You have to open the AQ$_<cap table>P table. it contains columns of type anydata that embedded the LCR. It is not an easy task but it has been scripted.
    download smenu from www.smenu.org, install and type
    'aq -lq' to see all your queue tables
    'aq -readp <queue table>' to list contents of the queue table and the MSGID and SCN.
    pick one MSG that you want to see :
    'aq -readp <queue table> -key <MSGID> and you will see the before and after values of the rows contained in the MSG (LCR).
    if you want to see the SQL text for this SCN you and the archive is still present on your disk your can pick the SCN of the MSG ID, goes on the source DB (install also smenu) and type lgm -s <SCN> and you will see the text of the SQL at the orgin of this LCR (using logminer).
    I am not sure of the compatibility of Smenu for 9i. It has been started in 9I but streams on 9i is so painful that the compatibilty with this mess has not been cared about.

  • Consuming Domino web service with JAXB encounters Method Response element

    I am able to consume a Domino R7 (Axis) web service with JAX-WS using Dispatch<SOAPMessage>. When I try using Dispatch<Object> however, JAXB throws an exception because it encounters an unexpected tag.
    The XML from the web service looks like this:
    <Envelope>
        <Body>
            <WebServiceMethodResponse>
                <WebServiceMethodReturn>
                    The meaning of life
                </WebServiceMethodReturn>
            </WebServiceMethodResponse>
        </Body>
    </Envelope>With Dispatch<SOAPMessage>, I can get to the meaning of life quickly using SOAPBody.getElementsByTagName( "WebServiceMethodReturn" ) but with Dispatch<Object>, it appears I must also create a class for the WebServiceMethodResponse element to make JAXB happy. I don't see this happening in other people's examples. Has the Return-element-within-Response-element design been eliminated in pure JAX-WS web services, or is this something that only IBM does?

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all+ pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • Web Service to IDoc scenario: No receiver could be determined error

    Hi. I am working on a web service to IDoc scenario. I am receiving this error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I've taken the XML message being sent to me and tested the mapping and I've completed the test configuration in the IB. Both work fine. Any ideas? I've been looking into this for a couple of days, so I've been through all the previous posts I could find.
    Thank you.
    Nicole

    hi,
    This is not related to receiverdetermination ,whether you creaeted or not.
    It is somthing related to receiver systemwhich was configured in Receier determination.
    check the target BS is correct or not or the inbound interface.
    Did you configured the proper receiver technical system..
    OR
    Check the Receiver Determination is configured correctly. i.e R/3
    Verify all the configurations like SM59, Partner Profile/Logical systems. etc. Also check in SM58 of R/3 system.Make sure that All the objects are activated in the Directory.Refresh the cache.Verify is the business system is pointing to correct R/3 system . Go to Business system/Service->Menu->Adapter specific identifiers in the directory
    You can test your configuration with sample
    payload.
    In ID goto to TOOLS -
    > Test Configuration for testing.
    Hope in this way you can still find at which point the interface goes wrong.

  • Publish a JAX-RPC Java Web Service - HELP

    Hi,
    I try to generate a JAX-RPC web services as described in the tutorial : http://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html. but when generating the web services I have an exception : an unexpected error was encountered. Generation aborted. and when I click details I have the following message :
    java.io.FileNotFoundException: C:\jdev10g\jdev\mywork\WS2-TestOracle\Project1\src\__temp_assembler\public_html\WEB-INF\wsdl\MyWebService3.wsdl (Le chemin d'accès spécifié est introuvable)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:106)
         at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:66)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:481)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:242)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1028)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.populateWSDLWithEndpoint(JAXRPCGenerator.java:2153)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateServiceImpl(JAXRPCGenerator.java:896)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateService(JAXRPCGenerator.java:241)
         at oracle.jdeveloper.webservices.JAXRPCSvcModel.saveEdit(JAXRPCSvcModel.java:1613)
         at oracle.jdevimpl.webservices.wizard.WebServicePublishWizard.runWizard(WebServicePublishWizard.java:504)
         at oracle.jdevimpl.webservices.wizard.WebServicePublish.invoke(WebServicePublish.java:95)
         at oracle.ide.WizardManager.invokeWizard(WizardManager.java:484)
         at oracle.ide.WizardManager$1.run(WizardManager.java:538)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Can any one help,
    Thanks,

    The MyWebService1SEI.java interface does not get generated as indicated in the tutorial.
    If the Web service is generated with
    File>New>Business Tier>Java Web Service with the
    Autogenerate Service Endpoint Interface checkbox selected,
    the MyWebService1SEI.java interface does not get generated.
    The Autogenerate Service Endpoint Interface feature does not autogenerate java interface.

  • Error while calling a web service from Entity CRUD methodes

    Hi All,
    I have created an entity service with remote persistency(web service).I have mapped the entity service create methode with the web service create method.Similarly entity service edit method with the web service edit method.But when i am testing this in service browser i am getting a dataaAcess exception.
    And an empty row is being created in the data base. This is the exception sequence.
    com.sap.caf.rt.exception.CAFUpdateException: Data Layer Issues
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:177)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:135)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceLocalLocalObjectImpl0.update(iprTestServiceServiceLocalLocalObjectImpl0.java:478)
    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 com.sap.caf.rt.services.serviceaccess.ServiceWrapper.updateDependentObject(ServiceWrapper.java:489)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.createDataContainerBean(ServiceWrapper.java:198)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.createDataObject(CAFServiceAccessBeanImpl.java:159)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl20.createDataObject(CAFServiceAccessLocalLocalObjectImpl20.java:775)
    at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.insertAspectRow(AspectServiceAccess.java:215)
    at com.sap.caf.rt.ui.cool.generic.Aspect.insertRows(Aspect.java:1425)
    at com.sap.caf.rt.ui.cool.generic.Aspect.sendChanges(Aspect.java:1543)
    at com.sap.caf.rt.ui.cool.generic.ServiceModule.sendChanges(ServiceModule.java:298)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.saveData(TableViewCC.java:379)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.saveData(InternalTableViewCC.java:208)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionSave(TableViewCV.java:394)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:371)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.caf.rt.exception.DataAccessException: Data Layer Issues
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1198)
    at com.hcl.xiprcas.besrv.iprtestservice.iprTestServiceServiceBean.update(iprTestServiceServiceBean.java:172)
    ... 47 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:648)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:511)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.executeOperation(RemoteDataAccessService.java:159)
    at com.sap.caf.rt.bol.da.remote.RemoteDataAccessService.store(RemoteDataAccessService.java:1180)
    ... 48 more
    Caused by: com.sap.caf.mp.base.exception.EngineException: Data Layer Issues
    at com.sap.caf.mp.core.data.service.manager.wsdl11.WSDL11ServiceManager.executeOperation(WSDL11ServiceManager.java:247)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperation(DataServiceFactory.java:259)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeConsiderSSO(DataServiceFactory.java:1056)
    at com.sap.caf.mp.core.data.service.DataServiceFactory.executeOperationCommon(DataServiceFactory.java:622)
    ... 51 more
    Plz tell me what is the wrong with my approach?.
    Thanks
    Sampath.G

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Utl_dbws web service call ORA-29532

    Hello,
    I want to call web services from database (version 10.2.0.4.0) using the package utl_dbws and the SOAP message format "document".
    The web service is build with the jDeveloper 10.1.3.4 and is deployed on the OC4J server.
    With the help of the following example I tried to call my service:
    http://steveracanovic.blogspot.com/2008/10/using-utldbws-package-to-call-web.html
    A very simple example, with a web service that use the SOAP message format "document".
    I get the following error, when I try to call the service from my PLSQL script:
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request: unexpected element name: expected={http://ws/types/}sayHelloWorldElement, actual=sayHelloWorldElement
    The OC4J Server shows the same error message too:
    ERROR OWS-04045 Fehlerhafte Request-Nachricht: unexpected element name: expected={http://ws/types/}sayHelloWorldElement, actual=sayHelloWorldElement
    With an other web service that use the SOAP message format "rpc" I have success.
    But with the "rpc" style, I can only get a result with a lengh of 32k.
    Can somebody help me?
    Thank you in advance.
    regards
    Michael

    Hi,
    I had same error and then implement your solution. But I get invalid xml error (I have header and body tags)
    How can you remove Envelope tag?

  • EPMA web service help needed (9.3.1.5)

    I'm having issues when trying to utilize the backend EPMA web services. What I'm attempting to do is write a java app that can hit the EPMA services to authenticate, upload a flat file, then run a flat file import using a rule on the server.
    I'm currently able to authenticate and able to upload, but my call to the Imports.asmx web service to startFlatFileImportJob() is returning the following exception:
    Server was unable to process request. ---> Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
    (stack dump below).
    Are there any web service experts out there who can help me out with this? I'm writing Java in Eclipse on JRE 1.5.0_18. (code below)
    Sorry about the markup - couldn't figure out how to turn it off...
    Thanks,
    Jon
    ================== Stack Trace ====================
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Server was unable to process request. ---&gt; Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
    faultActor:
    faultNode:
    faultDetail:
         {}StackTrace:
    Server stack trace:
    at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
    at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryResponseMessage(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
    at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
    at Hyperion.DimensionServer.Interface.IImports.StartFlatFileImportJob(ApplicationLocator locator, Int32 importID, String fileReference, String[] additionalParams)
    at Hyperion.DimensionServer.WebServices.Imports.StartFlatFileImportJob(ApplicationLocator locator, Int32 importID, String fileReference, String[] additionalParams)
    Server was unable to process request. ---> Unable to find assembly 'data_access_layer, Version=9.3.2771.29149, Culture=neutral, PublicKeyToken=null'.
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.hyperion.bpma.ImportsSoapStub.startFlatFileImportJob(ImportsSoapStub.java:987)
         at com.hyperion.bpma.ImportsSoapProxy.startFlatFileImportJob(ImportsSoapProxy.java:74)
         at com.mycompany.hyperion.serviceTest.css.Authenticator.RunImport(Authenticator.java:92)
         at com.mycompany.hyperion.serviceTest.css.Authenticator.main(Authenticator.java:50)
    ================== Stack Trace ====================
    ==================== Code ======================
    package com.mycompany.hyperion.serviceTest.css;
    import java.rmi.RemoteException;
    import java.util.HashMap;
    import java.util.Map;
    import java.io.*;
    import com.hyperion.css.CSSAPIIF;
    import com.hyperion.css.CSSException;
    import com.hyperion.css.CSSSystem;
    import com.hyperion.css.common.CSSUserIF;
    import com.hyperion.bpma.LibrariesSoapProxy;
    import com.hyperion.bpma.SessionsSoapProxy;
    import com.hyperion.bpma.ImportsSoapProxy;
    import com.hyperion.bpma.UtilitiesSoapProxy;
    import com.hyperion.bpma.datatypes.ImportProfileInfo;
    import com.hyperion.bpma.datatypes.ImportType;
    import com.hyperion.bpma.datatypes.Library;
    import com.hyperion.bpma.datatypes.SessionInfo;
    import com.mycompany.hyperion.serviceTest.css.testApp;
    public class Authenticator{
         private static Map context;
         private static CSSSystem system;
         private static CSSAPIIF css;
         private static testApp myApp;
         private static CSSUserIF _user;
         private static String _userName;
         private static String _pw;
         private static ImportsSoapProxy _importService = new ImportsSoapProxy();
         private static SessionsSoapProxy _sessionService = new SessionsSoapProxy();
         private static UtilitiesSoapProxy _utilService = new UtilitiesSoapProxy();
         private static LibrariesSoapProxy _libService = new LibrariesSoapProxy();
         private static SessionInfo _session;
         private static Library _masterLibrary;
         private static com.hyperion.bpma.datatypes.ApplicationLocator _appLoc;
         private static int _importID = -1;
         private static String _filePath;
         private static String _importProfileName;
         public static void main(String[] args)
              if(ValidateArgs(args))
                   try{
                   Authenticate();
                   SetMasterLib();
                   LocateImportID();
                   RunImport();
                   catch(Exception e){
                        System.out.println(e.getLocalizedMessage());
              else
                   PrintUsage();
         private static void LocateImportID() throws RemoteException {
         ImportType[] temp = new ImportType[]{ImportType.FlatFile};
              ImportProfileInfo[] impInfo = _importService.enumImportProfileInfos(_session.getSessionID(), temp);
              for(int i=0;i<impInfo.length;i++){
                   if(impInfo.getName()==_importProfileName)
                        _importID = impInfo[i].getImportID();
         private static void SetMasterLib() throws RemoteException {
         _masterLibrary = _libService.getMasterLibrary(_session.getSessionID());
    private static void Authenticate() throws CSSException, RemoteException{
         system = CSSSystem.getInstance();
         css = system.getCSSAPI();
         myApp = new testApp();
              context = new HashMap();
              context.put(CSSAPIIF.LOGIN_NAME,_userName);
              context.put(CSSAPIIF.PASSWORD,_pw);
              css.initialize(myApp);
              _user = css.authenticate(context);
         _session = _sessionService.createSessionFromToken(_user.getToken());
    private static void RunImport() throws IOException{
         String fileHandle = UploadFile(_filePath);
         _appLoc = new com.hyperion.bpma.datatypes.ApplicationLocator();
         _appLoc.setSessionID(_session.getSessionID());
         _appLoc.setLibraryID(_masterLibrary.getLibraryID());
         _importService.startFlatFileImportJob(_appLoc, _importID, fileHandle, new String[]{});
    private static String UploadFile(String filePath) throws IOException
         String fileRef = _utilService.startFileUpload(_session.getSessionID(), filePath.substring(filePath.lastIndexOf("\\")+1));
         File f = new File(filePath);
         InputStream fis = new FileInputStream(f);
         byte[] buffer = new byte[(int) f.length()];
         int offset = 0;
    int numRead = 0;
    while (offset < buffer.length && (numRead=fis.read(buffer, offset, buffer.length-offset)) >= 0)
    offset += numRead;
    if (offset < buffer.length)
    throw new IOException("Could not completely read file " + f.getName());
    fis.close();
         _utilService.transfer(_session.getSessionID(), fileRef, 0, buffer.length, buffer);
         String fileHandle = _utilService.endTransfer(_session.getSessionID(), fileRef, false);
         return fileHandle;
    private static boolean ValidateArgs(String[] args){
    try{
    if(args.length % 2 != 0)
    throw new Exception("\nERROR: Invalid number of arguments exception...");
    for(int i=0;i<args.length-1;i=i+2){
    if(args[i].charAt(0) == '-'){
    switch(args[i].charAt(1)){
    case 'u':
    _userName = args[i+1];
    break;
    case 'p':
    _pw = args[i+1];
    break;
    case 'n':
         _importProfileName = args[i+1];
         break;
    case 'f':
         _filePath = args[i+1];
         break;
    default:
    throw new Exception("\nERROR: Bad flag/argument exception...");
    else
    throw new Exception("\nERROR: Bad argument format exception...");
    if((_userName == null) || (_pw == null) || (_importProfileName == null) || (_filePath == null))
    throw new Exception("\nERROR: Mandatory argument not passed...");
    catch(Exception e){
    System.out.println(e.getMessage());
    return false;
    return true;
    private static void PrintUsage(){
    System.out.println("\nUSAGE: java -jar test.jar [options]\n");
    System.out.println("Flag Option");
    System.out.println("===========================================================================================================================");
    System.out.println("-u (required) Username to authenticate as");
    System.out.println("-p (required) Password for authentication");
    System.out.println("Arguments must be passed in a \"-flag argument\" paired format (ie - not \"test.jar -up arg1 arg2...\")" + System.getProperty("line.separator") + System.getProperty("line.separator"));
    ==================== Code ======================

    Figured it out on my own

  • Java web services help needed

    i am a student. working on a project. using java web services. using its api jax-rpc. i have compiled, deployed and run an example given in the tutorial of the web services tutorial\examples\jaxrpc\hello. now i want to bring the "hello" folder out of its original directory to e.g c:\project\. i have tried alot. i am not able to set the paths in the xml files provided. if any one of you can help me in this. my address is [email protected] . i am waiting for your reply.

    Where are you stuck up.
    Try the following steps
    create a directory structure
    c:\projects\jaxrpc
    copy your example
    <JWSDP>/docs/tutorial/examples/jaxrpc/hello to
    c:\projects\jaxrpc
    you may need to remove \build and \dist from the
    example if you have already tried the example
    copy your example
    <JWSDP>/docs/tutorial/examples/jaxrpc/common to
    c:\projects\jaxrpc
    Now the example will run correctly but only the war
    file is created in your original tutorial location.
    Now modify tut-root in
    c:\projects\jaxrpc\common\build.properties to
    tut-root=C:\\projects
    and modify the war-path in \hello\build.properties to
    point to
    war-path=${tut-root}/jaxrpc/${example}/dist/${deployabl
    -war}
    If anything fails first check the paths through
    <YOUR_path>\hello>ant debug
    If there is problem post details where it is failing.
    Ri am trying this method. i will tell you when it is done. thank you.

  • Synchronous RFC-XI-Web Service with no request method

    Hello guys,
    I'm trying to set up an RFC-XI-Web Service scneario.  But with the particularitity that the WSDL does not have a request method. It only has a very simple response method.
    How can I make this? How can XI call the Web Service, if I dont have any request method?
    Thanks for your help.
    Felipe

    Matias, after some test I think that VJ is correct.
    It is failing at the moment of delivering the message to the WS, I'm getting the followin error messages:
    com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN; HTTP 302 Moved Temporarily
    I tested the WS with XMLspy and works correctly.
    I'm starting to believe that the best solution is to simply create a dummy request in the WS.
    It would be great if someone else test in their own and see if we get the same result.  Thanks,
    Felipe

Maybe you are looking for

  • Can Someone please help me out????

    Ive recently been having problems with my iPod after it froze on me mid song...I reset it using the guidelines... unfortunately it wiped the whole thing-so now ive nothing on there at all (its gone back to how it was when i bought it!!) Since it eras

  • Archive table -Procedure

    Hello Experts, I have developed a store procedure to archive of old data for a huge table. Before deleting a row from the table, inserts the same row in another table. I need to schedule the same through dbms_job for daily execution. CREATE OR REPLAC

  • Magic Trackpad - incorrect Trackpad preference pane?

    Hey folks, Just bought a pretty magic trackpad for my late 2009 i7 iMac (10.6.4). Looks nice, but when I set it up, Software Update didn't see any update for my iMac. So I downloaded it directly from Apple and that seemingly went fine, but the Trackp

  • DHCP reservation & DNS for content filtering

    Hi All, I am working around with server 2008 for quite a while and facing a problem as below, 1.DHCP reservation error Server Ip:192.168.0.254 (configured as DNS server for local use only with AD & DHCP) DHCP scope: 192.168.0.100 to 192.168.0.200 exc

  • How to get Android IMEI / UDID with Flash CS6?

    Hi. I understand that a Native Extension is needed to get the IMEI or UDID of the Android device. I found one here: http://blog.snowflax.com/native-imei-action-script-extension-for-android/ I ran the compiled sample this site provided and it retrieve