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

Similar Messages

  • File attachments with Jdeveloper - SOAP

    Hi ! I am using JDev 10.1.3. I need to send file attachments via SOAP call. I have a soap service sending text files. I have a wsdl from the client. I am able to read the wsdl and create a client proxy using Jdev. I can see the contents of the file using HTTP analyser. How do I read that content within my java client? Any tips/pointers to tutorials would be greatly appreciated.
    Thanks
    Sriram

    Hi ! I hit this example also. I am new to web services as well as Java ..so please dont get ticked.
    1) I am able to see the data going back and forth (when I use the http analyzer) only as hex.
    when i view the message as raw ..this is all I have ..
    HTTP/1.1 200 OK
    Server: Sun-ONE-Web-Server/6.1
    Date: Mon, 14 Aug 2006 21:40:27 GMT
    Content-length: 1182
    Content-type: Multipart/Related; type="text/xml"; start="<main_envelope>"; boundary="----------=_1155591627-23347-0"
    Soapserver: SOAP::Lite/Perl/0.60
    null
    However when I switch to the hex mode ... I see a whole lot? Do you know why the file would be coming in as binary encoded when I specify the file is text/plain?
    [0000..0015] 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 4D 75 Content-Type: Mu
    [0016..0031] 6C 74 69 70 61 72 74 2F 52 65 6C 61 74 65 64 3B ltipart/Related;
    [0032..0047] 20 62 6F 75 6E 64 61 72 79 3D 22 2D 2D 2D 2D 2D boundary="-----
    [0048..0063] 2D 2D 2D 2D 2D 3D 5F 31 31 35 35 35 39 31 36 32 -----=_115559162
    [0064..0079] 37 2D 32 33 33 34 37 2D 30 22 0A 43 6F 6E 74 65 7-23347-0"
    Conte
    [0080..0095] 6E 74 2D 54 72 61 6E 73 66 65 72 2D 45 6E 63 6F nt-Transfer-Enco
    [0096..0111] 64 69 6E 67 3A 20 62 69 6E 61 72 79 0A 4D 49 4D ding: binary
    MIM
    [0112..0127] 45 2D 56 65 72 73 69 6F 6E 3A 20 31 2E 30 0A 58 E-Version: 1.0
    X
    [0128..0143] 2D 4D 61 69 6C 65 72 3A 20 4D 49 4D 45 2D 74 6F -Mailer: MIME-to
    [0144..0159] 6F 6C 73 20 35 2E 34 31 31 20 28 45 6E 74 69 74 ols 5.411 (Entit
    [0160..0175] 79 20 35 2E 34 30 34 29 0A 0A 54 68 69 73 20 69 y 5.404)
    This i
    [0176..0191] 73 20 61 20 6D 75 6C 74 69 2D 70 61 72 74 20 6D s a multi-part m
    [0192..0207] 65 73 73 61 67 65 20 69 6E 20 4D 49 4D 45 20 66 essage in MIME f
    [0208..0223] 6F 72 6D 61 74 2E 2E 2E 0A 0A 2D 2D 2D 2D 2D 2D ormat...
    [0224..0239] 2D 2D 2D 2D 2D 2D 3D 5F 31 31 35 35 35 39 31 36 ------=_11555916
    [0240..0255] 32 37 2D 32 33 33 34 37 2D 30 0A 43 6F 6E 74 65 27-23347-0
    Conte
    [0256..0271] 6E 74 2D 54 79 70 65 3A 20 74 65 78 74 2F 78 6D nt-Type: text/xm
    [0272..0287] 6C 0A 43 6F 6E 74 65 6E 74 2D 44 69 73 70 6F 73 l
    Content-Dispos
    [0288..0303] 69 74 69 6F 6E 3A 20 69 6E 6C 69 6E 65 0A 43 6F ition: inline
    Co
    [0304..0319] 6E 74 65 6E 74 2D 54 72 61 6E 73 66 65 72 2D 45 ntent-Transfer-E
    [0320..0335] 6E 63 6F 64 69 6E 67 3A 20 38 62 69 74 0A 43 6F ncoding: 8bit
    Co
    [0336..0351] 6E 74 65 6E 74 2D 4C 6F 63 61 74 69 6F 6E 3A 20 ntent-Location:
    [0352..0367] 2F 6D 61 69 6E 5F 65 6E 76 65 6C 6F 70 65 0A 43 /main_envelope
    C
    [0368..0383] 6F 6E 74 65 6E 74 2D 49 64 3A 20 3C 6D 61 69 6E ontent-Id: <main
    [0384..0399] 5F 65 6E 76 65 6C 6F 70 65 3E 0A 0A 3C 3F 78 6D _envelope>
    <?xm
    [0400..0415] 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 l version="1.0"
    [0416..0431] 65 6E 63 6F 64 69 6E 67 3D 22 55 54 46 2D 38 22 encoding="UTF-8"
    [0432..0447] 3F 3E 3C 53 4F 41 50 2D 45 4E 56 3A 45 6E 76 65 ?><SOAP-ENV:Enve
    [0448..0463] 6C 6F 70 65 20 78 6D 6C 6E 73 3A 53 4F 41 50 2D lope xmlns:SOAP-
    [0464..0479] 45 4E 43 3D 22 68 74 74 70 3A 2F 2F 73 63 68 65 ENC="http://sche
    [0480..0495] 6D 61 73 2E 78 6D 6C 73 6F 61 70 2E 6F 72 67 2F mas.xmlsoap.org/
    [0496..0511] 73 6F 61 70 2F 65 6E 63 6F 64 69 6E 67 2F 22 20 soap/encoding/"
    [0512..0527] 53 4F 41 50 2D 45 4E 56 3A 65 6E 63 6F 64 69 6E SOAP-ENV:encodin
    [0528..0543] 67 53 74 79 6C 65 3D 22 68 74 74 70 3A 2F 2F 73 gStyle="http://s
    [0544..0559] 63 68 65 6D 61 73 2E 78 6D 6C 73 6F 61 70 2E 6F chemas.xmlsoap.o
    [0560..0575] 72 67 2F 73 6F 61 70 2F 65 6E 63 6F 64 69 6E 67 rg/soap/encoding
    [0576..0591] 2F 22 20 78 6D 6C 6E 73 3A 78 73 69 3D 22 68 74 /" xmlns:xsi="ht
    [0592..0607] 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F tp://www.w3.org/
    [0608..0623] 32 30 30 31 2F 58 4D 4C 53 63 68 65 6D 61 2D 69 2001/XMLSchema-i
    [0624..0639] 6E 73 74 61 6E 63 65 22 20 78 6D 6C 6E 73 3A 53 nstance" xmlns:S
    [0640..0655] 4F 41 50 2D 45 4E 56 3D 22 68 74 74 70 3A 2F 2F OAP-ENV="http://
    [0656..0671] 73 63 68 65 6D 61 73 2E 78 6D 6C 73 6F 61 70 2E schemas.xmlsoap.
    [0672..0687] 6F 72 67 2F 73 6F 61 70 2F 65 6E 76 65 6C 6F 70 org/soap/envelop
    [0688..0703] 65 2F 22 20 78 6D 6C 6E 73 3A 78 73 64 3D 22 68 e/" xmlns:xsd="h
    [0704..0719] 74 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 ttp://www.w3.org
    [0720..0735] 2F 32 30 30 31 2F 58 4D 4C 53 63 68 65 6D 61 22 /2001/XMLSchema"
    [0736..0751] 3E 3C 53 4F 41 50 2D 45 4E 56 3A 42 6F 64 79 3E ><SOAP-ENV:Body>
    [0752..0767] 3C 6E 61 6D 65 73 70 31 3A 73 6F 6D 65 4D 65 74 <namesp1:someMet
    [0768..0783] 68 6F 64 52 65 73 70 6F 6E 73 65 20 78 6D 6C 6E hodResponse xmln
    [0784..0799] 73 3A 6E 61 6D 65 73 70 31 3D 22 75 72 6E 3A 41 s:namesp1="urn:A
    [0800..0815] 74 74 61 63 68 6D 65 6E 74 22 2F 3E 3C 2F 53 4F ttachment"/></SO
    [0816..0831] 41 50 2D 45 4E 56 3A 42 6F 64 79 3E 3C 2F 53 4F AP-ENV:Body></SO
    [0832..0847] 41 50 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 3E AP-ENV:Envelope>
    [0848..0863] 0A 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 3D 5F 31
    ------------=_1
    [0864..0879] 31 35 35 35 39 31 36 32 37 2D 32 33 33 34 37 2D 155591627-23347-
    [0880..0895] 30 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 0
    Content-Type:
    [0896..0911] 74 65 78 74 2F 70 6C 61 69 6E 3B 20 6E 61 6D 65 text/plain; name
    [0912..0927] 3D 22 73 6F 6D 65 2E 78 6D 6C 22 0A 43 6F 6E 74 ="some.xml"
    Cont
    [0928..0943] 65 6E 74 2D 44 69 73 70 6F 73 69 74 69 6F 6E 3A ent-Disposition:
    [0944..0959] 20 61 74 74 61 63 68 6D 65 6E 74 3B 20 66 69 6C attachment; fil
    [0960..0975] 65 6E 61 6D 65 3D 22 73 6F 6D 65 2E 78 6D 6C 22 ename="some.xml"
    [0976..0991] 0A 43 6F 6E 74 65 6E 74 2D 54 72 61 6E 73 66 65
    Content-Transfe
    [0992..1007] 72 2D 45 6E 63 6F 64 69 6E 67 3A 20 62 69 6E 61 r-Encoding: bina
    [1008..1023] 72 79 0A 43 6F 6E 74 65 6E 74 2D 49 64 3A 20 31 ry
    Content-Id: 1
    [1024..1039] 32 33 34 0A 4D 49 4D 45 2D 56 65 72 73 69 6F 6E 234
    MIME-Version
    [1040..1055] 3A 20 31 2E 30 0A 58 2D 4D 61 69 6C 65 72 3A 20 : 1.0
    X-Mailer:
    [1056..1071] 4D 49 4D 45 2D 74 6F 6F 6C 73 20 35 2E 34 31 31 MIME-tools 5.411
    [1072..1087] 20 28 45 6E 74 69 74 79 20 35 2E 34 30 34 29 0A (Entity 5.404)
    [1088..1103] 0A 42 41 52 54 20 20 0A 42 61 72 74 44 45 56 20
    BART
    BartDEV
    [1104..1119] 0A 69 64 6F 6D 61 69 6E 20 3D 20 62 61 72 74 44
    idomain = bartD
    [1120..1135] 45 56 20 6E 61 6D 65 20 3D 20 53 72 69 72 61 6D EV name = Sriram
    [1136..1151] 20 53 61 6E 6B 61 72 61 6E 0A 0A 2D 2D 2D 2D 2D Sankaran
    [1152..1167] 2D 2D 2D 2D 2D 2D 2D 3D 5F 31 31 35 35 35 39 31 -------=_1155591
    [1168..1181] 36 32 37 2D 32 33 33 34 37 2D 30 2D 2D 0A 627-23347-0--
    Again, sorry for pasting a whole lot of info.

  • 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 and SSL problem

    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?

    2) For non-oracle wallets, you need to set the following
    # private key
    # certificate chain
    # trusted certificates
    OracleSSLCredential sslCredObj = new OracleSSLCredential();
    // Set trusted certificates
    sslCredObj.addTrustedCert(easQACA);
    // Construct certificate chain. Place CA at the top
    // and user certificate at the bottom. The order of
    // set certificates in the chain is important. You must set
    // root certificate first, then signer certificates, and finally user
    // certificate.
    sslCredObj.addCertChain(rootCA); (set root CA certificate)
    sslCredObj.addCertChain(signer CA);(set signer certificate)
    sslCredObj.addCertChain(userCert); (set user certificate)
    * Set private key
    sslCredObj.setPrivateKey(userKey, password);
    3) If you have Oracle IAS or database installation, the njssl libraries are under ORACLE_HOME\lib. Include ORACLE_HOME/lib in LD_LIBRARY_PATH or starting the javavm using
    -Djava.library.path=ORACLE_HOME/lib
    should solve the njssl error.

  • Which jar file to include for oracle.jdeveloper.webservices.runtime.Wrapped

    I am trying to make a Web Service client on my jakarta tomcat server....
    I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
    Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thx

    Hi,
    After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
    Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
    Any clues (changing the technology is not an option ...for now)?
    Thank´s

  • Oracle SOAP

    Hi,
    Whenever we use Jdeveloper to create web service automatically, JDeveloper will include Oracle SOAP library. Is there any way to ask JDeveloper to use other SOAP library, eg. an open source SOAP library if there's one?
    Please advise.
    Thank you.

    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

  • How to get built.xml for ear file in jdeveloper?

    Hi,
    I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file.
    Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?

    This blog explains:
    http://adfhowto.blogspot.com/2011/03/ojdeploy-deploying-adf-application-from.html
    Based on the blog, I simply copied an existing project "deploy" target definition and augmented the project's build.xml with a new target "deployApp" that omits the Project parameter to ojdeploy. This causes ojdeploy to build the workspace-level deploy profile instead. I also omitted the output directory parameter (default is app's /deploy folder) and assume that there is only one application deployment profile (i.e. the default for profile parameter is the '*' wildcard). You can augment the build.properties file if you need to get fancier than that.
    <target name="deployApp" description="Deploy Complete YourFoo Application"
    depends="init">
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="profile"
    value="${oracle.jdeveloper.deploy.profile.name}"/>
    <ora:parameter name="nocompile" value="true"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>

  • Deploy SOAP Web Service (generated with JDev) in JBOSS

    Hi all,
    I generated a very simple SOAP-Service with the JDeveloper 10.1.3 Release.
    The service runs very well in the oc4j. But If I try to deploy it with JBOSS 4.0.3 I get manny errors starting with the following:
    16:13:39,421 INFO [TomcatDeployer] deploy, ctxPath=/WebServices, warUrl=.../tmp/deploy/tmp644SOAPServiceTest01-SOAPService-WS.jar-contents/WebServices-exp.war/ 16:13:39,531 ERROR [Digester] End event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    16:13:39,531 ERROR [ContextConfig] Parse error in application web.xml
    java.lang.IllegalArgumentException:
    Invalid <url-pattern> GEOEngineServiceSoap12HttpPort in servlet mapping
    at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719)
    my web.xml:
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <servlet>
    <description>Web Service GEOEngineServiceSoap12HttpPort</description>
    <display-name>Web Service GEOEngineServiceSoap12HttpPort</display-name>
    <servlet-name>GEOEngineServiceSoap12HttpPort</servlet-name>
    <servlet-class>soap.service.connection.ServicePortal</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>GEOEngineServiceSoap12HttpPort</servlet-name>
    <url-pattern>GEOEngineServiceSoap12HttpPort</url-pattern>
    </servlet-mapping>
    </web-app>
    I deployed it with the auto-generated deployment-profile and I changed nothing.
    Please, can someone help me?
    greetings
    Florian
    Message was edited by:
    FlorianTT

    Hello,
    is there someone out there who has experience with deploying JDeveloper SOAP Services with JBOSS?
    I get one error after an other.
    Here is just the next one:
    2006-02-24 10:43:21,671 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from local repository
    2006-02-24 10:43:21,671 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Engine]] Marking servlet testport as unavailable
    2006-02-24 10:43:21,671 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Engine]] Servlet /Engine threw load() exception
    java.lang.ClassCastException: soap.service.connection.ServicePortal
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    The class soap.service.connection.ServicePortal is my Java RMI ServiceEndPoint (mapped name: Engine) with only one invoceable method and no class casts in it.
    Hope that this monolog will get to an end and someone can help me.
    best regards
    Florian

  • SOAP Envelope 'entityExpansion' Problem

    Hi all.
    Has anyone got saaj to work from a linux applet communicating with a Servlet ??
    Im using JWSDP1.1 (yes i know its out of date, and at the moment i really dont fancy switching unless its absolutely needed) and tomcat 4.1.24.
    Ive written a simple Servlet which just extracts the root element in the posted SOAPMessage, and then returns the message back to the user.
    SOAPTestServlet.java
    import javax.xml.soap.*;
    import javax.xml.messaging.*;
    import javax.servlet.*;
    import java.util.Date;
    import java.util.*;
    public class SOAPTestServlet extends JAXMServlet implements ReqRespListener {
            private ServletContext servletContext;
            public void init(ServletConfig servletConfig) throws ServletException {
                    super.init(servletConfig);
                    System.out.println("Servlet init");
                    servletContext = servletConfig.getServletContext();
            public SOAPMessage onMessage(SOAPMessage inMsg) {
                    System.out.println("Msg received @ " + (new Date()).toString());
                    try {
                            inMsg.writeTo(System.out);
                            SOAPElement mPElement = getMPElement(inMsg);
                    } catch (Exception e) {
                            e.printStackTrace();
                    System.out.println();
                    return inMsg;
            private SOAPElement getMPElement(SOAPMessage m) throws SOAPException {
              // create search element
              SOAPPart sp = m.getSOAPPart();
              SOAPEnvelope se = sp.getEnvelope();
              Name mPElementName = se.createName("MessageProtocol");
                    System.out.println("Got envelope");
              Iterator itr = m.getSOAPPart().getEnvelope().getBody().getChildElements(mPElementName);
              while (itr.hasNext()) {
                   // assuming there can only one MessageProtocol Element, return first
                   return (SOAPBodyElement) itr.next();
              // if none found return null;
              return null;
    }a simple application sender creates a message and sends it to the servlet. Then receives the reply, prints to command line, and extracts the root element. This code works fine and behaves as normal.
    SOAPSender.java
    import javax.xml.soap.*;
    import java.util.*;
    import javax.swing.*;
    import java.net.URL;
    import java.awt.*;
    public class SOAPSender {
            private SOAPMessage outMsg, inMsg;
            private MessageFactory msgFactory;
            private SOAPConnectionFactory connFactory;
            private SOAPConnection conn;
            private String servletName;
            private URL hostURL;
            public SOAPSender() {}
            public static void main(String args[]) {
                    SOAPSender ss = new SOAPSender();
                    ss.init();
                    ss.start();
            public void init() {
                    System.out.println("Initialising Sender" + (new Date()).toString());
                    try {
                            msgFactory = MessageFactory.newInstance();
                            connFactory = SOAPConnectionFactory.newInstance();
                            servletName = "http://localhost/stServlet/servlet/SOAPTestServlet";
                            System.out.println("URI: " + servletName);
                            hostURL = new URL(servletName);
                            outMsg = createMessage();
                    } catch (Exception e) {
                            System.out.println("Init Exception: " + e.getMessage());
                            e.printStackTrace();
                    System.out.println("Sender Initialised" + (new Date()).toString());
            public void start() {
                    System.out.println("Sender started @ " + (new Date()).toString());
                            try {
                                    System.out.println("Starting send routine    @ " + (new Date()).toString());
                                    conn = connFactory.createConnection();
                                    System.out.println("\tConnection created   @ " + (new Date()).toString());
                                    System.out.println("\tSending message      @ " + (new Date()).toString());
                                    inMsg = conn.call(outMsg, hostURL);
                                    System.out.println("\tReply received   @ " + (new Date()).toString());
                                    System.out.println("\tConnection closing   @ " + (new Date()).toString());
                                    conn.close();
                                    System.out.println("\tConnection closed    @ " + (new Date()).toString());
                                    if (inMsg == null) throw new Exception ("Msg received == null");
                                    //System.out.println("\n\tCheck console for msg");
                                    inMsg.writeTo(System.out);
                                    System.out.println();
                                    System.out.println("\tExtracting data      @ " + (new Date()).toString());
                                    extractData(inMsg);
                                    System.out.println("\tExtracting done      @ " + (new Date()).toString());
                            } catch (Exception e) {
                                    try {
                                            System.out.println("\tConnection closing (forced) @ " + (new Date()).toString());
                                            conn.close();
                                            System.out.println("\tConnection closed (forced) @ " + (new Date()).toString());
                                    } catch (Exception ex) {
                                            System.out.println("\tConnection close exception " + ex.toString());
                                    System.out.println("\tException @ " + (new Date()).toString());
                                    System.out.println("\tException :" + e.toString());
                                    e.printStackTrace();
            private SOAPMessage createMessage() throws SOAPException {
                    // create SOAP message from connection
                    SOAPMessage message = msgFactory.createMessage();
                    // Populate soap message
                    SOAPPart soapPart = message.getSOAPPart();
                    SOAPEnvelope soapEnvelope = soapPart.getEnvelope();
                    SOAPHeader soapHeader = soapEnvelope.getHeader();
                    SOAPBody soapBody = soapEnvelope.getBody();
                    soapHeader.detachNode();
                    // populate body of MSG
                    Name msgPElement = soapEnvelope.createName("MessageProtocol");
                    SOAPBodyElement soapBodyElement = soapBody.addBodyElement(msgPElement);
                    return message;
            private void extractData(SOAPMessage message) throws SOAPException {
                    SOAPElement mPElement = getMPElement(message);
            private SOAPElement getMPElement(SOAPMessage m) throws SOAPException {
              // create search element
              SOAPPart sp = m.getSOAPPart();
              SOAPEnvelope se = sp.getEnvelope();
              Name mPElementName = se.createName("MessageProtocol");
              // locate MessageProtocol Element
              Iterator itr = m.getSOAPPart().getEnvelope().getBody().getChildElements(mPElementName);
              while (itr.hasNext()) {
                   // assuming there can only one MessageProtocol Element, return first
                   return (SOAPBodyElement) itr.next();
              // if none found return null;
              return null;
    }output:
    Initialising Sender Mon Oct 27 12:58:19 GMT 2003
    URI: http://localhost/stServlet/servlet/SOAPTestServlet
    Sender Initialised Mon Oct 27 12:58:20 GMT 2003
    Sender started @ Mon Oct 27 12:58:20 GMT 2003
    Starting send routine    @ Mon Oct 27 12:58:20 GMT 2003
            Connection created   @ Mon Oct 27 12:58:20 GMT 2003
            Sending message      @ Mon Oct 27 12:58:20 GMT 2003
            Reply received   @ Mon Oct 27 12:58:20 GMT 2003
            Connection closing   @ Mon Oct 27 12:58:20 GMT 2003
            Connection closed    @ Mon Oct 27 12:58:20 GMT 2003
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><MessageProtocol></MessageProtocol></soap-env:Body></soap-env:Envelope>
            Extracting data      @ Mon Oct 27 12:58:20 GMT 2003
            Extracting done      @ Mon Oct 27 12:58:20 GMT 2003The same code in applet form however throws an Entity expansion exception when i try the line sp.getEnvelope(); in getMPElement() method:
    Initialising AppletMon Oct 27 12:47:02 GMT 2003
    URI: http://localhost/stServlet/servlet/SOAPTestServlet
    Got Envelope
    Applet InitialisedMon Oct 27 12:47:02 GMT 2003
    Applet started @ Mon Oct 27 12:47:03 GMT 2003
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><MessageProtocol></MessageProtocol></soap-env:Body></soap-env:Envelope>
    javax.xml.soap.SOAPException: Unable to create envelope from given source: access denied (java.util.PropertyPermission entityExpansionLimit read) Nested exception: access denied (java.util.PropertyPermission entityExpansionLimit read)
         at com.sun.xml.messaging.saaj.soap.dom4j.EnvelopeFactoryImpl.createEnvelope(EnvelopeFactoryImpl.java:73)
         at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:87)
         at SOAPSenderApplet.getMPElement(SOAPSenderApplet.java:136)
         at SOAPSenderApplet.extractData(SOAPSenderApplet.java:130)
         at SOAPSenderApplet.start(SOAPSenderApplet.java:89)
         at sun.applet.AppletPanel.run(AppletPanel.java:371)
         at java.lang.Thread.run(Thread.java:536)Windows does not throw this exception. Ive looked on the web, and found that this exception is thrown to prevent 'deeply' nested entity definitions from consuming the CPU and opening a denial of service attack. Not sure that my message contains 'deeply' nested definiations, in fact it contains none at all !!.
    I can call the getMPElement method on the out going message successfully, but not on the reply message. Both SOAP Messages look identical on dumping to the output stream System.out
    Now im as sure as it gets that both the application, and applet are using the same SOAP library files. So why on earth does the applet have a cry, where the application doesnt ??
    Your help would be muchly appreciated. (the Dukes available are all i have left.)

    Once someone replies to your message, you cannot reduce dukes....only increase. Usually best to start where you want, and then possibly raise them to 'perk' interest.
    If you have a message that no one has replied to, you just go to that posting while signed in. It will allow you to reduce dukes.
    Cheers

  • SOAP:ENV Error: Resource..not found on this server

    I created a simple java class with a method that returns org.w3c.dom.Element type.
    Created web service for this class and method in Jdeveloper.
    Deployed this web service in OC4J locally (as explained by other web services examples).
    Then I created a Client Stub for this web service (.wsdl file).
    When testing this client stub ( I followed the same steps as mentioned in OTN DEPT/EMP Web Service), I get the following exception:
    D:\JDEVELOPER\jdk\bin\javaw.exe -ojvm -classpath D:\JDEVELOPER\jdev\mywork\MyWorkspace\MyProject2\classes;D:\JDEVELOPER\jdev\lib\jdev-rt.jar;D:\JDEVELOPER\jdbc\lib\classes12.jar;D:\JDEVELOPER\jdbc\lib\nls_charset12.jar;D:\JDEVELOPER\jdev\lib\jdev-rt.jar;D:\JDEVELOPER\soap\lib\soap.jar;D:\JDEVELOPER\lib\xmlparserv2.jar;D:\JDEVELOPER\jlib\javax-ssl-1_2.jar;D:\JDEVELOPER\jlib\jssl-1_2.jar;D:\JDEVELOPER\j2ee\home\lib\activation.jar;D:\JDEVELOPER\j2ee\home\lib\mail.jar;D:\JDEVELOPER\j2ee\home\lib\http_client.jar;D:\JDEVELOPER\lib\xmlparserv2.jar;D:\JDEVELOPER\lib\xmlcomp.jar;D:\JDEVELOPER\rdbms\jlib\xsu12.jar GetProductsClient
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resource /MyWorkspace-MyProject2-context-root/GetProducts not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
    The SOAP response is as bellow:
    HTTP/1.1 404 Not Found
    Date: Wed, 27 Nov 2002 15:36:27 GMT
    Server: Oracle9iAS (9.0.3.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /MyWorkspace-MyProject2-context-root/GetProducts not found on this server</BODY></HTML>
    The Debug shows, the Method getProductsXM() in the client stub is failing at
    Response response = call.invoke(endpointURL, "");
    This appears to be generating fault and the code is throughing exception which is not casted in to a Element type.
    Not sure what is causing this to fail. And I have not toucjed/ changed the URI for this webservice myself at all. Whatever URIs or Name spaces are there, they are all generarted by JDeveloper.
    I was trying to create a web service that display/return Resultset.
    Any feedback/suggestions ? I would appreciate if you can point me to some sample code that does this ( returning Resultset as XML -<ROWSET> Element)
    Thanks,
    Madhu

    Does this do the trick?
    Server side class:
    import org.w3c.dom.*;
    import oracle.xml.parser.v2.*;
    public class Employee
    public Employee ()
    public Element getEmployeeElement(){
    Document doc = new XMLDocument();
    Element elAdd = doc.createElement( "employee");
    Element elA = doc.createElement( "name");
    elA.appendChild(doc.createTextNode("Mike"));
    elAdd.appendChild(elA);
    doc.appendChild(elAdd);
    return doc.getDocumentElement();
    Generated Interface from JDev:
    * Generated by the Oracle9i JDeveloper Web Services Interface Generator
    * Date Created: Wed Nov 27 11:42:37 PST 2002
    * This interface lists the subset of public methods that you
    * selected for inclusion in your web service's public interface.
    * It is referenced in the web.xml deployment descriptor for this service.
    * This file should not be edited.
    public interface IEmployee
    public org.w3c.dom.Element getEmployeeElement();
    Generated client with a print method to output the result (using WSDL generated by JDeveloper):
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    import org.apache.soap.util.xml.QName;
    import java.net.URL;
    import org.apache.soap.Constants;
    import org.apache.soap.Fault;
    import org.apache.soap.SOAPException;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.rpc.Response;
    import org.w3c.dom.Element;
    import java.util.Vector;
    import java.util.Properties;
    import oracle.xml.parser.v2.*;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Wed Nov 27 11:39:29 PST 2002
    * WSDL URL: file:/D:/demo/Workspace5/Project1/src/Employee.wsdl
    public class EmployeeStub
    public EmployeeStub()
    m_httpConnection = new OracleSOAPHTTPConnection();
    m_smr = new SOAPMappingRegistry();
    public static void main(String[] args)
    try
    EmployeeStub stub = new EmployeeStub();
    // Add your own code here.
    Element e = stub.getEmployeeElement();
    ((XMLElement)e).print(System.out);
    catch(Exception ex)
    ex.printStackTrace();
    public String endpoint = "http://127.0.0.1:8888/Workspace5-Project1-context-root/Employee";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element getEmployeeElement() throws Exception
    Element returnVal = null;
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    call.setSOAPTransport(m_httpConnection);
    call.setTargetObjectURI("Employee");
    call.setMethodName("getEmployeeElement");
    call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
    Vector params = new Vector();
    call.setParams(params);
    call.setSOAPMappingRegistry(m_smr);
    Response response = call.invoke(endpointURL, "");
    if (!response.generatedFault())
    Parameter result = response.getReturnValue();
    returnVal = (Element)result.getValue();
    else
    Fault fault = response.getFault();
    throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
    return returnVal;
    public void setMaintainSession(boolean maintainSession)
    m_httpConnection.setMaintainSession(maintainSession);
    public boolean getMaintainSession()
    return m_httpConnection.getMaintainSession();
    public void setTransportProperties(Properties props)
    m_httpConnection.setProperties(props);
    public Properties getTransportProperties()
    return m_httpConnection.getProperties();
    Mike.

  • Jdeveloper dependency on ANT script for .JAR file for ADF Application

    Hi all,
    We need to create a .jar file for an ADF project consist of Model & viewcontroller. We are able to create jar file with help OjDeploy in my ANT script.
    My query: Ojdeploy uses internally jdeveloper home to complete the task. After going through the generated script, we came to know about below two references:
    1.     oracle.jdeveloper.ant.library = ${jdeveloperHome}\\ jdeveloper\\jdev\\/lib/ant-jdeveloper.jar
    2.     oracle.jdeveloper.ojdeploy.path = ${jdeveloperHome}\\jdeveloper\\jdev\\bin\\ojdeploy.exe
    Is there any way to remove above dependencies so that we can create .jar file without installing Jdeveloper on a machine ?
    regards,
    Mohit

    ojdeploy requires a JDeveloper installation.
    Without going into the debate as to whether this is "good" or not, that's the way it works, I personally don't have a problem with installing JDeveloper on a build box (after all, you do have to install other software on the build box, too).
    If you don't want to install JDeveloper, you can hand-roll your own ANT scripts which is good for racking up the billable hours, but not so good at maintainability.

  • EWS, SOAP: Unable to access Forefront-protected /EWS/Exchange.asmx

    This is a repost. I'm really hoping to get an answer from a Microsoft Forefront support engineer. Last time my question was ignored then closed, am I in the wrong place for Forefront support?
    I have this app that uses EWS to access mail, using the standard /EWS/Exchange.asmx SOAP endpoint.
    One my user's mail servers is protected by Microsoft Forefront, and the initial HTTP request to
    https://server_name/EWS/Exchange.asmx
    is redirected (HTTP 302) to:
    https://server_name/
    CookieAuth.dll?GetLogon?curl=Z2FEWSZ2FExchange.asmx&reason=0&formdir=3
    which is an regular HTML page, the point of which, I guess, is to make the user authenticate "manually".
    I've not heard about Forefront until today, not sure how to handle it.
    Is this normal behavior for Forefront (i.e. it always redirects the initial HTTP request), or is it triggered by something in my app? For example, user-agent? The formatting of my SOAP request? Some other heuristics?
    If it's normal, how am I supposed to get past this page and access /EWS/Exchange.asmx?
    If it's triggered by something my app is doing, how can I find out what it is?
    My code runs on Android and forms its own XML requests without using any SOAP library. At the transport level, I use Apache HTTP client components. The code works fine with Office 365/Exchange Online, and, according to user reports, "self-hosted"
    corporate Exchange servers with NTLM.
    However, in this case, I'm not even getting an HTTP 401: the HTTP 302 is returned by the very first HTTP roundtrip.
    Trying to preemptively authenticate the initial request using Basic authentication didn't make any difference.
    The user who reported this issue also mentioned that another EWS based app works, so there must be a solution to it.

    Quan,
    Thank you for responding.
    There is no error per se, but the initial HTTP request to <server>/EWS/Exchange.asmx gets redirected by Forefront (HTTP 302) to:
    https://server_name/
    CookieAuth.dll?GetLogon?curl=Z2FEWSZ2FExchange.asmx&reason=0&formdir=3
    ...which is an HTML page that asks the user to log in, "manually" by again entering his login and password. This is a problem, because my app is not a web browser.
    Normally, without Forefront, the first request for Exchange.asmx returns an HTTP 401, at which point the HTTP library provides authentication data, and then the server returns actual data that the app asked for.
    I do not know which Forefront it is, I'm not familiar with Forefront. Does the above URL (.../CookieAuth.dll?GetLogon) tell you that? Does it matter which Forefront it is?
    I hope that you are exactly a person "who is familiar with the issue" -- specifically, Forefront for Exchange -- or can escalate my question to someone who is.

  • [Worklist API] Failed to fetch task list

    Hello Guys,
    I am trying to fetch tasks using worklist API but it doesnt work for me..It returns the Task list whcih has 0 (zero) tasks. Below is the code i am using:
    Hashtable props = getBpelProperties();
    Locator locator = new Locator("default","welcome1",props);
    IWorklistService Worklist = (IWorklistService)locator.lookupService(IWorklistService.SERVICE_NAME);
    ITask[] Tasks = null;
    try { 
    System.out.println("Obtaining List");
    Tasks = Worklist.listTasksByAssignee("oc4jadmin");
    // I dont find any task in the collection Tasks but i can see the tasks that have been assigned to oc4jadmin using oracle worklist application
    System.out.println("Tasks:"+Tasks.length);
    System.out.println("Got List");
    } catch (ServerException e) {
    System.out.println("Error : "+e.getMessage());
    catch (Exception ex) {
    System.out.println("Error : "+ex.getMessage());
    Can anyone help me please?
    Message was edited by:
    mchagani
    Message was edited by:
    afz

    With regard to your first approach that causes the java.lang.NoSuchMethodError exception, that one is probably caused by the classpath settings.
    The piece of code from the other thread works with the following classpath in JDeveloper 10.1.3.3 and SOA Suite 10.1.3.3:
    bpm-infra.jar, bpm-services.jar, orabpel-common.jar, orabpel.jar (all from the SOA Suite server), Oracle SOAP library, Oracle XML Parser v2 library, Commons Logging 1.0.3 library, JAX-RPC Client library, and the correct wf_client.config.xml, wf_config.xml, is_config.xml files.
    In that piece of code the Apache Commons logging framework is used for logging, not log4j. There are some known issues with the logging jar's included in the BPEL libraries and custom code.

  • Error while running 10g web services tutorial

    I am trying to learn and evaluate JDev 10g. I followed the web services tutorial for 10g. In the end when I tried to run the example I get the following error. Any help will be appreciated. Thanks.
    PS: I am also seeing this error in the message pane for the embedded server "Source Files\JDeveloper\j2ee\home\oc4j.jar;C:\Program does not exist."
    C:\Program Files\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JavaWebService\Model\classes;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\soap\lib\soap.jar;C:\Program Files\JDeveloper\lib\xmlparserv2.jar;C:\Program Files\JDeveloper\jlib\javax-ssl-1_2.jar;C:\Program Files\JDeveloper\jlib\jssl-1_2.jar;C:\Program Files\JDeveloper\j2ee\home\lib\activation.jar;C:\Program Files\JDeveloper\j2ee\home\lib\mail.jar;C:\Program Files\JDeveloper\j2ee\home\lib\http_client.jar webservtest.EmbeddedMyPersonWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;Servlet error: Cannot generate Class: &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at webservtest.EmbeddedMyPersonWSStub.sayHello(EmbeddedMyPersonWSStub.java:175) at webservtest.EmbeddedMyPersonWSStub.main(EmbeddedMyPersonWSStub.java:40)
    Process exited with exit code 0.

    Hi,
    Unfortunately, your web service is failing at runtime because JDeveloper (and more specifically, the embedded OC4J) is installed in a directory whose path contains a space character. If you move JDeveloper from "Program Files" to another directory, perhaps "Program_Files", then it'll all go smoothly.
    Apologies if this causes you inconvenience.
    Regards,
    Alan.

  • Can't parse configuration file

    hi i'm trying to deploy an application on oc4j 10.1.3.1.0. i use Eclipse IDE and ant for deploy.
    i have this:
    [java] java.rmi.RemoteException: bindWebApp() failed!; nested exception is:
    [java] oracle.oc4j.admin.internal.DeployerException: Can't parse configuration file:code-source:/C:/JDeveloper/j2ee/home/applib/adf-faces-impl.jar!/META-INF/faces-config.xml
    [java] at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:420)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    [java] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    [java] at java.lang.Thread.run(Thread.java:595)
    [java] Caused by: oracle.oc4j.admin.internal.DeployerException: Can't parse configuration file:code-source:/C:/JDeveloper/j2ee/home/applib/adf-faces-impl.jar!/META-INF/faces-config.xml
    [java] at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1224)
    [java] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:321)
    [java] at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
    [java] at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
    [java] at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    [java] at com.evermind.server.Application.getHttpApplication(Application.java:545)
    [java] at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
    [java] at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
    [java] at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
    [java] at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    [java] at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:418)
    [java] ... 7 more
    [java] Error: bindWebApp() failed!; nested exception is:
    [java] oracle.oc4j.admin.internal.DeployerException: Can't parse configuration file:code-source:/C:/JDeveloper/j2ee/home/applib/adf-faces-impl.jar!/META-INF/faces-config.xml

    I had similar problems with jsf-impl.jar.
    Sun do provide the xsd schemas locally inside the jar files so internet connection
    should not be required if parser is configured right.
    In my case I removed commons-digester-1.6.jar from my application and replaced it
    with commons-digester.jar supplied by JDeveloper builtin library named Commons Digester 1.5.
    Digester was configuring the (oracle) xerces parser.

Maybe you are looking for

  • How can I change the aspect ratio of an image display

    I am snapping a sequence of images and using imgPlot to diplay the images. However, due to my camera specifications [it's a Pulnix 9701 with Pixel Size 11.6μm (H) X 13.3μm (V)], the image I get displayed is elongated in the horizontal direction, i.e.

  • Sync/Async without BPM

    Hello Experts, Can you please post your experiences on this issue. I am working on this SYNC/ASYNC scenario. REQUEST ABAP Proxy -> PI -> JMS receiver adatper -> IBM MQ RESPONSE IBM MQ --> JMS Sender adapter -> JMS receiver adapter Here it is going in

  • Playing Youtube videos on Blackjack

    I'm trying to play Youtube videos on my Blackjack but a message comes up everytime saying "you either have JavaScript turned off or an old version of Macromedia's Flash Player get the latest flash player. I installed flash lite 2.1, but that didn't s

  • Object params

    New to this but I have a flash image gallery on a site I'm working on. I want three images side by side which I have, but the images fade to the next image the same time. I want each of the three images to scroll independantly from each other at diff

  • Extract Edit Across a Dissolve causes Serious Error Crash

    Hoping that: 1 - There's an update soon - it's been a while since we've had anything significant. 2 - This particular bug gets addressed. I'm on a new Mac Pro - 64 GB Dual Hexacore 2.93 GHz.  Running Raid 0 internal with a Blade SSD in the 16x PCI sl