SOAP in JDeveloper 10.1.3

Hi,
When I downloaded JDeveloper 9.0.4 from Oracle website, it contained the 'soap' folder. But the same folder was not present in JDeveloper 10.1.3.
Should it be ok if I copy the 'soap' from JDeveloper 9.0.4 to JDeveloper 10.1.3?
Thanks.

Delete the NS0: related text, in JDev, from your WSDL and it should work. I had the same problem with .NET not liking it also.
Keep in mind you'll have to tweak the WSDL again if you regenerate it.
You sure you're using 10.1.3? I upgraded and it shows the NS0: as a problem in existing projects. I'm working on the latest, production download so maybe it's been corrected.

Similar Messages

  • Error Message when Generating SOAP in JDeveloper

    I have been looking into this for a while now and have no idea where else to go. When creating and sending a SOAP message in JDeveloper 10g (OC4J) I continue to get this error message. Any ideas/suggestions would be much appreciated.
    XSL-1101: (Fatal Error) DOMSource node as this type not supported.
    javax.xml.transform.TransformerException: XSL-1101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:732)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:198)
         at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:237)
         at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:202)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:461)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:538)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:223)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:151)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at mypackage1.SoapTest.doGet(SoapTest.java:49)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:614)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:536)Thanks in advance.

    Hi,
    under "project properties -> Libraries" add a new J2SE version (I use 1.4.1.2) by choosing the java.exe file.
    I provide you my code sample.
    Note: I use this just for test purposes, so be carefully, I haven't removed rubbish. I use a XML file attachment that is stored in local file.
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import javax.xml.soap.*;
    import javax.activation.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.apache.log4j.*;
    import org.apache.log4j.xml.*;
    import org.apache.commons.logging.*;
    import javax.xml.parsers.DocumentBuilder;
    public class TripplanSender extends HttpServlet
    static Logger logger = Logger.getLogger(TripplanSender.class);
    String toURL;
    String data;
    ServletContext servletContext;
    private SOAPConnection con;
    public TripplanSender()
    data = null;
    public void init(ServletConfig servletConfig)
    throws ServletException
    super.init(servletConfig);
    servletContext = servletConfig.getServletContext();
    try
    String resource = "/WEB-INF/xml/loggingConfig.xml";
    URL configFileResource = servletConfig.getServletContext().getResource(resource);
    DOMConfigurator.configure(configFileResource.getFile());
    logger.debug("Logger initialisiert. Initialisiere Config Manager");
    SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
    con = scf.createConnection();
    toURL = servletConfig.getInitParameter("SendToURL");
    catch(Exception e)
    //logger.error("Unable to open a SOAPConnection", e);
    java.io.InputStream in = servletContext.getResourceAsStream("/WEB-INF/address.properties");
    if(in != null)
    Properties props = new Properties();
    try
    props.load(in);
    //toURL = props.getProperty("to");
    data = props.getProperty("data");
    catch(IOException ex) { }
    public void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException
    String retval = "<html> <H4>";
    try
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage msg = mf.createMessage();
    SOAPPart sp = msg.getSOAPPart();
    SOAPEnvelope envelope = sp.getEnvelope();
    SOAPHeader header = msg.getSOAPHeader();
    javax.xml.soap.Name tripplan = envelope.createName("Tripplan", "b", "http://de.tui.aergo.sample/Tripplan");
    SOAPHeaderElement tripplanHeaderElem = header.addHeaderElement(tripplan);
    tripplanHeaderElem.setActor("http://de.tui.aergo.sample/receiver");
    tripplanHeaderElem.setMustUnderstand(true);
    javax.xml.soap.Name tripplan_action = envelope.createName("tripplan_action", "b", "http://de.tui.aergo.sample/Tripplan");
    SOAPElement tripplan_actionElem = tripplanHeaderElem.addChildElement(tripplan_action);
    tripplan_actionElem.addTextNode("CREATE");
    SOAPFactory soapFactory = SOAPFactory.newInstance();
    SOAPBody body = msg.getSOAPBody();
    StringBuffer urlSB = new StringBuffer("http://");
    urlSB.append(req.getServerName());
    urlSB.append(":").append(req.getServerPort());
    urlSB.append(req.getContextPath());
    String reqBase = urlSB.toString();
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    String msgFilename = req.getParameter("ACTION");
    data = reqBase + "/" +msgFilename;
    //data = reqBase + "/191_create_requisitn_001.xml";
    URL url = new URL(data);
    AttachmentPart ap = msg.createAttachmentPart(new DataHandler(url));
    ap.setContentType("text/xml");
    msg.addAttachmentPart(ap);
    URL urlEndpoint = new URL(toURL);
    SOAPMessage reply = con.call(msg, urlEndpoint);
    if(reply != null)
    System.err.println("Reply logged in \"reply.msg\"");
    retval = retval + " received reply (check \"reply.msg\").</H4> </html>";
    } else
    System.err.println("No reply");
    retval = retval + " no reply was received. </H4> </html>";
    catch(Throwable e)
    e.printStackTrace();
    //logger.error("Error in constructing or sending message " + e.getMessage());
    retval = retval + " There was an error in constructing or sending message. </H4> </html>";
    try
    OutputStream os = resp.getOutputStream();
    os.write(retval.getBytes());
    os.flush();
    os.close();
    catch(IOException e)
    e.printStackTrace();
    //logger.error("Error in outputting servlet response " + e.getMessage());
    }

  • Guidance on getting started with XML/SOAP and JDeveloper

    I am not a novice programmer, but I am new to Java and web services and I need to get up to speed very quickly on JDeveloper, XML, SOAP, WSDL, UDDI, etc. Nothing I have read so far is making any sense. Could anyone please suggest the best place to start getting grounded in XML/SOAP messaging. It is my task to send and receive messages to an existing SOAP service on the web conveying data from our E-Bis Suite. Thanks, Bill.

    Thanks! I made it through the JDeveloper Tutorial. I see a tutorial on the list specifically for Web Service from WSDL, so that's next. Hopefully, as I study the pieces, it will become easier to see how they all fit together.

  • SOAP Header in JDeveloper

    I am attempting to greate a soap message in JDeveloper (not sure if that has any relivance at this point in time). I have followed roughly what Sun's WS Tutorial shows and I am getting an odd error message. Any suggestions are welcome at this point....
    Thanks,
      public void doGet(HttpServletRequest request, HttpServletResponse responseGet) throws ServletException, IOException
        PrintWriter out = responseGet.getWriter();
        try
          //set up connection
          SOAPConnectionFactory connectionFac = SOAPConnectionFactory.newInstance();
            SOAPConnection connection = connectionFac.createConnection();
          //create message
          MessageFactory msgFac = MessageFactory.newInstance();
            SOAPMessage message = msgFac.createMessage();
          //create envolope
          SOAPPart soapPart = message.getSOAPPart();
          SOAPEnvelope envelope = soapPart.getEnvelope();     
          //create SOAP factory
          SOAPFactory soapFactory = SOAPFactory.newInstance();
          //create header
          SOAPHeader header = message.getSOAPHeader();
          Name headerName = soapFactory.createName("PartyInfo", "wsi", "http://ws-i.org/schemas/conformaceClain/");
          SOAPHeaderElement headerElement = header.addHeaderElement(headerName);
          headerElement.addAttribute(soapFactory.createName("ryan"), "http://ws-i.org/profiles/basic1.0/");
          //create body
          //SOAPBody body = message.getSOAPBody();     
          //Name bodyName = soapFactory.createName("msg-root", null, null);
          //SOAPBodyElement msgrootElement = body.addBodyElement(bodyName);     
          URL endpoint = new URL("http://localhost:7000/SOAP/");
          message.writeTo(System.out);
          message.saveChanges();
          SOAPMessage response = connection.call(message, endpoint);     
          connection.close();
        catch(SOAPException soape)
          out.println(soape.getMessage());
        catch(Exception e)
          out.println(e.getMessage());
      }StackTrace:
    XSL-1101: (Fatal Error) DOMSource node as this type not supported.
    javax.xml.transform.TransformerException: XSL-1101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:732)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:198)
         at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.output(EnvelopeImpl.java:237)
         at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getContentAsStream(SOAPPartImpl.java:202)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.getHeaderBytes(MessageImpl.java:461)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:538)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.writeTo(MessageImpl.java:591)
         at com.perot.core.sun.ActionServlet.doGet(ActionServlet.java:67)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:614)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:536)
    Feb 4, 2004 6:10:28 PM com.sun.xml.messaging.saaj.soap.MessageImpl saveChanges
    SEVERE: SAAJ0539: Unable to get header stream in saveChanges

    In your case, the Oracle XML Parser is automatically being used. I would suggest that you remove that association form the Project Libraries or the Classpath and instead associate with the lastest Xerces parser from xml.apache.org.
    Not sure if that this will solve the problem but I recall having faced something similar while working on SOAP in JDeveloper.
    regards,
    harshad

  • TO  RAGHU  KODALI  :  SOAP  problem

    Thanks for your help Raghu Kodali.
    But("Use HTTP Proxy Server" wasn`t checked.
    In the Release notes of JDeveloer 9i I found a note about Web
    Services : << insert these statement in the constructor of the
    stub generated by the wizzard :
    System.setProperty( "oracle.soap.transport.1022ContentType",
    "true" ); >>
    So, I did it, but now I get this error :
    F:\O9iJDevRC\jdk1.3\bin\javaw.exe
    ojvm
    -classpath
    F:\O9iJDevRC\jdev\mywork\WebService\WebService\classes;
    F:\O9iJDevRC\jdev\lib\jdev-
    rt.jar;F:\O9iJDevRC\soap\lib\soap.jar;
    F:\O9iJDevRC\lib\xmlparserv2.jar;
    F:\O9iJDevRC\jlib\javax-ssl-1_2.jar;
    F:\O9iJDevRC\jlib\jssl-1_2.jar;
    F:\O9iJDevRC\j2ee\home\activation.jar;
    F:\O9iJDevRC\j2ee\home\mail.jar;
    F:\O9iJDevRC\j2ee\home\lib\http_client.jar
    dateTimePackage.DateTimeServiceStub
    Exception in thread main
    [SOAPException: faultCode=SOAP-ENV:Server.BadTargetObjectURI;
    msg=Unable to resolve target object
    (dateTimePackage.DateTimeService):
    dateTimePackage.DateTimeService
    java.lang.ClassNotFoundException]]
    java.lang.String
    dateTimePackage.DateTimeServiceStub.getDate()
    void dateTimePackage.DateTimeServiceStub.main
    (java.lang.String[])
    Process exited with exit code 1.
    I remember you that I followed the instructions at(
    < Help-Tutorials-Web Services >, changing the last step ( how to
    make the client ) because I think it's wrong.
    My developing environment is :
    one server with WNT 40 + SP6 + Oracle 9i Application Server
    1.0.2.2.0, just as it come from its ".zip" file, with no
    modifications or aditional software. DHCP enabled.
    one server with WNT 40 + SP6 + Oracle 9i EE v. 9.0.1.1.0
    one server with Wnt 40 + SP6 + Oracle 9i JDeveloper Release
    Candidate, as a developemnt station.
    Can you help me with a working example for this environment,
    similar to the one in the Tutorial-Web Services ?
    Thanks again !
    Eduardo

    Hi Eduardo.
    I saw your question on the Oracle Technology Network (OTN) about using SOAP from JDeveloper.
    I am having EXACTLY the same problem as you had, so I was wondering if, and how, you got it working.
    I would appreciate any help that you could give.
    Thanks,
    Roberta

  • Soap request with attachment --problem in deploye to jboss useing Jdevelope

    using Jdeveloper and oc4j application server i made two application.
    In application one i exposed a web service method.In this application their is a handler class which able to handle soap request and response with attachment.
    In application two a client is sends a soap request with attachment.
    If i deploye it in oc4j it is working fine. But if i Deploye to JBoss server [i made a jboss application server connection] and then trying to send the soap request with attachment from the client application i gets the following errors--
    Exception in thread "main" javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:152)
         at etrans.TripBean.a.ClientGateWay.msgEnvelope(ClientGateWay.java:50)
         at etrans.TripBean.a.ClientGateWay.main(ClientGateWay.java:60)
    Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
         ... 2 more
    Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:458)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:865)
         ... 4 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:516)
         at java.net.Socket.connect(Socket.java:466)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:208)
         at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202)
         at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3115)
         at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:3858)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2921)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:724)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:373)
         ... 5 more
    Am i made any mistake to deploye to jboss or it is not possiable to access the web service in such way?
    please suggest me what is the procedure to recover from this.

    Hello,
    How do you package you WS client application to be deployed in JBoss?
    The JAX-RPC clients are not that portable you may need to recompile the client with JBoss WebService implementation/tools, and check that you do have the different deployment descriptors for the client too.
    Regards
    Tugdual Grall

  • JDeveloper 10.1.3 - Disabling ns0: namespace prefix in soap body children ?

    I am attempting to use a PeopleSoft web service. However, the PeopleSoft web service does not recognize operations which have a namespace prefix. Using visual studio, namespace prefixes are not used in the child elements of the soap body element. I am able to call the service using visual studio.
    JDeveloper 10.1.3 uses a namespace prefix for children of the body element which is recommended by the soap spec. However, I need to disable that behavior so that I can actually get the program working with PeopleSoft.
    Can anyone tell me if there is an easy way to disable the ns0: prefix that is used by the generated web service proxy stub? I have traced through the generated proxy code but I do not see any properties that can be modified. The only thing I can think of is to modify the generated code but I do not want to go that route.
    Thanks,
    Rich

    Delete the NS0: related text, in JDev, from your WSDL and it should work. I had the same problem with .NET not liking it also.
    Keep in mind you'll have to tweak the WSDL again if you regenerate it.
    You sure you're using 10.1.3? I upgraded and it shows the NS0: as a problem in existing projects. I'm working on the latest, production download so maybe it's been corrected.

  • SOAP Exception, Connection refused error in jdeveloper 11g

    Hello,
    I am using jdeveloper 11g 11.1.2.3.0.
    I have been experiencing the following error everytime I try to run the applicaiton. I use webservices in my applicaiton and recently the webservices url were changed pointing now to dev instead of the lab environment. The code has been migrated to dev environment, I tested the webservices in my browser, they seem to be working fine and are pulling up the required data.
    ERROR:
    javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Error     
    Message send failed: Connection refused: connect
    Error     
    Connection refused: connect
    I am not sure what is causing this. Any help would be appreciated.
    Thanks in advance,
    Sal

    Hello Frank,
    Thanks for your response. I checked the browser proxy settings in Jdeveloper, nothing is set there right now. Use HTTP Proxy Server is unchecked. What do I need to set this to?
    Thanks,
    Sal

  • Where to get Jdeveloper TP3(missing SOAP project option in TP4)

    hi,
    where to get TP3 as it's not found under oracle jdeveloper archive, as in jdeveloper Technology preview 4(TP4), no SOAP project option is present, neither an option to configure SOAP project.Or how to enable SOAP options in TP4.

    Hi,
    can you post this to the JDeveloper 11 forum? JDeveloper and OC4J 11g Technology Preview
    Frank

  • JDeveloper  soap library.

    I have installed Oracle Jdeveloper 9.0.695. In lib directory there is soap.jar.
    Also I use newest version of Oracle IAS . But it comes with old soap library.
    Which version of iAS will use this library from Jdeveloper ?
    Or how to "upgrade" soap in iAS ?

    The Wizards that are integrated in JDeveloper are only able to deal with Oracle's SOAP libraries. If you want to use other open-source libraries, like Apache's Axis, you will have to use the tooling support that is comming with the project - java2wsdl and the ANT tasks.
    All the best,
    Eric

  • JDeveloper Oracle ESB Designer calling SOAP with SSL

    Hi,
    I am new to Oracle ESB. I am creating a SOAP serving in Jdeveloepr ESB designer to invoke a WSDL. That url needs a user id/ pwd to be accisible. How can I enable this in Jdeveloper ESB designer
    Thanks!

    Not sure what documentation you have read but JDev does not get installed as part of the 10.1.3.1. It did with the single user license of 10.1.2
    here is the link, just unzip and play
    http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html
    Please not that this is 10.1.3.4 and is only certified for SOA Suite 10.1.3.4. If you are using 10.1.3.1 then install JDev of that version. I would recommend upgrading SOA Suite to 10.1.3.4 as 10.1.3.1 is old. Part of the 10.1.3.4 install is installing 10.1.3.1
    patch is found here http://www.oracle.com/technology/software/products/ias/htdocs/101310.html (There is a patch link in the 10.1.3.1 install) Don't be surprised with the size of the patch as it looks like a fresh install. You just install into the same home as your 10.1.3.1 install.
    cheers
    James

  • Document/Literal SOAP format generation using jdeveloper 10.1.2.0.0

    Hi,
    Can anyone tell me please how to create Document/Literal SOAP format using jdeveloper 10.1.2.0.0 ??
    Thanks in advance,
    Khalil

    The method that you call must take a org.w3c.dom.Element as an argument, and must also return an Element.
    In the web.xml file, the servlet-class for your webservice must be changed to oracle.j2ee.ws.StatelessJavaDocWebService.
    You can then either modify your WSDL by hand, or deploy your webservice to an OC4J container, which will then generate a Doc/Literal WSDL for you, and then use that.
    When deploying, make sure that the JDeveloper-generated WSDL file is not included in the WAR file.

  • The embedded oc4j in JDeveloper returned a wrong data from the SOAP message

    Greetings,
    I made a webservice in .NET to send simply the current time of the server. then, I developed another client in JDeveloper to receive the time.
    and the object declared in j2ee as Calendar object.
    everythings went fine, but what I have noticed when I print the Calendar object, the time came plus 3 hours later as the .NET time.
    FYI, I had checked the soap message that was received by embedded OC4J ,it was correct time, but the problem when you print it. and both .NET and Jdeveloper in the same machine
    example:
    <?xml version = '1.0' encoding = 'utf-8'?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <HelloWorldResponse xmlns="http://tempuri.org/">
    <HelloWorldResult>2008-10-14T10:40:21.12</HelloWorldResult>
    </HelloWorldResponse>
    </soap:Body>
    </soap:Envelope>
    when I printed the data, I got 2008-10-14T13:40:21.12
    so, does anyone have an idea about what is going on ??
    thanks in advance.

    ANY HELP :(

  • JDeveloper SSL and SOAP problems

    I am using JDeveloper 9.0.3 and the Oracle SOAP library which is shipped with Oracle JDeveloper.
    My application connects to a SSL enabled webservice.
    The first problem I encountered was a 'no njssl9 in java.library.path' error.
    I used the tips from Lehmann's BLogger site (http://radio.weblogs.com/0132036/2004/02/13.html).
    I could not get this working in JDeveloper 9.0.3 because JDev 9.0.3 is using java jdk 1.3 which has not JSSE built in.
    So I decided to use JDeveloper 9.0.5.2. which uses the java jdk 1.4.
    It works, however now I am stuck with an error that the certificate chain is incomplete.
    The webservice to which I connect sends only the 'last' certificate, so not the entire chain. Can this be the problem?
    I have a couple of questions:
    1) what do I have to do to ensure that my application trusts the webservice SSL certificates. I know I have to install
    the certificate somewhere in the cacerts file. But which certificate en how do I store it?
    2) Is it true that the Oracle SOAP library only works with the Oracle Wallet? Does that mean I cannot get Oracle SOAP
    to work on an Oracle Application Server with my application?
    3) Is there any way to solve the 'no njssl9 in java.library.path' error using the Oracle SOAP library in JDeveloper 9.0.3?

    The Duke's Bank tutorial can be found at:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/
    It is the last chapter of the tutorial, under the "Putting it All Together" section.
    Andy

  • SOAP Web Services in JDeveloper

    Hello!
    As you helped me with my other problems, I hope you can help another time:
    A SOAP web service that was already running, won't do that anymore, but shows up the following two error messages:
    [SOAPException: faultCode=SOAP-ENV:IOException; msg=Request aborted by user; targetException=java.io.IOException: Request aborted by user]
    [SOAPException: faultCode=SOAP-ENV:Server; msg=service &apos;soapconverter.CurrencyConverter&apos; unknown]
    Anyone any idea for those messages? soapconverter.CurrencyConverter is the name of the service.
    Thanks in advance.
    Sven Leipold

    For whatever reason the first described error occurs only once, if my computer ist started newly, then it nevers comes up again. Strange.
    The second error stays, as you requested I searched a little deeper in the stub and can present yo the following:
    This is how the source looks like of one function (but it happens with all the same):
    public void setRate(Double rate) throws Exception {
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    call.setSOAPTransport(m_httpConnection);
    call.setTargetObjectURI("soapconverter.CurrencyConverter");
    call.setMethodName("setRate");
    call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
    Vector params = new Vector();
    params.addElement(new Parameter("rate", Double.class, rate, null));
    call.setParams(params);
    System.err.println(call);
    Response response = call.invoke(endpointURL, "");
    System.err.println(response);
    if (!response.generatedFault()) {
    Parameter result = response.getReturnValue();
    else {
    Fault fault = response.getFault();
    throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
    The output of my debugging lines is here:
    The call:
    [Header=null] [methodName=setRate] [targetObjectURI=soapconverter.CurrencyConverter] [encodingStyleURI=http://schemas.xmlsoap.org/soap/encoding/] [SOAPContext=[Parts={}]] [Params={[[name=rate] [type=class java.lang.Double] [value=0.9136] [encodingStyleURI=null]]}]
    The response:
    [Header=null] [methodName=null] [targetObjectURI=null] [encodingStyleURI=null] [SOAPContext=[Parts={[cid:null type: text/xml; charset=utf-8 enc: null]}]] [fault=[Attributes={}] [faultCode=SOAP-ENV:Server] [faultString=service 'soapconverter.CurrencyConverter' unknown] [faultActorURI=/soap/servlet/soaprouter] [DetailEntries=] [FaultEntries=]] [Params={}]
    Is there anything you can see from this?
    Finally: there is nothing with the proxy settings as everything runs on my computer and the settings are all turned off.
    Thank you for your kind help.
    Sven

Maybe you are looking for

  • Display no longer functions correctly after update

    After updating this morning (the only package updated being wayland), the display on my main computer (laptop still works fine) no longer works properly. It is a bit difficult to describe the problem: there is a constantly changing display of symbols

  • Inventory Write Down FIFO

    Hi Our business is in the Fashion Industry and we need to regularly write down the value of our stock. We wish to write down the value of our stock for our year end accounts to 31/12/2014 and then each month using a fixed percentage. We use FIFO as t

  • Installing Elements 10 + Premier Elements 10

    I just bought Photoshop Elements 10 + Premier Elements 10. The installation asks me which I want to install. Do I install both or does installing Premier 10 include Elements 10?

  • What is the best tools for spectrum analysis

    There are many spectrum analysis software component in the of NI product(SMT, advanced signal processing, basic ones). May I know which is the lastest and best for use. I am trying to collect data from DAQ 5102 then do FFT. Also, may need select cent

  • Batch image updating

    I am hoping someone has an answer for me. I am having to make a slight change on every slide for several different captivate files. At least over 1000 images. I have a set up a batch action in photoshop to change the images. My question is there a wa