Trying to reconnect with the Web Service

Hello, this is my first post.
I have an interface that currently is running through BPM from Sap to a Web Service.
The problem is that when sending many messages get an error "java.io.IOException: invalid content type for SOAP: TEXT / HTML" but when it is sent manually reprocessing satisfactorily.
There is a way to configure the interface to send a message and when not to connect with the Web Service; try again send?
Thanks

The function that is getting called is createMessage. It Internalizes the contents of the given InputStream object into a new SOAPMessage object and returns the SOAPMessage object.
The InputStream object contains the data for a message headers - the transport-specific headers passed to the message in a transport-independent fashion for creation of the message
What is returned is a new SOAPMessage object containing the data from the given InputStream object
The error java.io.IOException - will be thrown if there is a problem in reading data from the input stream. Please check the data being passed in the InputStream - the signrature of the call is ...
public abstract SOAPMessage createMessage(MimeHeaders headers,                                          java.io.InputStream in)                                   throws java.io.IOException,     SOAPException

Similar Messages

  • An error occurred while trying to communicate with the web browser.

    I have opened a PDF in the Acrobat reader V 8.2.4. It has live links.
    Only the FF browser is open.
    When I click a link in the PDF, I successfully get the message 'The document is trying to connect to...' which I allow and then successfully hyperlink to the web page displayed in FF.
    When I click an image in the PDF, which has a url attached to it, I get the message 'An error occurred while trying to communicate with the web browser.'
    [Sorry to say in IE7 when I click the image, I hyperlink to the web page like I do when I click the link.]
    Question is: What setting or other step do I need to take with FF so when I click the image in the PDF I link to a web page like I do when I click the link in the PDF?
    Thank you!

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Adobe Shockwave for Director Netscape plug-in, version 10.2
    # Adobe PDF Plug-In For Firefox and Netscape 8.2.4
    # Shockwave Flash 10.0 r22
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Adobe Reader]] plugin to the latest version.
    *http://get.adobe.com/reader/otherversions/

  • What's XCode trying to do with the web?

    I got a popup today saying that XCode want to use my proxy keychain to access the net. What does XCode need the internet for? Is it broadcasting statistics? Or is it just checking for updates or something?

    Probably downloading documentation updates.

  • "no serializer is registered..." error with a web service not working

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

  • Basic auth with RESTful WEb service and Web Service reference

    Hi, All,
    We have made much progress on getting an application working wtih RESTful web services but now are trying to figure out how to lock down a RESTful Web service while making it available for a particular application.
    We are using one of the sample 'emp' table web services that come with Apex 4.2 and are trying to apply Basic Auth to the WEb Service via Weblogic filter defined in the web.xml file. That works fine. I now get challenged when I try to go to :
    https://wlogic.edu/apex/bnr/ace/hr/empinfo/
    And when I authenticate to that challenge I am able to get the data. (we are usiing LDAP authentication at the Weblogic level)
    However, I am not sure how to get same basic authentication to work with the Web Service reference in my application. I see the error message in the application when I try to call that Web Service:
    401--Unauthorized<
    And I see:
    "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials"
    How do I provide the credentials in the Web REference or do I provide credentials in the Application?
    Web service works fine if I remove the RESTful web service basic auth from the Web.xml file.
    Should we NOT use Weblogic basic auth and instead use basic auth from Workspace RESTful web service definition. If so, how do we implement THAT basic auth in the Web Service definition and in the Web SErvice Reference on the application?
    Thanks,
    Pat

    What I mean is diid you try to use the PL/SQL package for APEX webservice. Here is an example I use (modified and shortened, just to show how much better this is than to use it from the application).
    CREATE OR REPLACE PACKAGE webservice_pkg
    IS
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
    END webservice_pkg;
    CREATE OR REPLACE PACKAGE BODY webservice_pkg
    IS
       PROCEDURE set_credentials (
          p_workspace     IN   VARCHAR2,
          p_app_id        IN   NUMBER,
          p_app_session   IN   VARCHAR2,
          p_app_user      IN   VARCHAR2
       IS
          v_workspace_id   NUMBER;
       BEGIN
          SELECT workspace_id
            INTO v_workspace_id
            FROM apex_workspaces
           WHERE workspace = p_workspace;
          apex_util.set_security_group_id (v_workspace_id);
          apex_application.g_flow_id := p_app_id;
          apex_application.g_instance := p_app_session;
          apex_application.g_user := p_app_user;
       END set_credentials;
       PROCEDURE create_webservice (
          p_id            IN       NUMBER,
          p_message       OUT      VARCHAR2,
          p_workspace     IN       VARCHAR2 DEFAULT 'MY_WORKSPACE',
          p_app_id        IN       NUMBER DEFAULT v ('APP_ID'),
          p_app_session   IN       VARCHAR2 DEFAULT v ('SESSION'),
          p_app_user      IN       VARCHAR2 DEFAULT v ('APP_USER')
       IS
          v_envelope          VARCHAR2 (32000);
          v_server            VARCHAR2 (400);
          v_url               VARCHAR2 (4000);
          v_result_url        VARCHAR2 (1000);
          v_collection_name   VARCHAR2 (40)    := 'PDF_CARD';
          v_message           VARCHAR2 (4000);
          v_xmltype001        XMLTYPE;
       BEGIN
          v_url := v_server || '.myserver.net/services/VisitCardCreator?wsdl';
          FOR c IN (SELECT *
                      FROM DUAL)
          LOOP
             v_envelope :=
                   '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" '
                || 'xmlns:bran="http://www.myaddress.com">'
                || CHR (10)
                || '<soapenv:Header/><soapenv:Body>'
                || CHR (10)
                || '<parameter:'
                || 'some_value'
                || '>'
                || CHR (10)
                || '<bran:templateID>'
                || p_id
                || '</bran:templateID>'
                || '</soapenv:Body>'
                || CHR (10)
                || '</soapenv:Envelope>';
          END LOOP;
          set_credentials (p_workspace, p_app_id, p_app_session, p_app_user);
          BEGIN
             apex_web_service.make_request
                                         (p_url                  => v_url,
                                          p_collection_name      => v_collection_name,
                                          p_envelope             => v_envelope
             p_message := 'Some message.';
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message :=
                      v_message
                   || '</br>'
                   || 'Error running Webservice Request. '
                   || SQLERRM;
          END;
          BEGIN
             SELECT    v_result_url
                    || EXTRACTVALUE (VALUE (t),
                                     '/*/' || 'Return',
                                     'xmlns="http://www.myaddress.com"'
                    xmltype001
               INTO v_result_url,
                    v_xmltype001
               FROM wwv_flow_collections c,
                    TABLE
                        (XMLSEQUENCE (EXTRACT (c.xmltype001,
                                               '//' || 'Response',
                                               'xmlns="http://www.myaddress.com"'
                        ) t
              WHERE c.collection_name = v_collection_name;
          EXCEPTION
             WHEN OTHERS
             THEN
                v_message := v_message || '</br>' || 'Error reading Collection.';
          END;
       EXCEPTION
          WHEN OTHERS
          THEN
             p_message := v_message || '</br>' || SQLERRM;
       END create_webservice;
    END webservice_pkg;
    /If you use it this way, you will find out what the problem is much faster.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • IP IVR 8.0 connecting on the Web Service.

    Hi Everybody,
    I am trying to connect on the Web Service using Java Classes by JAX-WS and I am having some problems.
    Using NetBeans 7.0 I created a Java application project and I am connecting on the Web service successfully, and I am receiving the Web Service' returns normally.
    Through of NetBeans some classes were created automatically (these classes are "talking" with the Web Service). I created a JAR file with the whole project and I imported it to the IP IVR using the 'Cisco Unified CCX Administration\System\Custom File Configuration'.
    And now if I open the 'Cisco Unified CCX Editor' I can see all classes. I m trying to make a simple test, and it doesn't work.
    I see this error: could not initialize class com.sun.org.apache.xml.internal.resolver.CatalogManager; nested exception is:
                        java.lang.NoClassDefFoundError: Could not initialize class com.sun.org.xml.internal.resolver.CatalogManager(line: 1, col: 1).
    1) Has anybody already connected on the Web Service using Java Classes through the IP IVR?
    2) Does anybody know this error?
    Note: Through the NetBeans I tried to import this class (com.sun.org.apache.xml.internal.resolver.CatalogManager) to the project, but I see another error when I am compiling the project:
    error: package com.sun.org.apache.xml.internal.resolver does not exist
    import com.sun.org.apache.xml.internal.resolver.*;
    Does anybody can help me, please?
    IP IVR - version: 8.0.2.10000-42
    Valber

    Hi everyone,
    "This Linux is boring" - well, you made my day It's amazing to see people making such qualified remarks without even trying to dig deeper scratch the surface.
    Well, Sir, I must inform you it's not the limitation of the platform, it's your attitude. Creating a SOAP client is rather easy for anyone who knows some XML and HTTP - that's basically SOAP is about. IP IVR (all versions, starting 4.0x) knows both XML and HTTP perfectly, out of the box, without the need of programming in Java, let alone, playing around with some wizards in Netbeans.
    To do a SOAP request: first, create an XML, just a plain old XML that is expected by the SOAP server. No need to be shy, populate all the attributes and text nodes, with some meaningful stuff. Upload this XML on to the IP IVR. In your CRS script, do the XSL transformation. Or you know what, just do some text replacement. Take the output. Do a HTTP post. Read the result. Grab the necessary info using an XPATH expression.
    This is not that hard, isn't it?
    G.

  • Can't setup the Web Services as printer says "cannot connect to the server to get the update"

    Just purchased and am setting up my HP Officejet pro 8600. It has set-up wirelessly without a hitch until I tried to install/enable the web services and I continue to get a message saying "the printer could not connect to the server" therefore it cannot check for an update on Web Services apps and they will not be enabled. Never had so much trouble setting up an HP printer in the past. Looks like this web services is more of a headache and a gimmick to sell this printer.

    Hi Guys,
    I found the solution after 2 days.
    Open internet explorer and type in the IP address of the printer in the address bar then press enter.
    The embedded web server of the printer should pull up.
    C. Click the network tab near the top.
    On the left side, click IPv4 under your connection type, wireless or wired.
    D. Change the IP address from automatic to manual.
    Enter the same IP address, default gateway, and subnet mask.
    Enter 8.8.8.8 for the primary dns and 8.8.4.4 for the secondary then click apply.
    E. After the apply button has been clicked to apply the static IP settings, enable Web Services.
    Good luck

  • Flash connect with Java Web service

    I would like to develop a Flash UI communicating with Database. And i create a web service (in Java) that asking database
    to return a table.
    So i don't know why the datagrid in UI databind with the web service but it can't display / mapping with the return data.
    What databind type should i choose ? And what type or return value in the web service ? ( ResultSet / String Array, etc )

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • Prob in Testing the sample Applicaion "Online Store with Oracle9i Web Services"

    Hi,
    I am testing this "ONLINE STORE" webservice application.I have deployed the web services and the application in Standalone OC4J V 903
    I get the following error when JSP try to access the Web service.
    whereas i can access the bean successfully from a client.
    First I got the error "Authenticate against the proxy server".Since both my apps are in the same machine,it should not have asked for that.
    When i put the authentication code,it gave the folowing "timeout error".
    Error
    Unsupported response content type "text/html", must be: "text/xml". Response was: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title>10060 -- Connection Timed Out</title> </head> <body bgcolor="#BEBEBE"> <h2>Proxy Reports:</h2> <div align="center"><center> <table border="1" width="90%"> <tr> <td width="100" bgcolor="#FFFFFF"><font color="#FF0000"><strong>10060</strong></font></td> <td bgcolor="#FFFFFF"><font color="#FF0000"><strong>Connection timed out</strong></font></td> </tr> </table> </center></div> <hr size="6" width="90%"> <div align="center"><center> <table border="0" width="90%"> <tr> <td><em>The web server specified in your URL could not be contacted.  Please check your URL or try your request again.</em><p><em>This error could have been caused by:</em><ul> <li><em>Bad / misspelled URL</em></li> <li><em>Following an invalid link</em></li> <li><em>Your network connection and/or transient conditions on the Internet</em></li> <li><em>Load conditions on the web server.</em></li> </ul> </td> </tr> </table> </center></div> <hr size="6" width="90%"> <p><em>Microsoft Proxy Server v2.0</em></p> <p><strong>Proxy Server : proxysvr.mumbai.tcs.co.in</strong></p> <p><strong>Via : </strong></p> </body> </html>
    Can anyone help me in this ?
    I tried deploying a single web service one at a time.The first webservice worked but when i deployed the next one again i get the same error !
    Thanx for ur prompt reply in advance!
    Chhimi

    Hi,
    I hav specified the correct conection parameter values in ConnectionParam.java.
    When i try to run the currency converter Web service thhrough a simple client i get the following error :
    F:\JDeveloper903\jdk\bin\javaw.exe -ojvm -classpath G:\CY\WebServ-Code\WS_Currency\ProjectCurr\classes;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\soap\lib\soap.jar;F:\JDeveloper903\lib\xmlparserv2.jar;F:\JDeveloper903\jlib\javax-ssl-1_2.jar;F:\JDeveloper903\jlib\jssl-1_2.jar;F:\JDeveloper903\j2ee\home\lib\activation.jar;F:\JDeveloper903\j2ee\home\lib\mail.jar;F:\JDeveloper903\j2ee\home\lib\http_client.jar Curr_Pkg.CurrrencyMain
    [SOAPException: faultCode=SOAP-ENV:IOException; msg=services.xmethods.net; targetException=java.net.UnknownHostException: services.xmethods.net]
         void org.apache.soap.SOAPException.<init>(java.lang.String, java.lang.String, java.lang.Throwable)
              SOAPException.java:77
         void oracle.soap.transport.http.OracleSOAPHTTPConnection.send(java.net.URL, java.lang.String, java.util.Hashtable, org.apache.soap.Envelope, org.apache.soap.encoding.SOAPMappingRegistry, org.apache.soap.rpc.SOAPContext)
              OracleSOAPHTTPConnection.java:765
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
              Call.java:253
         java.lang.Float mypackage1.CurrencyExchangeServiceStub.getRate(java.lang.String, java.lang.String)
              CurrencyExchangeServiceStub.java:56
         void Curr_Pkg.CurrrencyMain.main(java.lang.String[])
              CurrrencyMain.java:13
    Exception in thread main
    Process exited with exit code 1.
    I hav bypassed this web service by hardcoding in the code where it has been called.
    Today again I try to run the application, The Shipping Web service worked fine but only once then again the same error got displayed!
    I think it's all due to the proxy authentication code that it goes in a loop !
    Mike, I hav cleaned the deployment files before redeploying the application.
    As far as the "WS-demo=...." etc files which u ver referring to.. I think it's due to the profile dependencies in the deployment profile for the WS-demo app where all the web services deployment are checked. I had unchecked that option since i deployed al the web services individually.
    Please anyone has any clue what's wrong.
    I tried deploying a simple web service in Oracle9iAS Rel 2 and try to access that through a JSP deployed in standalone OC4J. Ther also it hanged ? Is it due to proxy authentication. Is there some additional procedure for deploying web service to Oracle9iAS?
    Please reply ASAP !!

  • B110a Trying to enable the Web Services Error message received

    I am trying enabled the Web Services but I get the Error Message 'There was a problem connecting to the Server"
    I get the same when I try to update the firmware but the printer is connect to a wireless network with internet connection and no firewall.

    Hi Confused_Techie, Hope you are doing well and having a great day;
    I will first try using the Network diagnostic utility.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=us&lc=en&jumpid=ex_r4155/hho/ipg/ccdoc/n...
     Hope this can identify and solve the issue for you.
    If not than please include the operating system you are using and the build of the Operating system i.e. Win 7 sp1 64 bits. As well as router you are using. Also please take the time to add as much information that you may consider relevant. This will give you a better chance of getting an answer from not just me but other member of the community as well.
    Cheers; 
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • An error occurred while trying to connect to a Web service, when InfoPath web enabled form loads.

    Hi Everyone,
    I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load.  The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
    fine the rest of the day, oddly enough. 
    A few things about my form:
    1). It is web enabled
    2). The form submits to a form library on the SP server
    3). I use the UserProfileService data connection in the form to auto-populate a few fields
    4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
    5). The form has been working fine until a few days ago
    I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped.  Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
    have the service account information.
    Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
    Schema file was already loaded: BuiltInActiveXControls.xsd
    FormServer Partial Trust - Proxy operation invoked in the SHIM process.
    FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
    Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
    The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
    Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.

    Hi B.,
    You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
    If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
    Hope this helps.
    Daniel Christian (MCTS)

  • A network error occurred while trying to communicate with the server.

    Hello All,
    I am getting some new error messages when opening the server app on my Mac Mini server running OS X 10.8.2 and Server 2.2.1. First I get a message that says "A network error occurred while trying to communicate with the server." and then after trying to open some of the service panes, I get additional errors that say "Multiple errors occurred on the server while processing commands." The services don't load and I just see "Error Reading Settings" in the server app.
    I started to get these errors when I added a new website to the server. All the services are working fine but I cannot access them in the server app.
    In console I'm seeing these errors when I try to access various services:
    2/24/13 8:02:12.692 PM Server[956]: Error: The server '10.0.1.150' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_dns'. Error: Error Domain=XSActionErrorDomain Code=499 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.0.1.150” which could put your confidential information at risk." UserInfo=0x7f8c4003a760 {NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.0.1.150” which could put your confidential information at risk., originalError=Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.0.1.150” which could put your confidential information at risk." UserInfo=0x7f8c3f547db0 {NSURLErrorFailingURLPeerTrustErrorKey=<SecTrust 0x7f8c40599080 [0x7fff7711ffd0]>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7f8c3d58c0b0 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.0.1.150” which could put your confidential information at risk.", NSErrorPeerCertificateChainKey=(
        "<SecCertificate 0x7f8c3f6747e0 [0x7fff7711ffd0]>"
    ), NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “10.0.1.150” which could put your confidential information at risk., NSErrorFailingURLKey=https://10.0.1.150:311/commands/servermgr_dns, NSErrorFailingURLStringKey=https://10.0.1.150:311/commands/servermgr_dns, NSErrorClientCertificateStateKey=0}}
    I have already restarted the server and used terminal to stop and start postgres. Any more thoughts on how to repair this?

    Just as I had suspected, the whole GUI crashed because of certificate problems. After two and a half hours with enterprise support, it turns out the com.apple.servermgrd certificate in the server keychain had become corrupt.
    We determined this by typing https://127.0.0.1:311 into Safari and we could see all the server modules and interact with them through the web interface. All the services were working properly as well so we knew that it was just the Server.app GUI that simply couldn't read settings that was causing the problem.
    So, first we closed the server app. Went into /var/servermgrd and deleted all the files from this folder. Then, in Keychain, deleted the com.apple.servermgrd certificate. Did a search for com.apple.servermgrd in Keychain and deleted everything else that came up for it.
    Then restarted the server. Now the server app was able to properly connect to the services in the background and read them properly. This was the jist of the troubleshooting that solved the problem. It also seems like DNS is causing problems because that is the only service that will not read right but is functioning properly in the background.
    I will post an update once Apple figures out what is wrong with DNS. Hope this helps anybody else having these problems.

  • Performance problem submitting big XML string parameter to the web service

    We deployed a web service on the OC4J via oracle.j2ee.ws.StatelessJavaRpcWebService . This web service takes one string as a parameter. The string contains XML. Evrything works great UNLESS input XML string reaches 5Mb in size. When it happens OC4J does something with it for about 10 minutes (yes, minutes) before it calls the web service method. At this time java.exe consumes 100% of CPU.
    WE tried to increase JVM heap size, stack size, etc, - no effect.
    Please, help!
    Thank you in advance,
    Vlad.

    Hi Sheldon,
    What i feel is that it's not been handled in your webservice if the parameter is null or "" <blank> space
    i just you to take care in webservice that if the parameter is null or "" pass the parameter null to the stored proc
    Regards
    Pavan

  • Problem with a Web Service execution of a Matlab converted program

    Hello,
    I need my Java Web service to call a program developed in Matlab. I've created a C++ shared library from my test.m file using the cpplib wrapper, with the following command: mcc -W cpplib:libtest -T link:lib test.m
    I've then created another file which I called another.cpp to use the shared library. I've done so using the following two commands:
    g++ -c -I/usr/local/matlab/extern/include -I. another.cpp
    g++ -O -o another another.o -L. -ltest
    Until this point, everything is ok and I've obtained my compiled file "another". However, when I try to execute the file, the system requests for some shared libraries, which should be pointed out through the LD_LIBRARY_PATH environment variable. Everything works fine changing the variable in the shell. I can execute "another" without any problem. The problem arises when I try to execute the file through my Web Service. I started by developing a script which would export the LD_LIBRARY_PATH and execute "another". The idea was to have the Web Service call the script, but it didn't work. I've tried to solve the LD_LIBRARY_PATH problem by using the following command:
    g++ -O -L. -o another another.o -Wl,-rpath=/usr/local/matlab/bin/glnx86 -Wl,-rpath=/usr/local/matlab/sys/os/glnx86,-rpath=. -ltest
    This allows me to have an executable "another" with no other shared library needs... However, whenever I compile my "another" with "-Wl...", my Web service just does not execute the file. The problem still remains! Just to be sure, I have executed successfully other c++, using the same compiler, or scripts files from my Web service. But for Matlab programs, I need to use the libraries I referred above in "-Wl".
    I've been with this problem for quite a while now, and I still haven't found a way of solving it. Can anyone help me?
    Thank you,

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

  • Generation Error - when trying to publish a Java web service

    Hi All,
    I keep getting the following Generation Error -- java.util.NoSuchElementException_ when I'm trying to create a Java Web Service using the jdeveloper wizard.
    I have 2 entities and 2 stateless session beans acting as their facades. One entity has a One-One(FK) relationship with the other entity. I test out the entities and session beans using the test client and the OC4J embedded container and everything seems to work. When I try to generate a Java WebService from one of the entities I keep getting the "Generation Error". Could someone please provide me with some insight into why I'm facing this problem, because it seemed fine when I published J2EE web services previously and now this happens and I cant seem to publish web services anymore. Everytime I keep getting the same GenerationError. Thanks in advance.

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

Maybe you are looking for