Consume the sample web services developed in java in Apex through https.

I am trying to consume a webservice (developed in java) in Apex through https.I get an error stating " wallet needs to be configured"
I have done the following things till now.
Steps:
1.Created a new wallet using Oracle Wallet manager.
2.Created a certificate request; took an export of the same; downloaded a trial SSL certificate form thawte.com.
This download SSL certificate is created using the certificate request which was created earlier.
3. Imported the trial SSL certificate to the wallet.
4.Saved the wallet to a file.
5.Logged in Apex Admin user and in the Instance settings section, specified the wallet directory path to the directory which contains the wallet.
Any suggestions?
Thanks,
Anish Thomas

Hi,
please try the stand alone OC4J. Due to its configuration, the embedded OC4J overrides all settings when you run an application. This means that the SSL setting is basically wiped out. So best is to set this up on stand alone OC4J
Frank

Similar Messages

  • How to consume the Abap web service in Java web-dynpro

    Hi Everyone,
    I want to consume ABAP web service in java web dynpro.
    so when i tried to create model in java web-dynpro, it gave me an error message saying "Invalid WSDL or WSDL not found".
    i think this error message is because, to access the WSDL of abap web-service, we need username and password, but the dialog box in java web-dynpro is not programmed to take username and password from us and send it to the server to get the WSDL.
    i came to this conclusion because i was able to successfully test my abap web-service in java portal. the java portal asked me the username and password to open the WSDL.
    So, please help me to consume the abap web service in java web-dynpro.
    Thanks in advance
    Regards
    Vikas

    Hi Vikas ,
       while creating a model in web-dynpro try to use the "import web service model" option and if you are using local server choose the local server option so that you can get the available web services which are in server, select one among them and continue you process.I think this is the some what easy way .
    If you want use the URL for wsdl better to once test the available service in server and copy that WSDL URL and paste over  WSDL textbox.
    I think this is pretty help ful to you
    Best Regards
    Srikatnh

  • Java Web Services Developer Pack (Java WSDP)

    Anybody tried Java Web Services Developer Pack 1.6 ?
    http://java.sun.com/webservices/jwsdp/index.jsp
    Was it simple and easy to consume external web services using this tool ?
    http://java.sun.com/webservices/jwsdp/index.jsp

    FYI,
    JWSDP 2.0 is now available.
    Also, if you want to consume web services try using JAX-WS. It will be part of the next Java SE release (mustang). You can learn more about JAX-WS at http://jax-ws.dev.java.net.

  • Several BizTalk applications consuming the same web service

    When consuming a web service in Biztalk i use the generated items feature, using the service endpoint address. This creates binding files and service schema files. When trying to deploy the web service artifacts to BizTalk Server, and the files
    already is deployed in an other Application, an error is raised. How do I solve the issue? What is best practice? A seperate BizTalk Application hosting the artifacts? Not good I suppose if the enterprise/customer has a limited lisence. A seperate "Proxy"
    hosted in a .dll file, developed in e.g. c#? Probably a better solution, but kind of annoying having a lot of those lying around. Any suggestions?
    By the way, I'm using BT 2009, if that matters.

    John,
    Avoid any situations of dynamic schema resolution, such as explicitly setting the document type
    in the XmlDisassembler
    Could you please explain some pitfalls for this ...i am doing this and wanted to know about it.
    Every time when i ran in to schema resolution issue i tend to use dynamic resolution instead of app reference.
    Thanks.

  • Consuming a web service with a java client

    hello
    wanted to consume the following web service:
    http://www.dataaccess.com/webservicesserver/numberconversion.wso
    http://www.dataaccess.com/webservicesserver/numberconversion.wso?op=NumberToWords
    so i used WSDL2Java to create client stubs n then followed it with a client program
    public class XmethodsAccessor {
    public static void main(String[] args) throws Exception{
    org.apache.axis2.databinding.types.UnsignedLong x = new org.apache.axis2.databinding.types.UnsignedLong(10000L);
    NumberConversionStub stub = new NumberConversionStub();
    NumberConversionStub.NumberToWords request = new NumberConversionStub.NumberToWords();
    request.setUbiNum(x);
    NumberToWordsResponse response = stub.NumberToWords(request);
    System.out.println("answer is : " + response.getNumberToWordsResult());
    Upon running the program i get error
    Exception in thread "main" org.apache.axis2.AxisFault: Connection reset
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:221)
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:330)
    at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
    at com.dataaccess.www.webservicesserver.NumberConversionStub.NumberToWords(NumberConversionStub.java:162)
    at com.dataaccess.www.webservicesserver.XmethodsAccessor.main(XmethodsAccessor.java:19)
    Caused by: org.apache.axis2.AxisFault: Connection reset
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:201)
    ... 5 more
    Caused by: org.apache.axis2.AxisFault: Connection reset
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:179)
    at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:73)
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:305)
    ... 6 more
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
    at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
    at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:558)
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:176)
    ... 8 more
    Can any one please tell me what im doin wrong and why is it not working.
    Thanks
    PS: am using Eclipse 3.2/Axis2 Eclipse plugin .. there were no compilation errors

    Hi steve_224,
    Would be extremely grateful if you could post the answer when you get a chance, have this problem too and haven't managed to resolve it yet...
    Thanks in advance...
    Kind regards,
    DJ

  • How to call Web Services with Sun Java Studio Creator?

    Can someone from Sun please explain how to use the sample Web Services USWeather and GoogleSearch in Sun Java Studio Creator (no Portlet Application)?
    I read the Web Service Tutorial Accessing Web Services (http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/webservices.html) and this blog entry: http://blogs.sun.com/roller/page/winston?entry=code_google_search_in_no .
    But the proposed solutions do not work with the services USWeather and GoogleSearch.
    Thank you.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'?
    Any help would be appreciated.
    Regards,
    Steve

    Hi Steve
    Unfortunately, not possible. The BI RESTful can only get "stuff" that is already there. I suppose this would fall under some sort of "Object Creation" API and that is not there. Yet. Rumors abound, but nothing firm. Just as a BTW.; the Business Intelligence platform RESTful Web Service Developer Guide 4.1 is here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_rest_ws_en.pdf
    SAP Web Intelligence RESTful web service SDK User Guide, SAP BusinessObjects Business Intelligence platform 4.1
    SAP Crystal Reports RESTful web services - SAP Crystal Reports RESTful web services
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Web services Development

    A general question for the group (sorry if this is off-topic, if there's a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past I've used
    toolkits like Axis for web services and I've always preferred this approach. It
    seems to me that using BEA I can develop Web Services in one of two ways. The
    'low-level' way where I could use the command line tools (or ant) to create, deploy
    and manage the code, or I could use WLW and the nice attribute driven approach.
    It strikes me (on first blush) that these techniques are not compatible, so if
    I choose one I have to stick with that, and I shouldn't (can't) mix and match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these is the case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

    I think if you are looking for training in "BEA web services" then do
    it the WLW way.
    However, if you think your web service may be deployed to a non-BEA
    app server, then pick up the standards.
    This is true for regular web apps using struts vs. WLW's 'netui'
    and JSR 162 vs. WLW Portals as well.
    Kevin Jones wrote:
    Thanks Michael,
    anybody else have any comments?
    For example if you were looking for training in BEA web services would you expect
    it to be WLW or 'command line' based?
    Kevin
    "Michael Wooten" <[email protected]> wrote:
    Hi Kevin,
    The two web services development approaches are for two different audiences,
    so
    it's up to you to select which is more to your liking :-)
    Developers who are familiar with the Apache Axis Web Services Platform,
    will find
    lots of similarities in the Ant-scrpt based approach that the WLS 8.1
    Web Services
    Platform uses. This would also be the environment for those that really
    like to
    see that their code uses classes from a standard, like JAX-RPC or SAAJ.
    Workshop is really targeted at developers who are less interested in
    the mechanics
    of Web service construction, and more interested in what they want the
    web service
    to do. It offers developers with this mindset, almost complete isolation
    from
    the technologies associated with web service development (i.e. SOAP,
    WSDL, XML,
    etc.), while still producing a deployable web service that can interoperate
    with
    web services created by other Web Service stacks.
    Again, both of these approaches have healthy developer audiences, so
    I see no
    real reason to promote one over the other. Personally, I think it makes
    sense
    to become adept at both.
    All in all, I'd have to say that Workshop makes better use of the developer's
    time :-)
    Regards,
    Mike Wooten
    "Kevin Jones" <[email protected]> wrote:
    A general question for the group (sorry if this is off-topic, if there's
    a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past
    I've used
    toolkits like Axis for web services and I've always preferred this approach.
    It
    seems to me that using BEA I can develop Web Services in one of twoways.
    The
    'low-level' way where I could use the command line tools (or ant) to
    create, deploy
    and manage the code, or I could use WLW and the nice attribute driven
    approach.
    It strikes me (on first blush) that these techniques are not compatible,
    so if
    I choose one I have to stick with that, and I shouldn't (can't) mixand
    match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment
    and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these isthe
    case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

  • Java Web Services Developer Pack, where is jwsdp.home defined?

    Hi.
    I am trying out the Web Services Developer Pack, and so far so good, a really nice package of tools, tutorials and examples.
    But there is one thing I do not understand regarding the Ant scripts for building the various examples.
    In most of the scripts, the ${jwsdp.home} is used, but where is it defined? I have looked everywhere, and the only place where I have seen it defined, is in the server.xml file that is used by Tomcat. And it seems somewhat strange that Ant should be dependant on Tomcat on this particular issue, so surely that cannot be it.
    It may seem like a unimportant question, but it is not, as I am purely beginning to use Ant, and need this information for when I'll begin writing my own scripts. Sure, I could just hardcode my app home path into the scripts, but that would be a ugly hack.
    Thanks in advance
    /Gabriel

    In the path c:\jwsdp-1.1\conf of my installation, the file server.xml includes this code:
        <!-- Absolute Pathname of the JWSDP Installation -->
        <Environment
                  name="jwsdp.home"
           description="Absolute Pathname of the JWSDP Installation"
                  type="java.lang.String"
                 value="C:\jwsdp-1.1"/>.. is that what are you looking for, is'n it?

  • Java Web Services Developer Pack 1.5 and SOAP?

    Hi all,
    I'm trying to figure out what, if any, support does Java Web Services Developer Pack 1.5 have for parsing and dealing with SOAP messages. I couldn't find any documentation or info in the tutorial about it, but founds some packages through JavaDoc that seem to deal with SOAP. Does anyone know what the deal is? Do you use this toolkit for SOAP, maybe even WS-security?
    Thanks for any pointers!
    Olia

    You can use JWSDP 1.3 but the minimum requirement form that toolkit is JDK 1.4. So you need to download the JDK 1.4 from http:/java.sun.com and install it first and after that you can install that JWSDP 1.3. Good Luck.

  • Java Web Services Developer Pack 1.3

    Does anyone know how I can remove Java Web Services Developer Pack 1.3 manually from my system? I have tried using add/remove and the system does not allow to remove the application.

    The link: Developer Survey
    on that page, doesn't work. :)
    -G

  • Java Web Services Developer Pack 1.3 and JDK 1.3.1

    Does anyone know if I can use Java Web Services Developer Pack 1.3 with JDK 1.3.1? The installation instructions only mention JDK 1.4.
    Thanks,
    Jerry

    You can use JWSDP 1.3 but the minimum requirement form that toolkit is JDK 1.4. So you need to download the JDK 1.4 from http:/java.sun.com and install it first and after that you can install that JWSDP 1.3. Good Luck.

  • Java Web Services Developer Pack v1.2

    I recently installed J2SE v1.4.2 Beta on my computer and it works fine with the platform, which is Windows XP Home Edition.
    Now, I like to learn Java Servlet Technology and had searched through the downloads pages. I found Java Web Services Developer Pack v1.2. But I have doubt about this: Is there any problem to run Java Web Services Developer Pack on Windows XP HOME Edition? I learnt that Sun engineers had it tested on Windows XP Professional Edition.
    I will appreciate any comments and opinions. Thanks in advance!

    doesn't mean it won't work on home edition. just means that they probably think anyone who might want to use J2WSDP will prob have Pro...

  • Java Web Services Developer Pack 1.3 now available

    All,
    The Java Web Services Developer Pack 1.3 is now available for
    download from http://java.sun.com/webservices. This release of JWSDP includes the fcs release of JAXRPC 1.1 and SAAJ 1.2 based on the WS-I basic profile 1.0 in addition to bug fixes /maintenance relases of the other components that have been in there in the previous releases. Feel free to download and send us comments at [email protected]
    - Rajiv
    :wq

    I was pumped when I saw this post, then deflated when I read what was new...
    No new JSF. I'm sooo ready for an update :-)
    TTFN,
    -bd-
    http://bill.dudney.net/roller/page/bill

  • Sun Certified java Web Services Developer Certification

    Hello,
    Please suggest me book and online exam simulator so that i can prepare for Sun Certified java web Services Developer Certification (not Sun certified web component developer) for J2EE5 (not j2ee 1.4).
    Please hekp me in this regards,
    Meeraj

    Hi
    We have book for Java Web service exam.
    Sun Certified Developer for Java Web Services Study Guide (Exam 310-220) Certification Press (Paperback) by Prasad Kukkamalla (Author), Jerome Josephraj (Author)
    or
    The below web site will cover entire syllabus
    http://java.boot.by/wsd-guide
    Thanks
    Srivignesh

