Oracle CRM web services

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? and 500 Internal error
This is the error I am getting, whenever I run the program. I have put dummy credentials
package crmod;
import com.sun.net.httpserver.Authenticator;
import crmondemand.xml.contact.Contact;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.PasswordAuthentication;
import java.net.URL;
import java.security.Security;
import java.util.StringTokenizer;
import org.apache.axis.session.Session;
public class CRMOD {
    public CRMOD() {
    public static void main(String[] args) {
    //  System.getProperties().put( "proxyHost", "172.17.24.24");
     // System.getProperties().put( "proxyPort", "8003");
   //   System.getProperties().put("proxySet", true);
     //            System.setProperty("http.proxyHost", "172.17.24.24");
     //            System.setProperty("http.proxyPort", "8003");
      //           System.setProperty("https.proxyHost", "172.17.24.24");
    //             System.setProperty("https.proxyPort", "8003");
      //           System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
      //           Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
      System.setProperty("javax.net.ssl.trustStore","C:\\Oracle\\Middleware\\jdk160_21\\jre\\lib\\security\\cacerts");
    System.setProperty("https.proxyHost", "172.17.24.24 ");
    System.setProperty("https.proxyPort", "8003");
       System.setProperty("mail.smtp.socketFactory.fallback", "true");
      String jsessionid;
             String endpoint;
             try
                                      CRMOD crmod = new CRMOD();
                                      System.out.println("Logging In");
                                      jsessionid = crmod.logon("https://secure-slsomxvka.crmondemand.com/Services/Integration", "CRM", "Ondemand");
                                      System.out.println(jsessionid);
               endpoint =  "https://secure-slsomxvka.crmondemand.com/Services/Integration" + ";jsessionid=" + jsessionid;
               URL urlAddr =  new java.net.URL( endpoint);
               crmondemand.ws.contact.Contact service = new crmondemand.ws.contact.ContactLocator();
               crmondemand.ws.contact.Default_Binding_Contact stub = service.getDefault(urlAddr);
               crmondemand.ws.contact.ContactWS_ContactInsert_Input contactlist = new crmondemand.ws.contact.ContactWS_ContactInsert_Input();
               crmondemand.ws.contact.ContactWS_ContactInsert_Output outlist = new crmondemand.ws.contact.ContactWS_ContactInsert_Output();
               crmondemand.xml.contact.Contact[] contacts = new crmondemand.xml.contact.Contact[1];
               crmondemand.xml.contact.Contact contact = new crmondemand.xml.contact.Contact();
               contact.setContactFirstName("Joy");
               contact.setContactLastName("Jose");
               contact.setExternalSystemId("72134");
               contacts[0] = contact;
               contactlist.setListOfContact(contacts);
               contactlist.setEcho("off");  // Don’t forget this line, as the Web service call would fail!
               outlist = stub.contactInsert(contactlist);
               crmondemand.xml.contact.Contact[] results = new crmondemand.xml.contact.Contact[1];
               crmondemand.xml.contact.Contact result = new crmondemand.xml.contact.Contact();
               results = outlist.getListOfContact();
               result = results[0];
               System.out.println(result.getContactId());
                                      crmod.logoff("https://secure-slsomxvka.crmondemand.com/Services/Integration", jsessionid);
                                      System.out.println("Log Out");
             catch (Exception  e)
                     System.out.println(e);
  private static String logon(String wsLocation, String userName,
                                 String password) {
         String sessionString = "FAILURE";
         try {
             // create an HTTPS connection to the On Demand webservices
             URL wsURL = new URL(wsLocation + "?command=login");
             HttpURLConnection wsConnection =
                 (HttpURLConnection)wsURL.openConnection();
             // we don't want any caching to occur
             wsConnection.setUseCaches(false);
             // we want to send data to the server
             // wsConnection.setDoOutput(true);
             // set some http headers to indicate the username and passwod we are using to logon
             wsConnection.setRequestProperty("UserName", userName);
             wsConnection.setRequestProperty("Password", password);
             wsConnection.setRequestMethod("GET");
             // see if we got a successful response
             if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                 // get the session id from the cookie setting
                 sessionString = getCookieFromHeaders(wsConnection);
         } catch (Exception e) {
             System.out.println("Logon Exception generated :: " + e);
         return sessionString;
     * log off an existing web services session, using the sessionCookie information
     * to indicate to the server which session we are logging off of
     * @param wsLocation - location of web services provider
     * @param sessCookie - cookie string that indicates our sessionId with the WS provider
     private static void logoff(String wsLocation, String sessionCookie) {
         try {
             // create an HTTPS connection to the On Demand webservices
             URL wsURL = new URL(wsLocation + "?command=logoff");
             HttpURLConnection wsConnection =
                 (HttpURLConnection)wsURL.openConnection();
             // we don't want any caching to occur
             wsConnection.setUseCaches(false);
             // let it know which session we're logging off of
             wsConnection.setRequestProperty("Cookie", sessionCookie);
             wsConnection.setRequestMethod("GET");
             // see if we got a successful response
             if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                 // if you care that a logoff was successful, do that code here
                 // showResponseHttpHeaders(wsConnection);
         } catch (Exception e) {
             System.out.println("Logoff Exception generated :: " + e);
     * given a successful logon response, extract the session cookie information
     * from the response HTTP headers
     * @param wsConnection successfully connected connection to On Demand web services
     * @return the session cookie string from the On Demand WS session or FAIL if not
     found*
     private static String getCookieFromHeaders(HttpURLConnection wsConnection) {
         // debug code - display all the returned headers
         String headerName;
         String headerValue = "FAIL";
         for (int i = 0; ; i++) {
             headerName = wsConnection.getHeaderFieldKey(i);
             if (headerName != null && headerName.equals("Set-Cookie")) {
                 // found the Set-Cookie header (code assumes only one cookie is being set)
                 headerValue = wsConnection.getHeaderField(i);
                 break;
         // return the header value (FAIL string for not found)
         return headerValue;
  private static String getSessionId(String cookie) {
            StringTokenizer st = new StringTokenizer(cookie, ";");
            String jsessionid = st.nextToken();
            st = new StringTokenizer(jsessionid, "=");
            st.nextToken();
            return st.nextToken();

I guess both errors are same ..

Similar Messages

  • While consuming Fusion CRM web service in ADF mobile throwing an error

    Hi,
    I am developing ADF Mobile using JDeveloper
    11.1.2.3 and consuming Fusion CRM ADF Web Services.
    While executing CRUD operations with these web services
    in ADF mobile app, I am getting SOAP response as *Error in getting response
    and got result nothing *.
    And also noticed as using JDeveloper ADF mobile App, unable to create URL service
    Data Control - REST based for FUsion CRM web services. Where as I am able to
    create SOAP based web services data control. It' strange or surprise.
    Did anyone face the above problems. Kindly let me know any suggestions or
    samples to the below contacts
    Regards
    Bhaskara Reddy S
    00919008466722
    bhaskara.sannapureddy at Crmit.com

    Dear Frank,
    Based on below links, Fusion CRM also supports REST also apart from regular SOAP Web Services.
    http://niallcblogs.blogspot.in/2012/10/204-calling-rest-service-from-fusion-crm.html AND
    http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e20388/F412758AN17B21.htm
    (For e.g one of linked in profile :http://www.linkedin.com/in/minalkhodani , many teams are developing using SOAP & REST)
    Designed and developed integration services using SOAP and REST web services for Oracle Fusion CRM Marketing Modules.)
    When creating URL based data control, getting an Error as "Forbidden" , (Does it mean NOT SUPPORTED??) . Kindly advice.
    I am calling WEB SERVICE thru SOAP in AMX PAGE code as below after creating Web Services Data Control from ADF Mobile UI thru JDeveloper IDE.
    == CODE SNIPPET OF AMX PAGE CALLING SOAP FUSION CRM WEB SERVICE =======
    <?xml version="1.0" encoding="UTF-8" ?>
    <amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
    xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
    <amx:panelPage id="pp1">
    <amx:panelFormLayout id="pfl2">
    <amx:inputText value="#{bindings.name.inputValue}" label="Person First Name" id="it1"/>
    <amx:inputText value="300000001210220" label="Person Object Id" id="it2"/>
    </amx:panelFormLayout>
    <amx:facet name="header">
    <amx:outputText value="Create Person in Fusion CRM" id="ot1"/>
    </amx:facet>
    <amx:facet name="primary">
    <amx:commandButton id="cb1" text="Back" action="__back"/>
    </amx:facet>
    <amx:facet name="secondary">
    <amx:commandButton id="cb2"/>
    </amx:facet>
    <amx:panelFormLayout id="pfl1">
    </amx:panelFormLayout>
    <amx:outputText value="#{bindings.message.inputValue}" id="ot2"/>
    <amx:outputText value="#{bindings.code.inputValue}" id="ot3"/>
    *<amx:commandButton actionListener="#{bindings.createPerson.execute}" text="createPerson"*
    *disabled="#{!bindings.createPerson.enabled}" id="cb3"/>*
    <amx:iterator var="row" value="#{bindings.personParty1.collectionModel}" id="i1">
    <amx:panelLabelAndMessage label=" 300000001210220" id="plam2">
    <amx:outputText value="#{row.PartyId}" id="ot5">
    <amx:convertNumber groupingUsed="false"/>
    </amx:outputText>
    </amx:panelLabelAndMessage>
    <amx:panelLabelAndMessage label="#{bindings.name.inputValue}" id="plam1">
    <amx:outputText value="#{row.PersonFirstName}" id="ot4"/>
    </amx:panelLabelAndMessage>
    </amx:iterator>
    </amx:panelPage>
    </amx:view>
    Regards
    Bhaskara Reddy

  • Bugs in BC CRM web service need to be fix (Server was unable to process request ERROR: A server error has occured)

    I'm using the following code to retrieve order list is working fine but it give me an error Server was unable to process request ERROR: A server error has occurred when I trying to retrieve order total paid with same code: and the output when retrieve order total paid is [object Object]
    var wsUrl = "https://mysite.worldsecuresystems.com/CatalystWebService/CatalystCRMWebservice.asmx?WSDL";
                          var RetrieveTotalPaidXML =
                          '<?xml version="1.0" encoding="utf-8"?>\
                          <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">\
                          <soap12:Body>\
                          <Order_RetrieveTotalPaid xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">\
                          <username>user</username>\
                          <password>pass</password>\
                          <siteid>111222</siteid>\
                          <orderId>112345</orderId>\
                          </Order_RetrieveTotalPaid>\
                          </soap12:Body>\
                          </soap12:Envelope>';
                           $.ajax({
                            type: "POST",
                            url: wsUrl,
                            Host: "mysite.worldsecuresystems.com",
                            contentType: "application/soap+xml; charset=utf-8",
                            data: RetrieveTotalPaidXML,
                            dataType: "xml",
                            success: processSuccess,
                            error: function(){alert("Error: Something went wrong");}
                           function processSuccess(ResData) {
                           var RetrieveTotalPaidParse = $.parseXML(ResData);
                           var $xmlRetrieveTotalPaidParse = $(RetrieveTotalPaidParse);
                           var $Order_RetrieveTotalPaidResult = $xmlRetrieveTotalPaidParse.find('Order_RetrieveTotalPaidResult');
                                   $Order_RetrieveTotalPaidResult = $(this).find('Order_RetrieveTotalPaidResult').text();
                                   $('#RetrieveTotalPaidResult').text(Order_RetrieveTotalPaidResult);
    I think there a bug in BC CRM Web Service when trying to make a request for Order_RetrieveTotalPaid using soap need to be fix

    Perhaps it would be good to update the sample request as shown on the  Developer reference page for this method (and, actually ALL of the SOAP samples)
    The sample shows siteid (all lower case)

  • Oracle 9i Web Services Quickstart Install TCP tunneling problem

    When I try to run the OTNGUIDGenerator example using the TCP Tunneling portion of the Oracle 9i Web Services Quickstart
    Install I get this in the From localhost8900 tunnel window:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getGUID xmlns:ns1="oracle.otn.ws.emarket.OTNGUIDGenerator" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </ns1:getGUID>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I get this in the From 127.0.0.1:8888 window:
    HTTP/1.1 404 Not Found
    Date: Mon, 28 Oct 2002 20:38:06 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator not found on this server</BODY></HTML>
    This is my webservices stub
    public class OTNGUIDGeneratorStub
    /** public String endpoint = "http://otn.oracle.com/ws/oracle.otn.ws.emarket.OTNGUIDGenerator"; */
    public String endpoint = "http://127.0.0.1:8900/j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public OTNGUIDGeneratorStub()
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    /** props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "proxy.scott.af.mil");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "375");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "fowlerji");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "F1234567*g"); */
    m_httpConnection.setProperties(props);
    Not sure what to call the server - this works okay when I'm not using tunneling and using our proxy server??

    I think your problem is that you have a proxy user/password and the TCP Monitor (both the command line and built-in 9.0.3 version) do not support that - they only support specification of the proxy server itself :-(
    It is a feature request that I hope will make it into the late spring/early summer release of JDeveloper - I wrote it up as a request based on the number of folks who faced this issue with these tutorials.
    Mike.

  • Oracle Spatial Web Services in ADF application

    Hi,
    I want to use Oracle Spatial Web Services in an ADF application (JDeveloper 11.1.2) to retrieve Longitude/Latitude after inserting/upating an address record.
    Is there any sample app or documentation on how to do this?
    Thank you,
    Monica

    I never did solve the problem. I decided to try out GeoServer for WFS and am very impressed. It was much easier to install and pretty feature-filled as well with a lot of documentation. I would definitely suggest checking it out to see if it will fit your needs.

  • WS-I fails with Oracle Generated Web Service

    Hi
    I recently used WS-I Analyzer to analyze the HTTP Analyzer logs. I get the following error:
    SSBP1003
    The Content-Type header is not present.
    Element Location:
    lineNumber=19
    SSBP5101
    The message either (1) did not have a "Content-Type" HTTP header field, or (2) the "Content-Type" HTTP header field had a field-value whose media type was something other than "text/xml"
    Element Location:
    lineNumber=19
    Any ideas?

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • How to return multiple record with Oracle Native Web Service?

    Dear all,
    I would like to know that the oracle native web service can be able to return multiple records to client or not?
    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)
    Thank and Regards,
    Zenoni

    I successfully developed the oracle native web service for returning single record but the next challenge is to develop web service in order to return multiple record (like Employees data base on each department)You could return a list (multiple values/records) in XML format (using XMLType or CLOB), or CSV, or JSON, or whatever.
    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;It would be up to the client (the caller of the web service) to extract the values from whatever format you decide upon, of course.
    - Morten
    http://ora-00001.blogspot.com

  • Oracle BI Web Services to extract Presentation Variables

    Hi Folks,
    I have a complex requirement and was unable to find the right solution on web.
    My general question is,
    What is the C# code which uses Oracle BI Web Services to extract Presentation Variables information and write it to XML files?
    We are unable to extract for Presentation Variables with Variable Value but able to extract for Column Value.
    So please share your thoughts as how to extract the presentation variables.
    Thanks,
    Oj

    Oj,
    Check this
    O.B.I.E.E: Obiee Web Services &amp;#8211; Using .net and C#
    http://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx
    Try this and let us know the outcome.
    Thanks,

  • Oracle Calendar Web services toolkit download

    Where can I download Oracle Calendar Web Services Toolkit ?

    OK, I found it under the OCS sindows client v9 download.

  • Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error

    Hi,
    I have the Oracle Database 10.2.0.1.0 :-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
    However, I have hit this error & I ma unable to proceed :-
    SQL>  select get_stock_price from dual;
    select get_stock_price from dual
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
    java.security.AccessControlException: the Permission
    (java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
    PL/SQL to grant this is dbms_java.grant_permission( 'USF',
    'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    ORA-06512: at "USF.UTL_DBWS", line 193
    ORA-06512: at "USF.UTL_DBWS", line 190
    ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
    Regards,
    Sandeep

    Hi,
    The error message said
    the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
    I'd follow the suggestion
    The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
    In case you have not done so, consult the Callout Users Guide @
    http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    Kuassi http://db360.blogspot.com

  • Oracle ADF web services data control reconfiguration problem....

    We fallow instruction below
    http://www.oracle.com/technology/products/jdev/viewlets/1013/bpelfromadf_viewlet_swf.html
    That was our test environment.
    we need to change web service url according to our production environment.
    But we can't find ADF web services data control configuration pages.
    do we need to manually change XML file.
    Thanks..

    sorry. I miss the structure windows..
    I see the menu.
    in my opinion this setting need to be done on the item.
    Also We can't refresh Web servise parameter list from there.
    is tehre any where to refresh parameter list.

  • ORA-06502 JNI.CALL_STRING_METHOD Oracle Forms & Web Services

    Hello:
    A customer of us has been integrating Oracle Forms 10g and Web Services.
    There is a java class named WsGenQueryStub. That java class has been generated using Oracle JDeveloper.
    It implements the consume of a Web Service That class has a method named GetDat which receives 2 input parameters which are of VARCHAR2 type, containing XML text.
    This method returns an XML text string which may have more than 4000 characters .
    That class is incluedd at forms application by using the "Import Java Class" feature.
    Forms builds a package named WsGenQueryStub which includes the following funtion
    -- Method: GetData (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION GetData(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Forms Version is 9.0.4.0.19 , and PL/SQL version ( of forms ) is 9.0.1.5.1 , both support variables of type VARCHAR2 up to 32767 characters long
    However when the form is run the line
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    gets the ORA-06502 error when the returned text is longer than 4000 characters
    I thank your answers.
    Fernando.

    Ferdo,
    could you split up the result string in chunks that don't exceed the max. length? A method exposed on the Java class to could do this and be called from Forms as long as there is data coming.
    Frank

  • Use other application server to run Oracle generated web services

    Hi all,
    I am currently running an Oracle 9i database and application server (OC4J) and use WebservicesAssembler (JPublisher) to expose PL/SQL packages as web services to an external PDA application.
    Is it possible to run the EAR files (the assembled web service) generated in this way on another type of application server? This question because I need to use Resin in a live environment.
    If this is not possible, would there be a way to work around it? I mean by manually programming the web service against the PL/SQL package. And if so, has anybody tried that out before?
    Are there other alternatives?
    Thanks in advance for your help!
    Regards,
    Stijn Lambert

    Hello,
    Which version of OracleAS/Web Service stack are you using?
    If you are using a version prior to 10.1.3 the Web Service stack is proprietary and not portable.
    JAX-RPC used in 10.1.3 is more portable but you have to be very careful about the way you create your deployment descriptor.
    In a general manner you can always create pure JDBC/JPublisher clients and expose them using the Web Service that you want.
    Regards
    Tugdual Grall

  • Using Oracle AS Web Services stub in portlet?

    I have built a portlet using the jdeveloper plugin wizard, and added a web service stub using the jdeveloper wizard for that. I have added no other code to the portlet than the stub. When running the portlet the classloader throws an class format exception. When using the same stub in a standalone application it runs fine. The libraries mentioned in jdevelopers under the system library "Oracle SOAP" has all been added to the webapplication web-inf/lib. How do I fix it?

    (coworker)
    We have solved the problem. It turned out that the auto generated stub contained code not compatible with the OC4J class loader (but compatible with normakl JVM classload). By modifying the stub a little we got it working. Here is the an extract from one method in the stub. The two line that work comes first and the two next lines contains the auto generated code
    public Integer dispatchFile(byte[] fileContent, Integer programID) throws Exception {
    params.addElement(new Parameter("fileContent", fileContent.getClass(), fileContent, null));
    params.addElement(new Parameter("programID", programID.getClass(), programID, null));
    // params.addElement(new Parameter("fileContent", byte[].class, fileContent, null));
    // params.addElement(new Parameter("programID", Integer.class, programID, null));
    The two original lines compiles into some static class members and a static method that fails to load.
    The new code does not produce any static content.
    We consider this behaviour to be an OC4J error.

  • BPEL & Oracle J2EE Web Services

    I have only tested with success invocations to JAX-RPC
    web services.
    When I try to call an oracle J2EE rpc/encoded web service
    I get a runtime error:
    BPEL Fault: {http://mypackage4/ws_hola.wsdl}org.apache.wsif.soap.fault{org.apache.wsif.soap.fault.object=No Deserializer found to deserialize a 'http://mypackage4/ws_hola.wsdl:quien' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. [java.lang.IllegalArgumentException]}
    Does anybody know why?

    Hello 2087,
    try to add support for xsi type in "bpel.xml" of your bpel process
    Example:
    <?xml version="1.0"?>
    <BPELSuitcase>
    <partnerLinkBinding name="PartnerLinkName">
    <property name="wsdlLocation">services/PartnerLinkNameWrapper.wsdl</property>
    <property name="sendXSIType">true</property>
                   </partnerLinkBinding>
    For more information see the link in this forum:
    [NOTE] Adding xsi type to SOAP messages
    ByeBye
    Andrea

Maybe you are looking for

  • How do I convert an IMAQ image buffer into an IMAQ Vision 'Image'?

    Using NI IMAQ and IMAQ Vision with LabWindows/CVI 6.0... I have some acquisition code that uses IMAQ img functions to set up a triggered image acquisition and stores the image into an 1D unsigned char array buffer. I would now like to add code that u

  • Transfer apps from iPhone to iTunes, can they be merged?

    Hello! I'm hoping you can help me with. I purchased an iPhone 5, ios 6.1.2 for a friend and it already has some cool apps on it. My friend already has an iTunes account for the iPod shuffle for music so he has no apps or photos. The phone  to put som

  • 1 GB AIFF has duration of 0:00

    My MacBook crashed while recording in STP 2.0.2 yesterday. It was an hour in and in the Recordings folder is a 1 GB file, which I imagine is the audio up until the crash. But I can't open it in anything! The duration is 0:00, while it should be about

  • JTree doesn't scroll to selected node when out of scrollable view..

    When ever I add a new item to the END of the tree and the tree is within a scrollpane, OR as I hit keys to navigate to items starting with the letter of the key I enter, the view is not scrolled into place. Any way to do this without custom code? If

  • IPad Video import query

    When I last connected my iPad to PC it automatically imported photos and videos as I have done on many occasions. Photos are fine on both devices, but videos are lost.  Empty MOV files are visible (0 bytes) and give error message: no URL found, when