Validation Failed. Creation Web Service Proxy

Hi, all
I've got a problem with JDeveloper 10.1.3 when I try to create a web serviceproxy using the wizard.
My service class is next,
package swa;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.color.ColorSpace;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.awt.image.ColorConvertOp;
import java.awt.image.RescaleOp;
import javax.xml.soap.AttachmentPart;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
public class ImgToolbox {
public final static int FLIP_VERTICAL = 0;
public final static int FLIP_HORIZONTAL = 1;
public final static int FLIP_VERTICAL_HORIZONTAL = 2;
public AttachmentPart toGray(AttachmentPart imagen){
AttachmentPart apRetorno = null;
try{
Image image = (Image)imagen.getContent();
BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_GRAY);
ColorConvertOp op = new ColorConvertOp(cs, null);
BufferedImage grayImage = op.filter(originalImage, null);
// Creación del AttachmentPart con la nueva imagen
MessageFactory mf = MessageFactory.newInstance();
SOAPMessage message = mf.createMessage();
apRetorno = message.createAttachmentPart();
apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(grayImage.getSource()),"image/jpeg");
} catch(SOAPException e){
System.out.println("Error, en el mensaje SOAP.");
return apRetorno;
public AttachmentPart flip(AttachmentPart ap, int tipo){
AttachmentPart apRetorno = null;
try{
Image image = (Image)ap.getContent();
BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
AffineTransform tx = null;
AffineTransformOp op = null;
switch(tipo){
case FLIP_VERTICAL : {
tx = AffineTransform.getScaleInstance(1, -1);
tx.translate(0, -image.getHeight(null));
break;
case FLIP_HORIZONTAL : {
tx = AffineTransform.getScaleInstance(-1, 1);
tx.translate(-image.getWidth(null), 0);
break;
case FLIP_VERTICAL_HORIZONTAL : {
tx = AffineTransform.getScaleInstance(-1, -1);
tx.translate(-image.getWidth(null), -image.getHeight(null));
break;
op = new AffineTransformOp(tx, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
BufferedImage flipImage = op.filter(originalImage, null);
// Creación del AttachmentPart con la nueva imagen
MessageFactory mf = MessageFactory.newInstance();
SOAPMessage message = mf.createMessage();
apRetorno = message.createAttachmentPart();
apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(flipImage.getSource()),"image/jpeg");
} catch (SOAPException e) {
System.out.println("Error, en el mensaje SOAP.");
return apRetorno;
public AttachmentPart resize(AttachmentPart img,float escala){
AttachmentPart apRetorno = null;
try{
Image image = (Image)img.getContent();
BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
// Se rellena la BufferedImage con la imagen original
Graphics g = originalImage.createGraphics();
g.drawImage(image, 0, 0, null);
g.dispose();
// Modificación de la imagen original
RescaleOp op = new RescaleOp(escala, 0, null);
BufferedImage tempImage = op.filter(originalImage, null);
// Creación del AttachmentPart con la nueva imagen
MessageFactory mf = MessageFactory.newInstance();
SOAPMessage message = mf.createMessage();
apRetorno = message.createAttachmentPart();
apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(tempImage.getSource()),"image/jpeg");
} catch (SOAPException e) {
System.out.println("Error, en el mensaje SOAP.");
return apRetorno;
the wizard creates a JAX-RPC web service without problems from this class. However, if I click on "Regenerate Web Service from WSDL..." the method fails and throws a exception. The trace is next :
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
     at java.util.ArrayList.RangeCheck(ArrayList.java:547)
     at java.util.ArrayList.get(ArrayList.java:322)
     at oracle.jdeveloper.webservices.model.SOAPBinding.<init>(SOAPBinding.java:243)
     at oracle.jdeveloper.webservices.model.Binding.create(Binding.java:668)
     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2275)
     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2117)
     at oracle.jdeveloper.webservices.model.java.JavaWebService.saveEditTopDown(JavaWebService.java:1704)
     at oracle.jdevimpl.webservices.WebServicesAddin$2.run(WebServicesAddin.java:2261)
     at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
     at java.lang.Thread.run(Thread.java:595)
WSDL FILE GENERATED BY THE WIZARD
<definitions
name="ImgToolboxWS"
targetNamespace="http://swa/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://swa/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns0="http://swa/types/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns1="http://ws-i.org/profiles/basic/1.1/xsd"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"
elementFormDefault="qualified" xmlns:tns="http://ws-i.org/profiles/basic/1.1/xsd">
<import namespace="http://swa/types/"/>
<simpleType name="swaRef">
<restriction base="xsd:anyURI"/>
</simpleType>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://swa/types/"
elementFormDefault="qualified" xmlns:tns="http://swa/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap12-enc="http://www.w3.org/2003/05/soap-encoding"
xmlns:ns1="http://ws-i.org/profiles/basic/1.1/xsd">
<import namespace="http://ws-i.org/profiles/basic/1.1/xsd"/>
<complexType name="flip">
<sequence>
<element name="ap" type="ns1:swaRef" nillable="true"/>
<element name="tipo" type="int"/>
</sequence>
</complexType>
<complexType name="flipResponse">
<sequence>
<element name="result" type="ns1:swaRef" nillable="true"/>
</sequence>
</complexType>
<complexType name="resize">
<sequence>
<element name="img" type="ns1:swaRef" nillable="true"/>
</sequence>
</complexType>
<complexType name="resizeResponse">
<sequence>
<element name="result" type="ns1:swaRef" nillable="true"/>
</sequence>
</complexType>
<complexType name="toGray">
<sequence>
<element name="imagen" type="ns1:swaRef" nillable="true"/>
</sequence>
</complexType>
<complexType name="toGrayResponse">
<sequence>
<element name="result" type="ns1:swaRef" nillable="true"/>
</sequence>
</complexType>
<element name="flipElement" type="tns:flip"/>
<element name="flipResponseElement" type="tns:flipResponse"/>
<element name="resizeElement" type="tns:resize"/>
<element name="resizeResponseElement" type="tns:resizeResponse"/>
<element name="toGrayElement" type="tns:toGray"/>
<element name="toGrayResponseElement" type="tns:toGrayResponse"/>
</schema>
</types>
<message name="ImgToolboxWS_flip">
<part name="parameters" element="tns0:flipElement"/>
</message>
<message name="ImgToolboxWS_flipResponse">
<part name="parameters" element="tns0:flipResponseElement"/>
</message>
<message name="ImgToolboxWS_resize">
<part name="parameters" element="tns0:resizeElement"/>
</message>
<message name="ImgToolboxWS_resizeResponse">
<part name="parameters" element="tns0:resizeResponseElement"/>
</message>
<message name="ImgToolboxWS_toGray">
<part name="parameters" element="tns0:toGrayElement"/>
</message>
<message name="ImgToolboxWS_toGrayResponse">
<part name="parameters" element="tns0:toGrayResponseElement"/>
</message>
<portType name="ImgToolboxWS">
<operation name="flip">
<input message="tns:ImgToolboxWS_flip"/>
<output message="tns:ImgToolboxWS_flipResponse"/>
</operation>
<operation name="resize">
<input message="tns:ImgToolboxWS_resize"/>
<output message="tns:ImgToolboxWS_resizeResponse"/>
</operation>
<operation name="toGray">
<input message="tns:ImgToolboxWS_toGray"/>
<output message="tns:ImgToolboxWS_toGrayResponse"/>
</operation>
</portType>
<binding name="ImgToolboxWSSoap12Http" type="tns:ImgToolboxWS">
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="flip">
<soap12:operation soapAction="http://swa//flip" soapActionRequired="false"/>
<input>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
<operation name="resize">
<soap12:operation soapAction="http://swa//resize" soapActionRequired="false"/>
<input>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
<operation name="toGray">
<soap12:operation soapAction="http://swa//toGray" soapActionRequired="false"/>
<input>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<mime:multipartRelated>
<mime:part>
<soap12:body use="literal" parts="parameters"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
</binding>
<service name="ImgToolboxWS">
<port name="ImgToolboxWSSoap12HttpPort" binding="tns:ImgToolboxWSSoap12Http">
<soap12:address location="http://192.168.0.6:8888/Capitulo3-SwA-context-root/ImgToolboxWSSoap12HttpPort"/>
</port>
</service>
</definitions>
If I only expose the toGray method as a Web Service all works fine. Any combinatio with other methods won't work. It's very strange.
When I try to create a proxy using the wizard JDeveloper shows me next error message :
Validation Failed
...wsdl file does not contain sufficient information to create a proxy. At least one port type and a binding of the are required.
Any reply will be greatly appreciated.
Best regards.

I am getting this error by generating a web service from pl/sql procedure. Just one package, just one procedure. Error stack:
java.lang.NullPointerException
     at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
     at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
     at java.lang.Thread.run(Thread.java:595)
The pl/sql package header looks like this:
CREATE OR REPLACE package ADMIN.etis_autent as
procedure autent(
     ps_kasutajatunnus in varchar2,
     ps_parool in varchar2,
     ps_isikukood out varchar2,
     ps_eesnimi out varchar2,
     ps_perekonnanimi out varchar2
end etis_autent;
/

Similar Messages

  • Validation Failed when creating Web Service Proxy

    Hi
    I am having trouble creating a web service proxy in JDeveloper (11.1.1.3). When I enter the endpoint URL (which is a https WSDL file). I get the following error:
    No WSDL document could be found at https://host:port/.../.././...wsdl.
    I can open the WSDL in SOAP UI and it accesses it fine and I can call the service within.
    When I put it in a browser I need to enter the authentication details before I can view the WSDL.
    But I can't get to the next step in the Web Service Proxy wizard, I've had a look in the threads before an couldn't find any help.
    Is there anyone who can help me with this?
    Regards
    Saheem

    Thanks John but unfortunatly that didn't help.
    I removed the proxy but the WSDL was still not found I also added the host to the Proxy exceptions list and switched the proxy back on but this did not work either.
    I also tried the method in the link you provided. But I get an error when attempting to create a Web Service Dasta Control too. The error I get here is:
    DCA-40002: The WSDL document is invalid due to the following reason: WSDl Exception: faultCode=PARSER_ERROR: Failed to read wsdl file at: "https://../../..wsdl", caused by javax.net.ssl.SSLHandshakeException. :...........

  • Web service proxy generation validation failed - two declarations collision

    Hi,
    I'm creating a JAX-WS web service proxy against a web service with very complex payload. When I point the wizard to the WSDL, during the analysis, it throws an error,
    Error creating model from wsdl "<mywsdl>": (Related to above error) This is the other declaration. Two declarations cause a collision in the ObjectFactory class.
    Any pointers? How can I troubleshoot such error?

    found the fix discussed on this blog... http://kingsfleet.blogspot.com/2008/07/working-round-xsdchoice-binding-issue.html

  • WEB SERVICE PROXY GENERATED USING 11.1.1.5.0 WSDL FAILS WITH 11.1.1.6.0

    I have created a Web Service Proxy project in Jdev using BI Publisher 11.1.1.5.0 WSDL (ReportService). Generated ReportService_Service method uses following QName to get the port:
    namespaceURI = "http://xmlns.oracle.com/oxp/service/v2"
    localPart = "*v2/ReportService*"
    Reports are generated successfully via Web Services when using BI Publisher 11.1.1.5.0 but when I use BI Publisher 11.1.1.6.x, it fails with this exception:
    +'javax.el.ELException: javax.xml.ws.WebServiceException: {http://xmlns.oracle.com/oxp/service/v2}v2/ReportService is not a valid port. Valid ports are: {http://xmlns.oracle.com/oxp/service/v2}ReportService'+
    I noticed that if the Web Service Proxy project is created using BI Publisher 1.1.1.1.6.0 WSDL (ReportService), the generated ReportService_Service method uses following QName to get the port:
    namespaceURI = "http://xmlns.oracle.com/oxp/service/v2"
    localPart = "*ReportService*"
    We are supporting both 11.1.1.5.0 and 11.1.1.6.x, so is there a way to make it work with both.
    FYI, I have tried removing v2 but then it only works with 11.1.1.6.0 and fails with 11.1.1.5.0.
    +Caused By: javax.xml.ws.WebServiceException: {http://xmlns.oracle.com/oxp/service/v2}ReportService is not a valid port. Valid ports are: {http://xmlns.oracle.com/oxp/service/*v2}v2/*ReportService+

    Dear,
    found the solution (after trying last 1-2 days ...).
    I was already using java 1.7 update 7.
    I had to start java settings and to deselect Java 1.7.0_07.
    Instead I selected latest Java version from Apple: 1.6.0_35-b10-428.
    With these settings the installer finishes without crash.
    Kind regards
    Lorenz
    Edited by: Lorenz on Oct 4, 2012 1:47 PM

  • Validation error while creating Web Service Proxy.

    Hi,
    I'm trying to create Web Service Proxy. But I'm stuck with a Validation error
    model error: type
    +"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+
    +org.w3c.dom.Document" not found.+
    I'm using "Create Web Service Proxy" wizard. There are 6 steps in creating proxy through JDev. wizard.
    First step itself displaying the above validation error when I click on "Next" button.
    Few points
    We have created web service using "oracle.j2ee.ws.StatelessJavaRpcWebService" servlet
    Thanks in advance.
    -Sukumar

    Hi,
    It might be that the .net service which you have is not WS-I compliant. Can you first run WS-I Analyzer on the wsdl to see it the test passes.
    Thanks,
    Vishal

  • Web service proxy creation issue

    am facing an issue with the creation of web service proxy for an esb project that i have created based on oracle esb tutorial. In the web service proxy creation wizard, it is accepting the concrete URL for the wsdl in the first step however in the second step it is not showing any endpoint URL. Also the wizard does not allow to go beyond step 2 of the web service proxy creation. following is my wsdl to which the concrete wsdl url points to. What am i missing here. Please help
    following is my wsdl
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <definitions
    name="custinsoap_RS"
    targetNamespace="http://oracle.com/esb/namespaces/custdata"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://oracle.com/esb/namespaces/custdata"
    xmlns:inp1="http://xmlns.oracle.com/Esb/CustomerData"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/Esb/CustomerData" schemaLocation="public_html/LegacyCustomer.xsd" />
    </schema>
    </types>
    <message name="CustomerData_request">
    <part name="CustomerData" element="inp1:CustomerData"/>
    </message>
    <portType name="Readcustsoapdata_ppt">
    <operation name="Readcustsoapdata">
    <input message="tns:CustomerData_request"/>
    </operation>
    </portType>
    <binding name="readsoapbinding" type="tns:Readcustsoapdata_ppt">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="Readcustsoapdata">
    <soap:operation soapAction="http://oracle.com/esb/namespaces/custdata/Readcustsoapdata"/>
    <input>
    <soap:body use="literal" parts="CustomerData"/>
    </input>
    <output>
    <soap:body use="literal" parts=""/>
    </output>
    </operation>
    </binding>
    <service name="readcustdatasoapservice">
    <port name="soapport" binding="tns:readsoapbinding">
    <soap:address location="http://myhost.mycompany.com/esb/wsil/custdata/custinsoap_RS"/>
    </port>
    </service>
    </definitions>

    Hi,
    Are you accessing teh WSDl from a deployed service ? If yes, when providing the Web Service URL, did you extend the URL with ?WSDL ?
    Frank

  • Deployment is failing on creating web service proxy in portlet.

    Hi All,
    I am using a JDeveloper 11.1.1.2.0.
    1) I have created a application (portlet producer application), which contains few jsf pages (not jspx).
    2) I have added a web service proxy ( using New>Business tier>Web services>web service proxy, provided a wsdl) for accesing a service which is exposed on different server.
    The above combination works perfectly fine.
    But When I convert the JSF pages to portlet (right click on JSF page and select create portlet entry option), and tried to run it throws following error.
    Note: soainvgpkg is the package which is generated when I create a web service proxy.
    It is generated under application resources.
    ++[11:04:31 AM] Redeploying Application...++
    ++<Aug 5, 2011 11:04:34 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1312522471750' for task '0'. Error is: 'java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)'++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'PortletProducer_Application'.>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++[11:04:34 AM] #### Deployment incomplete. ####++
    ++[11:04:34 AM] Remote deployment failed++
    It works fine if I again remove the portlet entry and delete the portlet.xml and oracle-portlet.xml which were generated during portlet conversion time which is nothing but a normal JSf application.
    Please help,
    Thanks and regards,
    Kemp.
    Edited by: 877449 on Aug 4, 2011 11:33 PM

    Hi All,
    Facing same issue...
    Any solution
    Thanks & Regards,
    renuka

  • Web Service Proxy not returning Response in 11g

    Hi,
    I am facing a difference in the creation of Web Service Proxy in 11g when compared to 10g. I have exposure of creating a Web Service Proxy in 10g and I do observe that the folder name 'runtime' gets generated automatically along with the proxy at the time of creation.
    But in 11g, the nature & behavior of Web Service Proxy creation has changed a lot according to my observation. I am facing an issue where the response object is not returning the expected results as per the functionality.
    In 10g, we have used a Stub class (automatically created under 'runtime' folder) and we are able to put some logs to see the request and response object in the form of 'xml'. But in 11g, I am facing difficulty in getting the same logged to see the response from OPA.
    Please share your thoughts which would definitely help me in resolving this issue.
    With Regards,
    Thiyagarajan V

    Hi,
    I have also tried using 'Web Service Data Control' as an alternate method to overcome the above mentioned issue. But I have ended up the error "DCA-29000: Unexpected exception caught: java.lang.NullPointerException,msg=null" and failed to create a data control.
    The JDeveloper version which I am using is 11.1.1.5.0. I also came to know that there is a patch (9790388) which has resolved this bug in JDeveloper. I also applied the same patch in my Oracle Home using OPatch utility.
    But unfortunatley, the version suitable for this patch is 11.1.1.4.0 and I suspected that could be one of the reason that the problem has not got resolved yet.
    Please suggest the patch or any solution which can also help me in resolving this issue. I really appreciate your time and effort in sharing your thoughts for the problems which I have mentioned over here.
    Thank you !!!
    With Regards,
    Thiyagarajan V

  • Web Service Proxy client to invoke a Web service on SSL (Jdev 10.1.3.1)

    Hi,
    I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
    1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
    2) Made a test with a browser, it worked OK
    3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
    --- Now make it work on SSL----
    4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
    5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
    6) Test web service from browser on https and worked OK.
    7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
    Questions----
    1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
    2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
    Thanks in advance
    J.

    Hi,
    Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
    Thanks a lot in advance
    Nilesh

  • Help needed creating Web Service Proxy with SSL

    Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
    Thanks in advance.
    John

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • Create Web Service Proxy -  Union Schema Element has not been implemented

    Create Web Service Proxy
    Validation Failed:
    WSDLException: faultCode=INVALID_WSDL: unsupported XML Schema feature(Union Schema Element has not been implemented)
    WSDL source: http://personal.inet.fi/cool/sports/misc/FlatWSDL/SOAPFrontGetShowBalanceJMS.wsdl

    Looks like this was a false alarm. There were some issues with the message schema.
    Sorry for the confusion.

  • Error when running Web Service Proxy from JDev (running publisher report)

    Hello.
    I would like to call publisher report from forms, so i was using this instructions:
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v21.pdf
    When i test my Web Service Proxy, i get this warning:
    WARNING: The received SOAP fault contains non standard fault element: "{http://xml.apache.org/axis/}hostname". This element will be ignored.
    javax.xml.rpc.soap.SOAPFaultException: oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to oracle.apps.xdo.servlet.CreateException: Report definition not found:/Path/Employees.xdo
    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:555)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at bip_webservice.proxy.runtime.PublicReportServiceSoapBinding_Stub.runReport(PublicReportServiceSoapBinding_Stub.java:290)
    at bip_webservice.proxy.PublicReportServiceClient.runReport(PublicReportServiceClient.java:105)
    at bip_webservice.proxy.PublicReportServiceClient.main(PublicReportServiceClient.java:79)
    What is wrong? Did anyone try those instructions?
    Thanks.

    I am getting the same error. What was the solution that worked for you? Please help

  • Problem while creating web service proxy in Jdeveloper 10.1.3

    I am using Jdeveloper 10.1.3 to create a web service proxy so that I can track my request/response in HTTP Analyzer.
    I am following the steps as mentioned in the follwoing uRL:
    http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    But I get the following warning while creating the web servcice proxy:
    Generating proxy
    WARNING: value type package prefix is ignored for the types defined in the schema that has same target namespace as the target namespace of wsdl: <my web service namepsace>
    Proxy generation finished
    After adding my code in the main methoad of proxy, I get the following error while compiling:
    WARNING: Unable to connect to URL: <my web service proxy URL> due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Please help as how to solve this.
    Edited by: user11258855 on 02-Jul-2009 03:38

    I am using Jdeveloper 10.1.3 to create a web service proxy so that I can track my request/response in HTTP Analyzer.
    I am following the steps as mentioned in the follwoing uRL:
    http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm
    But I get the following warning while creating the web servcice proxy:
    Generating proxy
    WARNING: value type package prefix is ignored for the types defined in the schema that has same target namespace as the target namespace of wsdl: <my web service namepsace>
    Proxy generation finished
    After adding my code in the main methoad of proxy, I get the following error while compiling:
    WARNING: Unable to connect to URL: <my web service proxy URL> due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Please help as how to solve this.
    Edited by: user11258855 on 02-Jul-2009 03:38

  • Web service proxy client with client cert cause SSLSessionNotFoundErr

    Hi,
    I tried to run web service proxy client with certification from JDeveloper 10.1.3.0.4 to call PKI enabled web service got folllowing error:
    WARNING: Unable to connect to URL: due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    Web service deployed on OAS

    Hi,
    i am trying to invoke from JDeveloper (10.1.3) a CRM On Demand's Web Service and I hava the same problem:
    ADVERTENCIA: Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
         at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:96)
         at testerlast.ContactClient.contactInsert(ContactClient.java:88)
         at testerlast.ContactClient.main(ContactClient.java:69)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: SSLSessionNotFoundErr
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
         at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
         at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at testerlast.runtime.Contact_Stub.contactInsert(Contact_Stub.java:80)
         ... 2 more
    To do the invocation I have done a proxy to consume this Web Service, with the follow main:
    public static void main(String[] args) {
    try {
    testerlast.ContactClient myPort = new testerlast.ContactClient();
    System.out.println("calling " + myPort.getEndpoint());
    myPort.setUsername(nameUser);
    myPort.setPassword(password);
    ListOfContactData llista = new ListOfContactData();
    ContactData[] contacts=new ContactData[2];
    ContactData contact=new ContactData();
    ContactInsert_Input input=new ContactInsert_Input();
    // Login WS HTTPS
    String idSesion=connexioWS_CRM.logon(URL,nameUser,password);
    // Add contact
    for (int i = 0; i < contacts.length; i++) {
    contact.setId("ProvaWSCRM"+i);
    contact.setContactFirstName("JDeveloper"+i);
    contact.setContactLastName("prove"+i);
    contact.setCellularPhone("77777777"+i);
    contact.setDescription("Add contact with Id:"+contact.getId());
    contacts=contact;
    System.out.println("Id:"+contacts[i].getId()+" firstName:"+contacts[i].getContactFirstName()+" lastName:"+contacts[i].getContactLastName());
    llista.setContact(contacts);
    input.setListOfContact(llista);
    input.setEcho("off");
    System.out.println("Pwd:"+myPort.getPassword()+" Port:"+myPort._port+" endpoint:"+myPort.getEndpoint()+" user:"+myPort.getUsername());
    myPort.contactInsert(llista,"LIC","Broadset","OFF");
    // Logout en WS (HTTPS)
    connexioWS_CRM.logoff(URL, idSesion);
    } catch (Exception ex) {
    ex.printStackTrace();
    What's wrong? Any idea?
    Thank you
    Edited by: user12085357 on 31-oct-2009 10:39

  • Web Service Proxy in OAF project

    Hi
    I am trying to create a Web Service proxy class that I can use to call a web service from a custom OAF page.
    I am doing this by right clicking on the OAF project (12i project using 10.1.3.3.0.3 of JDev with OAF ext) and choosing New -> Web Services -> Web Service Proxy.
    In doing so I get the 'Create Web Service Proxy' wizard and can choose the wsdl which I have downloaded locally. On choosing the wsdl (Search.wsdl) saying the following error -
    The name .proxy.SearchSoapImpl is not a valid java class name.
    If however I create a New empty project (not OAF) and follow the same steps it creates the proxy and its classes successfully.
    I am assuming i can now include these in my OAF project, but wondered if anyone has seen this error and if so is there a reason as to why you can create the proxy in an OAF project.
    Is the approach correct above??
    Robert

    OK no-one appears to be commenting on this..
    I've got this working by creating my proxy class in a new OAF project and including it in the project that will be calling it.

Maybe you are looking for

  • WiFi, Magic Mouse and a MacBook...

    Hi All, I have a weird issue. I'm using my Magic Mouse and Aluminum MacBook 13" for months now. I'm also using TIme Capsule as my Wifi-N router. I got myself external display couple of weeks ago, and am using my MacBook in close clamshell mode since.

  • Photoshop CS6 and Photoshop CS6 CC simultaneity

    Is is possible to run Photoshop CS6  and Photoshop-CS6 CC simultaneously in the same computer? For instance PSSC6 for batch processing and PSSC6-CC for image editing?

  • [solved] building go-openoffice / mono 4GB++ RAM = normal I guess

    Hi! I tried building go-oo. Already have had problems with the last few tries, so I set it to nice 15. Still it was making the machine unusable... a look into xfce4-taskmanager was showing me mono with a negative value of Ram allocated, so I didn't n

  • Passing table back to FM

    Hi I am writing a RFC FM. I am passing order no to the subroutine and I  need to get back all the components for that Production order from RESB table. Perform get_next_component_list using l_aufnr based on the AUFNR passed to subroutine I have to ge

  • HP 2550 Color Laser Jet stops after first page

    I've uninstalled the old drivers and reinstalled new ones for Snow Leopard, but my 2550 crashes after printing page 1 of a document from any of several programs. The red alert light comes on, as if there were a paper jam (there isn't). I have to open