Problem in Creating WebService Client using 9.0.3 JD...

Hi All,
Thru JDev 9.0.3 webservice,
1. I try to create proxy class and a sample client to access ASP.NET webservice also i get the following error.
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
Error</H1><PRE>Servlet
Then i created a Java Webservice and hosted in the embedded oc4j server. Then i created a sample client. Then also i get same error as
follows.
I user, w2k server, 9i JD 9.0.3, j2sdk 1.4.1.
Whats the probs. 9.0.3 dont support 1.4.1.
2. Also one more thing. When i tried to create proxy for asp.net webservice, (Its a webservice to send email which has 6 methods overloaded),
i get the Proxy Class for ONLY THE LAST METHOD. Rest of the 1st 5 methods are not found. Im able to access this webservice thru axis and thru
.net also. Only when i created proxy thru 9.0.3, i get like this. So, no probs in my webservice. Some probs in 9.0.3 version. It seems that
it does't properly create proxy if Method Overloading is done in the webservice.
3. Also, why the proxy class created in 9.0.3 pass params and returns params as Integer eventhough i used only int in the asp.net webservice
and in my java webservice created thru JDev 9.0.3
Yours,
Sankar.B
India
Errror:
D:\j2sdk140\bin\javaw.exe -client -classpath
C:\9iJDeveloper903-J2SDK-141\jdev\mywork\XMethodsWebService\CurrencyExchange\classes;C:\9iJDeveloper903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJ
Developer903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJDeveloper903-J2SDK-141\soap\lib\soap.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlparserv2.jar;C
:\9iJDeveloper903-J2SDK-141\jlib\javax-ssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\jlib\jssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\
activation.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\mail.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\http_client.jar;C:\9iJDeveloper
903-J2SDK-141\lib\xmlparserv2.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlcomp.jar -Dhttp.proxyHost=172.17.56.1 -Dhttp.proxyPort=80
-Dhttp.nonProxyHosts= id.ws.EmbeddedMathWSStub
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml".
Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
Error</H1><PRE>Servlet error: Cannot generate Class:
C:\9iJDeveloper903-J2SDK-141\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\XMethodsWebService-CurrencyExcha
nge-webapp\temp\__java_statefull_rpc\id\ws\__MathWSStatefullWrapper.java:10: cannot access java.lang.Objectbad class file:
D:\j2sdk140\jre\lib\rt.jar(java/lang/Object.class)class file has wrong version 48.0, should be 47.0Please remove or make sure it appears in
the correct subdirectory of the classpath.import java.lang.Object;                 ^1 error</PRE></BODY></HTML>]     at
org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at org.apache.soap.rpc.Call.invoke(Call.java:268)     at
id.ws.EmbeddedMathWSStub.Add(EmbeddedMathWSStub.java:66)     at id.ws.EmbeddedMathWSStub.main(EmbeddedMathWSStub.java:34)Process exited
with exit code 0.

You are correct, there is a bug logged with JDeveloper 9.0.3 that with JDK 1.4, Web services are not working. See:
http://otn.oracle.com/products/jdev/htdocs/readme_903.html#ws0
(while not exactly your situation, I suspect it is related). We are close to releasing JDeveloper 9.0.4 preview which will support JDK 1.4 and should resolve your problem.
In terms of your second problem, there is a similar bug logged but could I ask you to try again with JDK 1.3.1 to see if a similar issue occurs?
As for your third question, this is the default behaviour for Oracle9iAS Web Services - int gets mapped as Integer. See:
http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/javaservices.htm#1033406
Hope this helps.
Mike.