Maybe you are looking for

  • Can I video stream to my home TV?

    I tried browsing this forum, and saw no clear answer. Here is specifically what I want to do: I have a wireless network at home. I want to be able to stream movies, like from Netflix, to my flat-screen TV downstairs. I just want to simply attach the

  • How can i find more information about O&G RLM?

    Hi all, i work with RLM (Return documents). But it absolutely nothing in help about customize the subsequent onshore actions. Does anybody have some information pleeeeeeeasssse? Thanks and regards. Alexander. P.S. I already read hepl. <a href="http:/

  • Multi update region with 5 checkboxes - problem in updating

    Hi, I have a multi update region with more 5 checkboxes which 2 tables LO & SCLO. LO ID is the unique id for each row. 1st checkbox - If we select 1st checkbox, I am adding a record to SCLO with LO ID. 2nd Checkbox - yes/no attribute in SCLO table. 3

  • HELP - GoPRO HERO3+ Black Duplicate Invoice

    I got a camera GoPro Hero 3+ Serial number: {removed per forum guidelines}, which is presenting manufacturing problems. GoPro has already contacted me for replacement, however I need a duplicate invoice. The purchase was held in Orlando, Florida 3283

  • Importing flash video shifts cells

    When I import flash video to my pages that were cut in photoshop, the cells shift around. Does anyone know what the problem might be?