Web services server side uses C dll (native calls)

Hi,
I developed a web service using JAX-RPC. My implementation class uses native c function calls. Dose anybody know where I should put my C dlls and their dependentcy files on Web service server side (tomcat)? If they should be in the .war file, what kind of path in the war would be?
I have an exception ocurred, like this
[java] java.rmi.ServerException: Missing port information
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault (StreamingSender.java:357)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
I think probably it is because of native call problem, since I could get something back if not using native call.
Anybody has similar experience when developing web service using JAX-RPC and calling native c api functions on server side?
Thanx in advance!

Yes, I just tried it again (comment all native call out and just call the method that doesn't use native call, it works).
So your web service application using jax-rpc and c native dlls works already?
Can you tell me where you put all the native C DLLs and where I can set java.library.path in tomcat?
Thank you!

Similar Messages

  • How to catch client information from web service server side?

    Is there any possibilities to get the client information (any id or ipaddress or anything) from web service running server side(or in console)? I didn't get any idea how to catch this information. If someone knowing this, that would be great and appreciate that help.

    hellloo to u tooooooo
    if u r using any request object u will get the host ipaddress as
    request.getRemoteHost() funciton
    regards
    shanu

  • Is there an issue connecting to the web services server currently?

    Keep getting an errror, "problem connecting to web services server" This used to work fine. I tried turning off web services and it allowed me to, but now I can't re-enable them.

    Hi Pirmin87,
    There was a known brief outage a few days ago that could have resulted in this.
    - http://status.businesscatalyst.com/
    However at the moment everything should be connecting fine.  If still an on-going issue please reach BC direct chat support for further investigation. 
    - http://helpx.adobe.com/contact.html?product=business-catalyst
    Kind regards,
    -Sidney

  • Web services with Jdeveloper using weblogic as server

    Hi,
    I try to test creating PL/SQL web services by using a connection hosted by weblogic server instead of OC4J. The problem is what I try to publish a package of the database in the second stage when it asks for the connection to use, in the list I don't found the connection I create to weblogic . It presents as choice only connections used the server OC4J.
    I do not Know if it is possible to publish a package as web service by using weblogic server connection, and how to do it.
    can anyone help me please .
    Nawal

    Web services can only be published to BEA if you install Apache SOAP on BEA and use the Apache SOAP option of JDeveloper. The J2EE Web Services implementation framework is specific to Oracle9iAS.
    The PL/SQL Web Services server implementation is based on the J2EE Web Services option and as a result is not really portable to BEA.
    To publish a PL/SQL Web service on BEA with JDeveloper you would have to write the Java wrapper code to invoke the stored procedure using standard JDBC and then publish that Java class as a Web service using Apache SOAP. Then if you had Apache SOAP installed on BEA you would be set.
    Portability of Web services implementations is a big feature coming with JAX-RPC - currently what most vendors have is interoperability between implementations because of things like SOAPBuilders and WS-I. When JAX-RPC becomes part of J2EE 1.4 roughly in June and vendors start putting out implementations on it you should get closer to portability.
    In the meantime, the easiest way to get portability is to use the same SOAP server on both servers - Apache SOAP is a good example.
    Hope this helps.
    Mike

  • OWSM how can i get user credentials from gateway in web service server

    I need username in web service server. Gateway has option like "Insert WSBASIC Credentials" and service definition in gateway has "forwardcredentials" option. how can i use these options? has some any idea or sample code.

    Hi Surya,
    You asked whether there are any other solutions other than JavaBean.
    There are ..
    It is a round about way. But should work good on WEB. This is particular to MS things.
    As you know you can use vb scripting to invoke all of this Ms things on WEB. So the trick is have a dynamic page called with your actual doc name as a parameter. Script and do whatever you want in this Dynamic method. And from within Forms call this Dynamic page using WEB.show_document( remember within Forms I can call any WEB viewable doc ). It should do the job.
    But ( And that is a big but...)..
    You need to take care of lot many things here.
    You must have a app server which would support scripting like VB. And you must have MS OFFICE in the server . I understand this works best with 2000.
    So finally it boils down to what I need and what I have. And Yes It requires a good effort.
    Great going??? :))
    Good Luck
    Vijay

  • Client in Visualbasic/C  to  JavaTM Web Services server

    Hi
    can I use client written in Visualbasic or C to access to JavaTM Web Services server.
    If yes does someone have source code for me?
    Thanks

    Hi,
    I've got a VB (6.0) client that talks to a Java Web Service.
    It's a simple VB program and a simple server, but the messages flow.
    Also check out:
    1) http://www.scottnichol.com/soap.htm
    2) http://www.scottnichol.com/vbclienthiapachesoap.htm
    3) http://www.scottnichol.com/vbclientapachesoap.htm
    You will also need the latest SOAP libraries from M$.
    How can I get code to you?
    I found the TcpTunnelGui most helpful (I think it's in the Apache file: soap-bin-2.3.1.zip).

  • Problem connecting to Web Services server

    Hello,
    I've had my printer running perfectly since I installed it 3 days ago but today I am nolonger able to use eprint. I can still scan and print from my home PC and laptop but I am unable to send emails directly to the printer now. This was working fine and I used the feature fairly often without error but today no emails arrived. When I logged on to the eprint web site using my google account {Personal Information Removed} the status of the printer said disconnected. I've tried deleting the printer and re-attaching it (which had no effect) and I've now tried disabling web services on the printer then re-enabling it. When I try this I now receive the following error: Problem connecting to Web Services server.
    The printer model is a HP Photosmart Premium C310a with the lastest software update. The printer is connected to my network via Wifi and is reachable and usable from all my PC's.
    It seems to me that there is something wrong with the software configuration on the printer, the reason I think this is because the screen interface slows down to a crawl after some use and when this happens it is not possible to switch the printer off via the power button. The only solution is to pull the power cable! This is something new and didn't happen before, is there a way to reset to factory default, the option in the menu doesn't seem to reset everything?
    Please advise ASAP.
    Thanks in advance,
    Stuart {Personal Information Removed}

    Greetings,
    The ePrint Service has been having some issues after the upgrade. The server team has found and fixed a bug in the latest release that affected connectivity. If you're having problems, please unregister your product (from the Web Services menu, select "Remove Web Services"), then register again (from the Web Services menu, select "Enable Web Services).
    After reregistering, I have been very successful using both ePrint and the Print Apps using my HP LaserJet CM1415. It has been staying connected, and promptly printing jobs I send to it. It has also been reconnecting after I powercycle. I sincerely hope you have the same experience. We had an ePrintCenter outage a few minutes ago that may have affected connectivity, but I am able to use ePrint and the Print Apps again as of 5:15 Mountain Time.

  • Need some help choosing what web service technology to use

    I'm going to be developing a project which will expose a wen service on a WebLogic 11g server. The web service needs to have security options such as SSL, message encryption and/or access control security.
    What I am struggling to determine is what is the best web service framework to use.
    I'd like to know which one is easiest for WebLogic to handle - is it Axis2 ? How is Metro handled by WebLogic?
    Basically I want to avoid wasting time configuring things or having conflicts between what the web service api needs and what weblogic has by default.

    Tap Settingss > General > Restrictions
    iOS: Understanding Restrictions

  • Invoking a web service not created using oracle web service lib

    Hi All,
    I have a need to invoke my web service from oracle sql command. My web service not created using oracle web service library, but it is created using axis c++ libraries. Is it possible to do so,
    Thanks in advance,
    Regards,
    Monica

    In order to call out from the database process, is SQL (or PL/SQL) you need to generate some client code, that understand the details about the specific of the service you want to invoke and can produce the correct SOAP request. Once this proxy is uploaded in the Database, you can use it.
    There is a set of Database Web services samples that should help you get started. You can also take a look at the developer's guide - see Developing a Web Service Client in the Database.
    Hope it answers your question.
    --eric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to develop web services in OSB using Eclipse OEPE

    Hello,
    We have some live web services developed in SOA ESB using JDeveloper.
    We are now forced to migrate to OSB because of the reason that sometime next year ESB will be de-supported by Oracle.
    I am looking for some good documentation which explains how to create web services in OSB using Eclipse. Please help.
    I am installed Web logic + OEPE + OSB in my local machine already. All I need is to know how to start development.
    Thanks,

    Hi,
    You can start with this:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
    Cheers,
    Vlad

  • Pros & Cons for consuming web services in ABAP using ABAP PROXY

    Hi,
    Other then performence  is there any other disadvantages like security,etc for consuming web services in ABAP using ABAP proxy?
    I really appreciate if some one provide the more details(Pros & Cons ) regarding cosuming web services and I also want to know is there any other way to consume web services in ABAP.
    Thanks.

    <i> is there any other way to consume web services in ABAP</i>
    you can use cl_http_client class to make your program to act as http client and post the soap message too webservice. This way you dont need to generate proxy, but you should know the soap message format.
    Regards
    Raja

  • Envy100_Problem connecting to Web Services Server

    WIreless printing functions working well.  But I cannot get the Envy 100 to connect with the Web Services server.  Suggestions?

    Have you enabled web services and gotten a printout that says its email address?
    What brand/model router?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Problem connectiin​g to web services server

    I've been trying to download the latest software/firmware updates for my All-in-one HP Photosmart Prem C310a.
    I cannot get Product updates nor enable Web Services because it always gives me the error message " problem connectiing to web services server". 
    I have attempted everything in the trouble shooting section on HPs website including connecting through WPS -unsucessfully. 
    This question was solved.
    View Solution.

    I understand you are getting unable to connect to server error message on your printer. I would first unplug router and printer for about 1 minute. I would plug router up first then printer. I would then try to enable web services. If not successful and you get same error message. I would follow these steps.
    1. Obtain your printer's IP address
    a. This can be done by pressing the wireless icon on printer.
    2. Enter the printer's IP address in a browser.
    3. Select the network tab at the top of the page.
    4. On the left select networking.
    5. Select Network Address (IP)
    6. Select Manual DNS Server
    a. Manual Preferred DNS should read 8.8.8.8
    b. Alternate DNS Server should read. 8.8.4.4
    7. Select apply you might get a warning just select okay.

  • Web service that streams a clob to the calling application

    I need to produce a web service that streams a clob to a calling application: what I have currently is a web service that contains calls to htp, thinking this would serve as a way for a user to download a clob from the procedure that the web service is based on (see Trouble calling htp in a web service procedure
    I can't get that approach to work at all, so rather than repeatedly bang my head against the wall I'll raise the following question: is there a standard approach whereby a clob can be streamed to the application consuming the web service? Note that I have limited myself in that I'm consuming the WS using APEX - APEX would like to store a returned value from a FUNCTION web service in a page item or a collection, but I will need to be returning very large CLOBs at times, so this is not an option.
    I'm sure there must be examples of web services being used to return large streams of data returned by stored procedures but I can't seem to find them Could anyone point me in the right direction?

    Ok, I've had to change tack. I've now recreated the web service and have handled the large CLOB as a streaming attachment: this performs well when running the test in Enterprise Manager as it returns a big CLOB very quickly. My problem is consuming this big SOAP message. I have tried calling this web service from a PLSQL procedure shown below but I get the following error:
    ORA-29541: class XMLDBMASTER.oracle/jpub/runtime/dbws/DbwsProxy could not be resolved
    When testing the WS there is obviously a automatically generated stub that will handle the returned SOAP message and it's streaming attachment. How is calling this from a DB procedure different, must I supply a proxy to the procedure manually?
    Please, if anyone has any clue could they give me a shout? (Procedure below)
    PROCEDURE run_ws (p_resid IN VARCHAR2,p_filename VARCHAR2, p_filter_str IN VARCHAR2)
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_result ANYDATA;
    l_wsdl_url VARCHAR2(1024);
    l_service_name VARCHAR2(200);
    l_operation_name VARCHAR2(200);
    l_input_params UTL_DBWS.anydata_list;
    v_mime VARCHAR2 (48) := NULL;
    v_length NUMBER;
    v_clob CLOB;
    v_file_name VARCHAR2 (2000);
    v_buf VARCHAR2 (32000);
    v_amt NUMBER := 4000;
    v_pos NUMBER := 1;
    BEGIN
    l_wsdl_url := 'http://ltp003357.sepanet.sepa.org.uk:8888/getXMLclob/getXMLclob';
    l_service_name := 'getXMLclob';
    l_operation_name := 'getClob';
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_name);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => NULL,
    operation_name => l_operation_name);
    l_input_params(1) := ANYDATA.ConvertVarchar2(p_resid);
    l_input_params(2) := ANYDATA.ConvertVarchar2(p_filename);
    l_input_params(3) := ANYDATA.ConvertVarchar2(p_filter_str);
    l_result := UTL_DBWS.invoke (
    call_handle => l_call,
    input_params => l_input_params);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    v_clob:=ANYDATA.AccessClob(l_result);
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Content-length: ' || v_length);
    HTP.p ('Content-Disposition: attachment; filename="' || NVL('user_test','user_query.xml') || '"');
    OWA_UTIL.http_header_close;
    BEGIN
    v_pos := 1;
    LOOP
    DBMS_LOB.READ (v_clob
    , v_amt
    , v_pos
    , v_buf
    v_pos := v_pos + v_amt;
    HTP.prn (v_buf);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    END run_ws;

  • What to specfify in CA Reporting services integration (Report server web service URL) when using SSL for both SharePoint and SSRS?

    Hello,
    We are using Sharepoint 2010 and SQL Server reporting services 2008 R2.    We have the sharepoint site bound to port 443 using a certificate.   We also have the same certificate bound in the reporting services configuration manager's
    web service URL tab.    In CA should we put the SSL URL or the non SSL URL?    Right now in CA it has the then non SSL URL,
    http://fakehostname/ReportServer_REPORTSERVICE.     We have some sporadic issues and I am wondering if setting this to our SSL URL will help.    Please let me know
    if you have any questions.
    Thanks,
    Sean

    Hi,
    Regarding this issue, it should be no issue for setting (https) according :
    https://msdn.microsoft.com/en-us/library/bb630447.aspx
    https://msdn.microsoft.com/en-us/library/bb677369.aspx
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0ada85b1-e2d2-44a8-8443-74eca74f5745/ssrs-cannot-connect-to-https-sharepoint-2010-401-unauthorized
    I notice you mentioned that you have some sporadic issues, what are these issue? If there are errors, please post the detailed information about the errors.
    What is the mode type of SQL Server Reporting Service, native mode or SharePoint mode?
    The screenshot of the web service URL:
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for