Similar Messages

  • Problem while creating logical port using soamanager

    Hi all,
    I have created a client proxy for web service from a 3rd party system.
    When i am creating a logical port for the same consumer proxy i get a error as follows:
    RABAX_STATE -e: UNCAUGHT_EXCEPTION
    and a dump saying
    "  The exception 'CX_SXMLP' was raised, but it was not caught anywhere along the call hierarchy.
         Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program
          'CL_SXMLP_FRAGMENT=============CP' has to be terminated.                  
    Please suggest what can be done or what can be the problem.
    Thanks in advance.
    Komal

    Pls go to txn SM59 and check if the RFC destination for webservice is working in the test connection.
    Then go to txn LPCONFIG and create the logical port using the RFC dest.  Pls mention the path suffix appropriately.
    Next in your code while instantiating the client proxy pass the logical port name in the constructor (if the LP is not maintained as default).
    Pls reward points if the tips are helpful.

  • Problem in Creating the Product Using COM_PRODUCT_MAINTAIN_MULT_API

    Dear CRMExperts,
             I am working in SAP CRM 5.0 version.I want to create the Product Using the Function Module "COM_PRODUCT_MAINTAIN_MULT_API".For this i have gone through the SAP Note 810153.I copied the Report Program from that note and i developed the Report Program.but i am facing some problem.
    The structures zinstall_info2_maint_t and zinstall_info2_maintain does not exist in SAP CRM 5.0 Version.So i am getting Short Dump.
    If anyone come across the same problem.Please help me to solve this issue.Please help me it is very Urgent.
    Thanks & Regards,
    Ashok.

    Hi,
    Note 1074357 - Implementing rollback in FM COM_PROD_MATERIAL_MAINTAIN_API
    Does this help you?
    regards,
    Murali

  • Problem in creating new field using AET

    Hi ,
    We are facing a problem while creating a new field using AET.
    [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0190611650DB01471683520393954021End?blog=/pub/wlg/12716]
    Im following this blog while creating the new field using AET.
    After filling all the field details and trying to create a Transport request its going for a runtime error.
    The error is happening in class  CL_CRM_GENIL_AXT_API
    method get_editable_properties.
      data lr_field_ext type ref to cl_genil_field_extension.
      field-symbols <axt_field_extension> type gtype_field_extension.
      data lr_fieldext_ref type ref to if_axt_field_ext_access.
      read table axt_field_extension_tab assigning <axt_field_extension> with key ext_bo       = is_key-ext_bo
                                                                              ext_bo_part  = is_key-ext_bo_part
                                                                              extension_id = is_key-extension_id.
      lr_field_ext = <axt_field_extension>-axt_extension.
      if sy-subrc = 0.
    While Debugging we can see that the table axt_field_extension_tab  is having zero values during the last execution.
    But the Zfield is getting generated and the status is in green.
    Any suggestions will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Sep 9, 2009 1:00 PM
    Edited by: sijokjohn85 on Sep 10, 2009 12:49 PM

    Hi,
    you posted the same question again in a later post.
    Here is my answer:
    Hi,
    the reason that AET does not work is because there is/are missing entries in one of DB table.
    Namely the enhance BO assignment to the UI Object Type.
    Could you please tell me, what is the UI Object Type in you current IC application.
    In order to figure this out, you can put mouse cursor in one of the field in the UI and then press F2.
    Then you can go to SM30 in SAP GUI open the View BSPDLCV_OBJ_TYPE and search for the UI object type.
    Select the UI object type and see whether any enhanced BO is defined.
    In your case it should be empty, otherwise you can use AET in IC.
    And if it is empty we need to figure out which enhanced BO is relevant for the given UI Object Type.
    Regards,
    Steve
    P.S. But still you can raise a CSN message.
    The "Create New Field" should be in active mode.

  • Problem in creating 800 client to see table content .

    HI,
        I am new to sap .  I have ideas 4.7 in windows 2003.  i can see table content under user sap* and password 060719* . I  have created a user sapuser . through client 000 , i can create create abap program , but could not find ant table content like mara . at first time  after creating sapuser , it asked me the access key. i gave 36687663221261278694 and it has taken . but to see table content , i created a new user as partha in client 800. but at first time at the time of logging it is asking the access key. though i am giving same key it is not taking .
       1) is there any other key for that educational version ?
       2) how to crreate a user in client 800 . pls give step by step procedure .
       3) for creating a user under client 800 . should i delete my sapuser created under 000 client.

    Hi Jack,
    First of all, the client 000 is one of the standard clients that comes with any SAP R/3 installation (with client 001 and 066 (for EarlyWatch for SAP auditory purposes)). To work with the system you should always make a copy of the client 000 or 001 to a new client i.e. client 200, 400, or whatever name.
    In the case of IDES, the system always comes with the client 800, where you can find all the IDES configuration and data (for test, training, sandbox). If you want to work in the system you should work on this client (800). To check the tables you can always use transaction se12 (table structure: fields, keys) and se16 to see the table content. If you want to create users you should always do it in the client 800 or any other client you've created (not in the standard ones 000, 001, 066, try to maintain these clients clean of any custom data).
    To view the tables data you dont need any key.  The keys are requested when you want to register a developer user (to create a new abap program (all the new programs must start with Z (or X,Y) to differentiate from the standard SAP programs. The keys are also requested when you want to edit a standard program or table or any other standard SAP object.
    1) To get the keys for any SAP system (there are 2 types of keys: developer user and for editing any standard object) you must log on the OSS service (with the user and password provided by SAP when you got your SAP software) : service.sap.com/sscr. Here you use the installation number of your IDES system (the system must be registered in OSS) and then you can create your developer users or standard object keys.
    2)To create a user in any system you need to go to transaction SU01. Here you can make a copy of SAP* user for example (choosing in the trx the button copy) to create your new user. you assign a password to the user and save it. You need to login again on the system and put your new password. This is the easiest way, otherwise you can create a user from zero but you will need to add more information to the user. To start you can create a copy of SAP* or DDIC users.
    3) Yes, I suggest you delete the user you've created in client 000, try to keep it clean of any customer modifications (you could leave it there but is not a good practice).If you want to work with your IDES system and the IDES data, use the client 800.
    Good luck,

  • Problem with creating customer account using TCA Java API

    Hi,
    I am trying to create customer account using TCA java API. i am getting exception saying PL/SQL numeric error: character to number conversion. but this error raises when calling API method
    HzCustAccountV2Pub.createCustAccount.
    can any body help me in solving this issue, any clue why this exception raises. i have tested even the code given in TCA API user guide. that code also gets same error.

    package client;
    import java.math.BigDecimal;
    import java.sql.Timestamp;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    import oracle.apps.ar.hz.v2api.HzCustAccountV2Pub;
    import oracle.apps.ar.hz.v2api.HzPartyV2Pub;
    import oracle.apps.ar.hz.v2api.HzCustomerProfileV2Pub;
    class CreateCustAccount {
         public static void main(String[] args) throws Exception {
         HzCustAccountV2Pub.CustAccountRec p_cust_account_rec = new HzCustAccountV2Pub.CustAccountRec();
         HzPartyV2Pub.PersonRec p_person_rec = new HzPartyV2Pub.PersonRec();
         HzCustomerProfileV2Pub.CustomerProfileRec p_customer_profile_rec = new      HzCustomerProfileV2Pub.CustomerProfileRec();
         BigDecimal[] x_cust_account_id = new BigDecimal[1];
         String[] x_account_number = new String[1];
         BigDecimal[] x_party_id = new BigDecimal[1];
         String[] x_party_number = new String[1];
         BigDecimal[] x_profile_id = new BigDecimal[1];
         String[] x_return_status = new String[1];
         BigDecimal[] x_msg_count = new BigDecimal[1];
         String[] x_msg_data = new String[1];
         try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         OracleConnection conn = (OracleConnection) DriverManager.getConnection ("jdbc:oracle:thin:@ebiztst.trianz.int:1526:PATCH","apps","apps");
         HzCustAccountV2Pub custaccountV2Pub = new HzCustAccountV2Pub();
         p_cust_account_rec.account_name = "John Ac";
         p_person_rec.person_first_name = "John";
         p_person_rec.person_last_name = "Smith";
         p_cust_account_rec.created_by_module = "TCA_EXAMPLE";
         HzCustAccountV2Pub.createCustAccount(
         conn
         , "T"
         , p_cust_account_rec
         , p_person_rec
         , p_customer_profile_rec
         , "F"
         , x_cust_account_id
         , x_account_number
         , x_party_id
         , x_party_number
         , x_profile_id
         , x_return_status
         , x_msg_count
         , x_msg_data
         System.out.println( "x_return_status = " + x_return_status[0] );
         System.out.println( "x_msg_count = " + x_msg_count[0] );
         System.out.println( "x_msg_data = " + x_msg_data[0]);
         if (x_msg_count[0].intValue() > 1) {
              OracleCallableStatement ocs = null;
              for (int i=0; i<x_msg_count[0].intValue(); i++) {
              ocs = (OracleCallableStatement)conn.prepareCall(
              "begin ? := fnd_msg_pub.get( p_encoded => ’F’ ); end;");
              ocs.registerOutParameter(1, OracleTypes.VARCHAR);
              ocs.execute();
              System.out.println((i + 1) + ". " + ocs.getString(1));
              conn.close();
              } catch (ClassNotFoundException e) {
              System.out.println("Driver Not Found: " + e);
              } catch (SQLException e) {
              System.out.println("SQL Error." + e);
    }

  • Problem while creating service PO using bapi_po_create1

    hi all,
        i am getting error :
    In case of account assignment, please enter acc. assignment data for item
    what does this mean?
    please help,,
    thanks,
    Siddhartha Prakash

    Hi Sid.
    I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
    I'm using a PR and the Category is 'Y', and I cant find where is the problem.
    The tables that I'm passing to the BAPI_PO_CREATE1 are:
    POITEM/ POITEMX
    POACCOUNT/ POACCOUNTX
    POSERVICES
    POSRVACCESSVALUES
    Please, if you have any idea, let me know!
    Tks a lot!
    Renata

  • How to create Proxy CLIENT USING .WSDL ?

    I apologize if i have posted this question in the wrong forum.My question is concerned with WSDL.
    Recently i came across a question in as :
    Write a command to Create proxy client by using .WSDL and set of XSD file.
    Can anyone provide me some pointers as to where i can find more information on this.
    Thank you for your consideration.

    sunjava84 wrote:
    I apologize if i have posted this question in the wrong forum.My question is concerned with WSDL.
    you did. Try http://www.rentacode.com next time.
    Can anyone provide me some pointers as to where i can find more information on this.
    The documentation of any web services client stack.

  • Problem in Creating the Transport using Export option on Portal

    Hi All,
    We have problem in creating the Transport Packaage using the Portal EXPORT option. Here are the details:
    When I tried to create a New Transport package on the Portal, It opens first page asking for the Package name, ID and suffix. After completing  the form, when NEXT or Finish button is clicked, the system goes on forever and does not show the next page at all.
    This is kind of Urgent as we were not able to transport the objects to QA system
    Your help in this reagrd will be well appriciated.
    Thanks and regards,
    Babu

    Hi All,
    We have problem in creating the Transport Packaage using the Portal EXPORT option. Here are the details:
    When I tried to create a New Transport package on the Portal, It opens first page asking for the Package name, ID and suffix. After completing  the form, when NEXT or Finish button is clicked, the system goes on forever and does not show the next page at all.
    This is kind of Urgent as we were not able to transport the objects to QA system
    Your help in this reagrd will be well appriciated.
    Thanks and regards,
    Babu

  • Problem while creating WBS elements using LSMW

    Hello experts,
    I am able to create Project Definitions using LSMW. (using recording)
    But there is a problem while creating WBS elements.
    Tcode CJ20 has table control and that will become problem for multiple rows (levels).
    Can anyone suggest a solution to mass upload WBS elements?
    Thanks for your valuable advice.

    Hi,
    Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.
    If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.
    I am using different sets of BAPIs to create project, create / change WBS element.
    I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
    For example if you want to create / change the WBS element, the BAPIs sequence is:
    <b>1. BAPI_PS_INITIALIZATION
    2. BAPI_BUS2054_CREATE_MULTI ( to create  WBS )
             or
    2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )
    3. BAPI_PS_PRECOMMIT
    4. BAPI_TRANSACTION_COMMIT</b>
    Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.
    Let me know if you need further information.
    Regards,
    RS

  • How do you create a client using static libraries?

    We are trying to create a client that does not use shared libraries.
    We have tried to use a -Bstatic option when linking the libraries but,
    we get the error /usr/local/tuxedo/lib/libtux.a(libtux.so.60): fatal
    error: input shared object in static mode
    We have tried several variations like moving the .a files, changing
    the options around and got no where.
    Any suggestions would be greatly appriciated.
    Thank you.

    Hello,
    If you are using JSF, you can create a LOV by using the selectItem
    component.
    Look at this sample code:
    <h:form binding="#{backing_test.form1}" id="form1">
    <h:selectOneMenu binding="#{backing_test.selectOneMenu1}"
    id="selectOneMenu1">
    <f:selectItem itemLabel="option1" itemValue="1"
    binding="#{backing_test.selectItem1}" id="selectItem1"/>
    <f:selectItem itemLabel="option2" itemValue="2"
    binding="#{backing_test.selectItem2}" id="selectItem2"/>
    <f:selectItem itemLabel="option3" itemValue="3"
    binding="#{backing_test.selectItem3}" id="selectItem3"/>
    </h:selectOneMenu>
    </h:form>
    Regards,
    Luis R.

  • Problem in  Creating a view using infotypes PA0001,PA0002,...

    Hi,
    Can anybody please help me how to create a Maintainence view using PA0001,PA0002,PA0003,PA0006,PA0032.
    I tried to create it using se54.
    when i use PA0003 as check table, i am not able to create relations with PA0001,PA0002,PA0032,PA0006.
    Thanks in Advance.
    Vinay.BR

    You can create a view using SE11 as mentioned in the previous answer. Once you created, you can use SE16 to display the content of the view table. However, this does not serve much because you can also see the original table using SE16. Unless you want to generate screen dialog so that the view table can be used in SM30. This method can be done while editing the table in SE11. Click on Utilities->Table maintenance generator. However, this will be considered as a repair (modification to SAP standard) and you need repair key.

  • Problem in creating program dynamically using FM 'rss_template_instantiate'

    hi everyone,
    i need to create the program dynamically using FM 'RSS_TEMPLATE_INSTANTIATE'.
    if we create the program using this function module can we see the generated code.
    very urgent!!!!!
    thanks in advance.
    regards,
    bharat.

    hi everyone,
    i need to create the program dynamically using FM 'RSS_TEMPLATE_INSTANTIATE'.
    if we create the program using this function module can we see the generated code.
    very urgent!!!!!
    thanks in advance.
    regards,
    bharat.

  • Problem while creating partner link using https URL

    Hi,
    To create the partnerlink using https URL, I had done the following:
    -Imported the self signed certificate into the OraBPELPM_\jdk\jre\lib\security\cacert
    -Added following entries in OraBPELPM_1\integration\jdev\jdev\bin\jdev.conf
    AddVMOption -Djavax.net.ssl.keyStore=E:\OraBPELPM_1\jdk\jre\lib\security\cacert
    AddVMOption -Djavax.net.ssl.keyStorePassword=esbtest123
    I am not able to create partner link using URL https://localhost/orabpel/default/ErrorHandlerBPEL/1.0/ErrorHandlerBPEL?wsdl .
    Able to create partnerlink using same URL if I replace https with http.
    Did I miss any other configuration that needs to done to create partnerlink using https in JDeveloper BPEL Designer.
    Thanks,
    -Vidya

    Hi,
    I  too have the same issue. Appriciate if you share some knowledge on this issue.
    Thanks
    Aravinda

  • Problem in creating work center using bapi

    hai all,
    i am creating work center using " CRAP_WORKCENTER_CREATE ", it is also getting created successfully when I try to check CAPACITY for capacities and scheduling it is giving a error called.
    " in table T006 entry is missing " . why it is comming like that.

    Hi Goutam/Ram,
        I am trying to create capicity . I am useing CRAP_CAPACITY_CREATE .
       But I am getting so many errors. Is it the right Bapi or do know any other BAPI.
       We are trying to copy Capacities and work center from one plant to other.
    Plz send if you any documentation or code. Also send work order creating code.
    Thanks in Advance.

Maybe you are looking for

  • Help - Safari Frames Question?

    I'm trying to open a document I sent to my gmail account. I'm using safari and when I open the doc it doesn't show up but instead says, "This page uses frames, but your browser doesn't support them." Same thing happens in Firefox. What's the deal? He

  • How do I get actual music files to my iPhone?

    After buying a new iPhone 6 and doing a restore from the backup of my iPhone 5, I find all the music listed on the new phone shows as being in the Cloud.   Attempting to play the music anywhere out of wi-fi range requires downloading the files as cel

  • Recording cassette tape to iMac

    Hi there! I am trying to convert a cassette player into digital form through QuickTime.  Whenever recording it sounds great except for an annoying echo.  Any tips on how to alleviate this?? Thanks!

  • Where is the redeem on the mac app store page

    Can some point me in the right direction to find the Redeem on the Ma App Store application

  • Just got a 5c and giving old 3gs to wife how do I get new apple id

    new 5c showing 3g but says you are not subscribed to a mobile data network. The phone part works but not the internet. I am on monthly contract with o2 for 500mg. Unlocked phone yesterday and may have changed settings? Help