Webservice classes from WSDL

Hi all,
I have a WSDL and within eclipse am trying to generate the Webservice classes from the WSDL. As i select the .wsdl file, Right Cick,webservices,Generate Client, i get number of classes. But these classes dont have annotations like '@XmlRootElement','@XmlType'. i want something like. How can i generate class with these annotations?
   @XmlRootElement(name = "XXXSecurity", namespace =     "http://www.xxx.com/XMLSchema/XXXWS/XXXX/v1.0")

Arushi,
I would refer to the online tutorial for JWSDP, which walks you through creating a web service and a Client to the service.

Similar Messages

  • XFIRE - Java class from wsdl and soap request from java class

    Hi,
    Firstly i'm newbie programmer with little experience, so please help me if u can.
    I have found an example on how to create java classes from WSDL under maven:
    (...)<taskdef classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">(...)
    I've created the below java class and I create new object of this class: UploadChunk up = new UploadChunk()
    and up.setSomething(123) etc....
    I have some service for which I have to prepare soap request manually - suitable for my service requests.
    I'm doing it using dom4j to create xml documents and i rewrite values to it from my variable up.
    I wonder if it is possible to do it automatically - I have UploadChunk object and I want do use xFire library somehow to produce ready or almost ready soap request. I want to do it in my code, no some ant or maven task.
    So I propably need a couple line of code, when I have:
    up.setSomething(123);
    //////CONVERTION - CAN U TELL ME HOW TO DO THAT PLEASE? I haven't found the way :( it seems I need your help.
    //////Document result =....
    callService(result,namespace,qname);
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for UploadChunk complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * <complexType name="UploadChunk">
    *   <complexContent>
    *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    *       <sequence>
    *         <element name="SessionID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
    *         <element name="InputFileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
    *         <element name="Buffer" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
    *         <element name="Offset" type="{http://www.w3.org/2001/XMLSchema}long"/>
    *         <element name="BytesRead" type="{http://www.w3.org/2001/XMLSchema}int"/>
    *       </sequence>
    *     </restriction>
    *   </complexContent>
    * </complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "UploadChunk", propOrder = {
        "sessionID",
        "inputFileName",
        "buffer",
        "offset",
        "bytesRead"
    public class UploadChunk {
        @XmlElement(name = "SessionID")
        protected String sessionID;
        @XmlElement(name = "InputFileName")
        protected String inputFileName;
        @XmlElement(name = "Buffer")
        protected byte[] buffer;
        @XmlElement(name = "Offset")
        protected long offset;
        @XmlElement(name = "BytesRead")
        protected int bytesRead;
         * Gets the value of the sessionID property.
         * @return
         *     possible object is
         *     {@link String }
        public String getSessionID() {
            return sessionID;
         * Sets the value of the sessionID property.
         * @param value
         *     allowed object is
         *     {@link String }
        public void setSessionID(String value) {
            this.sessionID = value;
         * Gets the value of the inputFileName property.
         * @return
         *     possible object is
         *     {@link String }
        public String getInputFileName() {
            return inputFileName;
         * Sets the value of the inputFileName property.
         * @param value
         *     allowed object is
         *     {@link String }
        public void setInputFileName(String value) {
            this.inputFileName = value;
         * Gets the value of the buffer property.
         * @return
         *     possible object is
         *     byte[]
        public byte[] getBuffer() {
            return buffer;
         * Sets the value of the buffer property.
         * @param value
         *     allowed object is
         *     byte[]
        public void setBuffer(byte[] value) {
            this.buffer = ((byte[]) value);
         * Gets the value of the offset property.
        public long getOffset() {
            return offset;
         * Sets the value of the offset property.
        public void setOffset(long value) {
            this.offset = value;
         * Gets the value of the bytesRead property.
        public int getBytesRead() {
            return bytesRead;
         * Sets the value of the bytesRead property.
        public void setBytesRead(int value) {
            this.bytesRead = value;
    }

    Hi,
    Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
    Once i will get the WSDL may be i can recall it...
    If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
    As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
    Just For testing:
    Just Use WLS9.x ClientGen task On the Same WSDL
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
    Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM

  • Weblogic 8.1 :: Getting error while generating Client java class from WSDL

    Hi,
    For SOAP webservice, I am using ant script to generate java client from WSDL but getting below error. Please inform if any suggestion to resolve this.
    Also let me know if any other alternative to generate client java code.
    Ant script:
    ===========
    <project name="project" default="generateClientJar">
         <property file="build.property">
         </property>
         <taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask">
              <classpath>
                   <fileset dir="${build_lib.dir}" includes="*.jar" />
              </classpath>
         </taskdef>
         <path id="compile_path">
              <pathelement location="C:/jar/wls-api.jar" />
              <pathelement location="${build_lib.dir}/weblogic.jar" />
              <pathelement location="C:/jar/webserviceclient+ssl.jar" />
              <pathelement location="D:/Java_Src_10.1.0/nextgen_arch/wlpatch/webservices.jar" />
         </path>
         <target name="generateClientJar" depends="generate.client">
    <clientgen wsdl="${wsdl.file}" classpathref="compile_path"
    serviceName="${service.name}"
    packageName= "${client.pkg}"
    clientJar="${ws.client.name}" />
         </target>
         <target name="generate.client" description="Generate web-services client">
              <property name="wsdl.file" value="${sms.wsdl.file}"/>
              <property name="client.pkg" value="${sms.client.pkg}"/>
              <property name="ws.client.name" value="${ws.sms.name}"/>
              <property name="service.name" value="${sms.service.name}"/>
         </target>
    </project>
    build.property file
    ===========
    base=C:/SMS
    lib=E:/jar_path
    sms.wsdl.file=${base}/SMS.wsdl
    sms.client.pkg=com.db.dbdi.gtbportal.sms.client     
    ws.sms.name=${lib}/ws_SmsService_client.jar
    sms.service.name=SMSService
    build_lib.dir = E:/jar_path
    Error log:
    ================
    Buildfile: D:\Java_Src_10.1.0\ant\build_weblogic8.xml
    generate.client:
    generateClientJar:
    [clientgen] Generating client jar for C:/SMS/SMS.wsdl ...
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:15: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
    [clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort.java:21: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
    [clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:20: parameters is already defined in sendSMS(com.db.portal.webservices.sms.SendSMS,com.db.portal.webservices.sms.holders.SendSMSResponseHolder)
    [clientgen] public void sendSMS(com.db.portal.webservices.sms.SendSMS parameters, com.db.portal.webservices.sms.holders.SendSMSResponseHolder parameters)
    [clientgen] ^
    [clientgen] C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSPort_Stub.java:39: parameters is already defined in getStatus(com.db.portal.webservices.sms.GetStatus,com.db.portal.webservices.sms.holders.GetStatusResponseHolder)
    [clientgen] public void getStatus(com.db.portal.webservices.sms.GetStatus parameters, com.db.portal.webservices.sms.holders.GetStatusResponseHolder parameters)
    [clientgen] ^
    [clientgen] Note: C:\Documents and Settings\amitkumar.patel\Local Settings\Temp\ws_SmsService_client.jar699419996\com\db\dbdi\gtbportal\sms\client\SMSService.java uses or overrides a deprecated API.
    [clientgen] Note: Recompile with -deprecation for details.
    [clientgen] 4 errors
    *[*clientgen] java.io.IOException: Compiler failed executable.exec**
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [clientgen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [clientgen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    D:\Java_Src_10.1.0\ant\build_weblogic8.xml:34: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]
    Total time: 1 minute 12 seconds

    Hi,
    Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
    Once i will get the WSDL may be i can recall it...
    If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
    As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
    Just For testing:
    Just Use WLS9.x ClientGen task On the Same WSDL
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
    Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM

  • Help on creating Java Classes from WSDL in JDev 10.1.3

    Hi all,
    I am creating Java Web Service Class in JDev 10.1.3 based on my WSDL file, but I am getting a JAVA class for each Element in my WSDL, and each class has its own methods. But what I need is to have Only ONE Class with the Elements wrapped as methods in this class (this is the result I had when I was using JDev 9.0.2 but I had Datatype conversion issue, so now I am trying to do the same with JDev 10.1.3)
    My WSDL file is as follows:
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="Connect">
    <s:complexType />
    </s:element>
    - <s:element name="ConnectResponse">
    <s:complexType />
    </s:element>
    - <s:element name="Disconnect">
    <s:complexType />
    </s:element>
    - <s:element name="DisconnectResponse">
    <s:complexType />
    </s:element>
    - <s:element name="GetPIValue">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="piTAG" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="piTS" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetPIValueResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="GetPIValueResult" type="s:double" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="double" type="s:double" />
    </s:schema>
    When creating the JAVA Classes in JDev, I am getting the following:
    Connect.java
    ConnectResponse.java
    Disconnect.java
    DisconnectResponse.java
    GetPIValue.java
    GetPIValueResponse.java
    But what I actually need is to have a Method GetPiValue that should take in 2 paramters as strings and return a Double Value. Now the GetPIValue looks like this:
    package ConnecttoPI;
    public class GetPIValue implements java.io.Serializable {
    protected java.lang.String piTAG;
    protected java.lang.String piTS;
    public GetPIValue() {
    public java.lang.String getPiTAG() {
    return piTAG;
    public void setPiTAG(java.lang.String piTAG) {
    this.piTAG = piTAG;
    public java.lang.String getPiTS() {
    return piTS;
    public void setPiTS(java.lang.String piTS) {
    this.piTS = piTS;
    With this class Generated, how can I call the Class Methods and get the response?
    Do I have to change the way/settings when I am creating the Java Classes using the Wizard? Why is the Wrapper wrapping the WSDL in multiple classes?
    Thanks to anyone's help in advance.
    Regards,
    Baz

    An update to my previous Post:
    After creating the Web Service proxy based on my WSDL file, I tested the Web Service Call from the Java Class (Service1SoapClient) and it is properly Calling the Web Service passing in String Paramters (2 Strings) and returning a Double Datatype. The Class is as below:
    package project1.proxy;
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class Service1SoapClient {
    private project1.proxy.Service1Soap _port;
    public Service1SoapClient() throws Exception {
    ServiceFactory factory = ServiceFactory.newInstance();
    _port = ((project1.proxy.Service1)factory.loadService(project1.proxy.Service1.class)).getService1Soap();
    * @param args
    public static void main(String[] args) {
    try {
    project1.proxy.Service1SoapClient myPort = new project1.proxy.Service1SoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    double testResponse = myPort.getPIValue("A3LI004.pv", "9/9/2007 9:20 am");
    System.out.println("response from PI " + testResponse);
    } catch (Exception ex) {
    ex.printStackTrace();
    * delegate all operations to the underlying implementation class.
    Connect to PI Server
    public void connect() throws java.rmi.RemoteException {
    _port.connect();
    Disconnect from PI Server
    public void disconnect() throws java.rmi.RemoteException {
    _port.disconnect();
    Retrieve PI Values
    public double getPIValue(String piTAG, String piTS) throws java.rmi.RemoteException {
    return _port.getPIValue(piTAG, piTS);
    Now I am trying to IMPORT this class into Oracle Forms, but I am getting the following Error:
    Importing Class project1.proxy.Service1SoapClient...
    Exception occurred: java.lang.NoClassDefFoundError: oracle/webservices/transport/ClientTransport
    First, is this the Correct Class that should be Imported into Oracle Forms in order to Trigger the Java Class to Call the Web Service? Why am I getting this Error? I have read that this could be because of my CLASSPATH environment variable or the J2SE version compiling the java class???
    Can someone help me to IMPORT this Java Class properly into Oracle Forms and Call the Web Service?
    Many thanks for your help,
    Baz

  • Webservice Proxy from WSDL creates faulty XSLT

    Hi,
    I have a WSDL which generates a webservice Proxy in SE80 just fine.
    When I run the webservice the request is formed properly and I get a response from the webservice. The problem is that the generated XSLT seems to be wrong. When I use the testing tool of the proxy class I can see "original response" and "response".
    "response" was parsed by the XSLT I guess which gives me an empty XML-structure while the "original response" looks good.
    How can I fix this? The XSLT is quite complicated and Im not sure what I can do.
    Is it a WSDL-problem?

    Did you solve this ? I seem to have a similar problem after changing the weservice defintion I have a repsonse and Original response in the test tab. The Original response is filled and the response stays empty.
    However when I call the webservice in an ABAP program the response is empty.
    Addition.
    I have found the cause of this and will mention it here for anyone who has the same problem.
    In my case the reason for this behavior was a data element that was generated as type XSDDATETIME_Z. Once I changed it to XSDDATETIME_ISO everything was working OK again.

  • Getting a Java class from WSDL file

    Hello,
    I have a WSDL file at http://gis13.exp.sis.pitt.edu:8080/axis/services/BufferProcessorService?wsdlI would like to know how to get a java class file from the WSDL posted here.
    For instance, I have a class entitled InsightPoint. How do I get this from the WSDL to a java class in order to use it in my web service?
    Cheers,
    Chris

    Setareh,
    Here is an excerpt from the javadoc for ExceptionInInitializer:
    Signals that an unexpected exception has occurred in a static initializer
    or the initializer for a static variable.
    Before running your function in SQL*Plus, do the following:
    set serveroutput on size 1000000
    exec DBMS_JAVA.SET_OUTPUT(1000000)Then you may get more information. If you don't then you may find more details in the Oracle log files in the "bdump" destination. The following query will tell you where that is:
    select VALUE
      from V$PARAMETER
    where NAME = 'background_dump_dest'Then, if you are still having trouble, post the entire error message and stack trace, as well as your java code.
    Good Luck,
    Avi.

  • Create webservice endpoint from wsdl

    Hi,
    I have WSDL file. Using Jdeveloper, what are steps to create Web service provider endpoint from this WSDL file ??
    thx
    pp

    Hi,
    your question is not clear. Please clarify in detail what you are doing.
    Do you want to create a proxy for this service ?
    If so, check this :
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services003.htm
    To test the web service from browser , just copy the end point in wsdl in browser..
    HTH ,
    Ketan

  • Webservice migration from 8.x to 12c

    Hi all,
    I have a question regarding the Webservice migration from 8.x to 12c.
    In the 8.x, we use ant task wsdl2service to generate Webservice from WSDL, and 12c that ant task seems no longer exist. We have to use wsdlc instead. But there is a problem:
    Because of we generate Webservice interface from WSDL, and the WSDL defined binding SOAP header inside the input tag, our old wsdl file is RPC document literal wrapped style. Something like:
    <operation name="getData">
      <soap:operation soapAction="" style="document" />
      <input>
      <soap:header message="tns:UserAuthMessage" part="user-Auth-header" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
    <portType name="AppPort">
      <operation name="getData">
      <input message="tns:GetDataRequest" />
      <output message="tns:GetDataResponse" />
      </operation>
    </portType>
    <message name="UserAuthMessage">
      <part name="user-auth-header" element="wsapi:user-auth-header" />
    </message>
    <message name="GetDataRequest">
      <part name="get-data-argument" element="wsapi:get-data-argument" />
    </message>
    <message name="GetDataResponse">
      <part name="get-data-response-argument" element="wsapi:get-data-response-argument" />
    </message>
    <xsd:element name="user-auth-header" type="wsapi:user-auth-header-wrapper" />
    <xsd:complexType name="user-auth-header-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="get-data-argument" type="wsapi:get-data-argument-wrapper" />
    <xsd:complexType name="get-data-argument-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="get-data-response-argument" type="wsapi:get-data-response-argument-wrapper" />
    <xsd:complexType name="get-data-response-argument-wrapper">
      <xsd:sequence>
      </xsd:sequence>
    </xsd:complexType>
    In Weblogic 8.x, the generation would include that soap header as the input premeter, but in 11g, or newer 12c, the wsdlc no longer generate it as input premeter, which impact client, our client have to re-generate all client jar again, because the interface complete changed.
    Just want to know, is there any way to generate soap header for auth as the same as we did in Weblogic 8.x ? Or anyway can don't need re-generate client jar and keep the old WSDL file.
    Thank you.

    The WebLogic Server 8.1 Web services stack has been removed in the WebLogic Server 12.1.1 release. Therefore, WebLogic Server 8.1 Web services applications will no longer work. Oracle recommends that you upgrade such applications to the WebLogic JAX-RPC or JAX-WS stacks, per the instructions in "Upgrading an 8.1 WebLogic Web Service to 12.1.x
    Thanks,
    Vijaya

  • JAXWS Webservice from WSDL - Compilation errors in schemas

    Hello,
    I am creating a webservice (Java EE1.5 JAX-WS ) from wsdl .
    When I build the artifacts in JDeveloper, I get few compilation errors related to schemas.
    Error(5412,31): com.service.gsrl.FingEvntType.FINGEVNTENTR.ROLEPLYR is already defined in com.service.gsrl.FingEvntType.FINGEVNTENTR
    •     GSRL_Vers7_Rls21.xsd and DALGSRLService.wsdl both define a ROLE_PLYR and FINGEVNTENTR element.
    There could be a conflict when mapping this to Java class names.
    Not sure if there is a way around in JAX-WS and if this is a bug.
    Any one faced this ort of issue? How to resolve this??
    Appreciate your help.
    Thanks,
    Ram

    There are few problems with your WSDL
    1. targetNamespace in schema section is missing trailing '/', it should be 'http://10.25.98.19:8080/dart/'
    2. in portType section 'fault' element is missing 'wsdl:' prefix, it should be '<wsdl:fault>'
    3. in binding section type is wrong, it should be 'tns:DartServicesImpl'
    4. Also fault element is wrongly defined in binding section it should be
    <wsdl:fault name="DARTException">
    <soap:fault name="DARTException" use="literal"/>
    </wsdl:fault>
    Hope this helps.

  • How to generate class files from wsdl

    I have upgraded weblogic from 9.1 to 10.3.5 and java from 1.5.0_06 to 1.6.0_27
    Do I have to regenerate my webservices classes like the stub ,impl and service class.
    also there are a few changes in the wsdl .
    Please help me how to generate classfiles from wsdl ?
    Please help.
    Thanks,

    Did you ever get an answer to this question? Did you proceed forward with the use of WSIF or did you select an alternative.
    Ernie :)

  • Problem to generate classes from a gsoap server's wsdl with wsimport

    Hello,
    I trie for a long time to generate my client classes from a wsdl file with wsimport. The wsdl file was generated by gsoap.
    Here, the wsdl file :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="form"
    targetNamespace="https://enterprise-name-masked.com/form.wsdl"
    xmlns:tns="https://enterprise-name-masked.com/form.wsdl"
    xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
    xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:generic="generic"
    xmlns:xop="http://www.w3.org/2004/08/xop/include"
    xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
    xmlns:form="form"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="generic"
      xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
      xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:generic="generic"
      xmlns:xop="http://www.w3.org/2004/08/xop/include"
      xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
      xmlns:form="form"
      xmlns="http://www.w3.org/2001/XMLSchema"
      elementFormDefault="unqualified"
      attributeFormDefault="unqualified">
      <import namespace="http://www.w3.org/2004/08/xop/include"/>
      <import namespace="http://www.w3.org/2004/11/xmlmime"/>
      <import namespace="http://www.w3.org/2003/05/soap-encoding"/>
      <simpleType name="service">
       <restriction base="xsd:string">
        <enumeration value="service-none"/><!-- enum const = 0 -->
        <enumeration value="service-ident"/><!-- enum const = 1 -->
        <enumeration value="service-pool"/><!-- enum const = 2 -->
        <enumeration value="service-hwr"/><!-- enum const = 3 -->
        <enumeration value="service-form"/><!-- enum const = 4 -->
        <enumeration value="service-document"/><!-- enum const = 5 -->
       </restriction>
      </simpleType>
      <simpleType name="result-code">
       <restriction base="xsd:string">
        <enumeration value="ok"/><!-- enum const = 0 -->
        <enumeration value="already-exists"/><!-- enum const = 1 -->
        <enumeration value="not-found"/><!-- enum const = 2 -->
        <enumeration value="cant-connect"/><!-- enum const = 3 -->
        <enumeration value="exception"/><!-- enum const = 4 -->
        <enumeration value="bad-conversion"/><!-- enum const = 5 -->
        <enumeration value="bad-values"/><!-- enum const = 6 -->
        <enumeration value="session-not-found"/><!-- enum const = 7 -->
        <enumeration value="initialization-failed"/><!-- enum const = 8 -->
       </restriction>
      </simpleType>
      <complexType name="result">
       <sequence>
         <element name="code" type="generic:result-code" minOccurs="1" maxOccurs="1"/>
         <element name="details" type="xsd:string" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
    </schema>
    <schema targetNamespace="form"
      xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
      xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:generic="generic"
      xmlns:xop="http://www.w3.org/2004/08/xop/include"
      xmlns:xmime4="http://www.w3.org/2004/11/xmlmime"
      xmlns:form="form"
      xmlns="http://www.w3.org/2001/XMLSchema"
      elementFormDefault="unqualified"
      attributeFormDefault="unqualified">
      <import namespace="http://www.w3.org/2004/08/xop/include"/>
      <import namespace="http://www.w3.org/2004/11/xmlmime"/>
      <import namespace="http://www.w3.org/2003/05/soap-encoding"/>
      <simpleType name="area-type">
       <restriction base="xsd:string">
        <enumeration value="area-type-text"/><!-- enum const = 0 -->
        <enumeration value="area-type-numeric"/><!-- enum const = 1 -->
        <enumeration value="area-type-date"/><!-- enum const = 2 -->
        <enumeration value="area-type-checkbox"/><!-- enum const = 3 -->
        <enumeration value="area-type-slider"/><!-- enum const = 4 -->
        <enumeration value="area-type-draw"/><!-- enum const = 5 -->
        <enumeration value="area-type-identifier"/><!-- enum const = 6 -->
       </restriction>
      </simpleType>
      <simpleType name="format">
       <restriction base="xsd:string">
        <enumeration value="A5"/><!-- enum const = 0 -->
        <enumeration value="A4"/><!-- enum const = 1 -->
        <enumeration value="A3"/><!-- enum const = 2 -->
        <enumeration value="A2"/><!-- enum const = 3 -->
        <enumeration value="A1"/><!-- enum const = 4 -->
        <enumeration value="A0"/><!-- enum const = 5 -->
       </restriction>
      </simpleType>
      <complexType name="area">
       <sequence>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="x" type="xsd:double" minOccurs="1" maxOccurs="1"/>
         <element name="y" type="xsd:double" minOccurs="1" maxOccurs="1"/>
         <element name="width" type="xsd:double" minOccurs="1" maxOccurs="1"/>
         <element name="height" type="xsd:double" minOccurs="1" maxOccurs="1"/>
         <element name="comments" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="area-type" type="form:area-type" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="area-with-string">
       <sequence>
         <element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
         <element name="string" type="xsd:string" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="area-with-integer">
       <sequence>
         <element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
         <element name="integer" type="xsd:int" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="area-with-range">
       <sequence>
         <element name="area" type="form:area" minOccurs="1" maxOccurs="1"/>
         <element name="lower" type="xsd:double" minOccurs="1" maxOccurs="1"/>
         <element name="upper" type="xsd:double" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="areas">
       <sequence>
         <element name="areas" type="form:area" minOccurs="0" maxOccurs="unbounded"/>
         <element name="string-areas" type="form:area-with-string" minOccurs="0" maxOccurs="unbounded"/>
         <element name="integer-areas" type="form:area-with-integer" minOccurs="0" maxOccurs="unbounded"/>
         <element name="range-areas" type="form:area-with-range" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
      </complexType>
      <complexType name="group">
       <sequence>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="areas" type="form:areas" minOccurs="1" maxOccurs="1"/>
         <element name="groups" type="form:group" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
      </complexType>
      <complexType name="background">
       <sequence>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="md5" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="mime" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="num-page" type="xsd:int" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="pattern-type">
       <sequence>
         <element name="print-once" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
         <element name="has-identifier" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="page">
       <sequence>
         <element name="num-page" type="xsd:int" minOccurs="1" maxOccurs="1"/>
         <element name="format" type="form:format" minOccurs="1" maxOccurs="1"/>
         <element name="is-portrait" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
         <element name="background" type="form:background" minOccurs="1" maxOccurs="1"/>
         <element name="areas" type="form:areas" minOccurs="1" maxOccurs="1"/>
         <element name="groups" type="form:group" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
      </complexType>
      <complexType name="document-new">
       <sequence>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="pattern-type" type="form:pattern-type" minOccurs="1" maxOccurs="1"/>
         <element name="form-pages" type="form:page" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
      </complexType>
      <complexType name="document">
       <sequence>
         <element name="uuid" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="pattern-type" type="form:pattern-type" minOccurs="1" maxOccurs="1"/>
         <element name="form-pages" type="form:page" minOccurs="0" maxOccurs="unbounded"/>
       </sequence>
      </complexType>
      <complexType name="document-info">
       <sequence>
         <element name="uuid" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
         <element name="page-count" type="xsd:int" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <complexType name="Data">
       <sequence>
         <element ref="xop:Include" minOccurs="1" maxOccurs="1"/>
       </sequence>
         <attribute ref="xmime4:contentType" use="optional"/>
      </complexType>
      <complexType name="login-response">
       <sequence>
         <element name="result" type="generic:result" minOccurs="1" maxOccurs="1"/>
         <element name="session" type="xsd:string" minOccurs="1" maxOccurs="1"/>
       </sequence>
      </complexType>
      <!-- operation request element -->
      <element name="login" type="xsd:string"/>
      <!-- operation request element -->
      <element name="password" type="xsd:string"/>
      <!-- operation response element -->
      <element name="result" type="generic:result"/>
      <!-- operation response element -->
      <element name="uuid" type="xsd:string"/>
      <!-- operation request element -->
      <element name="session" type="xsd:string"/>
      <!-- operation request element -->
      <element name="aform" type="form:document-new"/>
      <!-- operation response element -->
      <element name="form" type="form:document"/>
      <!-- operation request element -->
      <element name="md5" type="xsd:string"/>
      <!-- operation response element -->
      <element name="data" type="form:Data"/>
      <!-- operation response element -->
      <element name="exists" type="xsd:boolean"/>
      <!-- operation response element -->
      <element name="backgrounds" type="form:background"/>
      <!-- operation response element -->
      <element name="forms" type="form:document"/>
      <!-- operation response element -->
      <element name="forms-info" type="form:document-info"/>
    </schema>
    </types>
    <message name="login">
    <part name="login" element="form:login"/>
    <part name="password" element="form:password"/>
    </message>
    <message name="uuid-response">
    <part name="result" element="form:result"/>
    <part name="uuid" element="form:uuid"/>
    </message>
    <message name="quit">
    <part name="session" element="form:session"/>
    </message>
    <message name="response">
    <part name="result" element="form:result"/>
    </message>
    <message name="new-form">
    <part name="session" element="form:session"/>
    <part name="aform" element="form:aform"/>
    </message>
    <message name="free-form">
    <part name="session" element="form:session"/>
    <part name="uuid" element="form:uuid"/>
    </message>
    <message name="get-form">
    <part name="session" element="form:session"/>
    <part name="uuid" element="form:uuid"/>
    </message>
    <message name="document-response">
    <part name="result" element="form:result"/>
    <part name="form" element="form:form"/>
    </message>
    <message name="get-file">
    <part name="session" element="form:session"/>
    <part name="md5" element="form:md5"/>
    </message>
    <message name="data-response">
    <part name="result" element="form:result"/>
    <part name="data" element="form:data"/>
    </message>
    <message name="set-file">
    <part name="session" element="form:session"/>
    <part name="md5" element="form:md5"/>
    <part name="data" element="form:data"/>
    </message>
    <message name="file-exists">
    <part name="session" element="form:session"/>
    <part name="md5" element="form:md5"/>
    </message>
    <message name="exists-response">
    <part name="result" element="form:result"/>
    <part name="exists" element="form:exists"/>
    </message>
    <message name="list-form-backgrounds">
    <part name="session" element="form:session"/>
    <part name="uuid" element="form:uuid"/>
    </message>
    <message name="list-backgrounds-response">
    <part name="result" element="form:result"/>
    <part name="backgrounds" element="form:backgrounds"/>
    </message>
    <message name="list-forms">
    <part name="session" element="form:session"/>
    </message>
    <message name="list-forms-response">
    <part name="result" element="form:result"/>
    <part name="forms" element="form:forms"/>
    </message>
    <message name="list-forms-info">
    <part name="session" element="form:session"/>
    </message>
    <message name="list-forms-info-response">
    <part name="result" element="form:result"/>
    <part name="forms-info" element="form:forms-info"/>
    </message>
    <portType name="formPortType">
    <operation name="login">
      <documentation>Service definition of function form__login</documentation>
      <input message="tns:login"/>
      <output message="tns:uuid-response"/>
    </operation>
    <operation name="quit">
      <documentation>Service definition of function form__quit</documentation>
      <input message="tns:quit"/>
      <output message="tns:response"/>
    </operation>
    <operation name="new-form">
      <documentation>Service definition of function form__new_form</documentation>
      <input message="tns:new-form"/>
      <output message="tns:uuid-response"/>
    </operation>
    <operation name="free-form">
      <documentation>Service definition of function form__free_form</documentation>
      <input message="tns:free-form"/>
      <output message="tns:response"/>
    </operation>
    <operation name="get-form">
      <documentation>Service definition of function form__get_form</documentation>
      <input message="tns:get-form"/>
      <output message="tns:document-response"/>
    </operation>
    <operation name="get-file">
      <documentation>Service definition of function form__get_file</documentation>
      <input message="tns:get-file"/>
      <output message="tns:data-response"/>
    </operation>
    <operation name="set-file">
      <documentation>Service definition of function form__set_file</documentation>
      <input message="tns:set-file"/>
      <output message="tns:response"/>
    </operation>
    <operation name="file-exists">
      <documentation>Service definition of function form__file_exists</documentation>
      <input message="tns:file-exists"/>
      <output message="tns:exists-response"/>
    </operation>
    <operation name="list-form-backgrounds">
      <documentation>Service definition of function form__list_form_backgrounds</documentation>
      <input message="tns:list-form-backgrounds"/>
      <output message="tns:list-backgrounds-response"/>
    </operation>
    <operation name="list-forms">
      <documentation>Service definition of function form__list_forms</documentation>
      <input message="tns:list-forms"/>
      <output message="tns:list-forms-response"/>
    </operation>
    <operation name="list-forms-info">
      <documentation>Service definition of function form__list_forms_info</documentation>
      <input message="tns:list-forms-info"/>
      <output message="tns:list-forms-info-response"/>
    </operation>
    </portType>
    <binding name="form" type="tns:formPortType">
    <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="login">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="quit">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="new-form">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="free-form">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="get-form">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="get-file">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="set-file">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="file-exists">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="list-form-backgrounds">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="list-forms">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    <operation name="list-forms-info">
      <SOAP:operation style="rpc"/>
      <input>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </input>
      <output>
         <SOAP:body parts="parameters" use="literal" namespace="form"/>
      </output>
    </operation>
    </binding>
    <service name="form">
    <documentation>gSOAP 2.7.10 generated service definition</documentation>
    <port name="form" binding="tns:form">
      <SOAP:address location="https://enterprise-name-masked.com/cgi-bin/form.fcgi"/>
    </port>
    </service>
    </definitions>And here, you can find the generated errors :
    wsimport -s Sources -b http://www.w3.org/2004/08/xop/includ
    e -b http://www.w3.org/2004/11/xmlmime form.wsdl
    parsing WSDL...
    [WARNING] src-resolve: Cannot resolve the name 'xmime4:contentType' to a(n) 'attribute declaration' component.
      line 215 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
    [WARNING] s4s-elt-invalid-content.1: The content of 'Data' is invalid.  Element 'attribute' is invalid, misplaced, or occurs too often.
      line 215 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
    [WARNING] src-resolve.4.2: Error resolving component 'generic:result'. It was detected that 'generic:result' is in namespace 'generic', but components
    from this namespace are not referenceable from schema document 'file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP
    /WSImport/Test/Form/form.wsdl#types?schema2'. If this is the incorrect namespace, perhaps the prefix of 'generic:result' needs to be changed. If this
    is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Re
    cherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2'.
      line 230 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
    [WARNING] src-resolve: Cannot resolve the name 'xop:Include' to a(n) 'element declaration' component.
      line 213 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl#types?schema2
    [WARNING] Ignoring SOAP port "form": it uses non-standard SOAP 1.2 binding.
    You must specify the "-extension" option to use this binding.
      line 533 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl
    [WARNING] Service "form" does not contain any usable ports. try running wsimport with -extension switch.
      line 531 of file:/C:/Documents%20and%20Settings/Hopi_1/Mes%20documents/Alexandre/Recherche%20SOAP/WSImport/Test/Form/form.wsdl
    generating code...
    compiling code...Could you tell me how to correctly generate my classes in this case ?
    Thank you.
    Edited by: morphet on May 30, 2008 6:12 AM

    Alchemista,
    Not sure if you were able to solve your problem..but I was trying to do exactly what you were trying to do.. access a datasource from a simple Java client. However, you cannot do so by simply writing the Java class and running it. The simple Java client has to be deployed as a J2EE Application Client. The following tutorial shows how to create a J2EE Application Client using the non-J2EE Java class you have written.
    http://developer.java.sun.com/developer/technicalArticles/J2EE/appclient
    The article talks about accessing EJBs from a J2EE App. Client.. but since you only want to access the DataSource, just skip all the screens until it asks you to register the JNDI DataSource resources...
    Let me know if you have any questions. You can email me at [email protected]
    I hope this helps.

  • Error in creating Adaptive Webservice model from local wsdl file

    hi ,
         I am working on Netweaver7.1 CE. I am creating adaptive webservice model from local wsdl file which i have saved at location D:/subordinate WSDL WSDL By Raju/Manager.wsdl on my pc. I am able to bind context , build and deploy. But when i am running that webdynpro project m getting following error
      java.io.FileNotFoundException: /D:/subordinate WSDL WSDL By Raju/Manager.wsdl (No such file or directory)
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session ApplicationSession(name=encryptappl.EncryptAppl, id=25f1f2e1a96411dd9d240050569630a5). The causing exception is nested. RID=25ef0cb0a96411dd91ce0050569630a5
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:650)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:225)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'file:/D:/subordinate WSDL By Raju/Manager.wsdl' and service factory configuration 'null'
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1034)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
      at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
      at com.apl.model.manager.Manager.<init>(Manager.java:44)
      at encryptappl.comp.EncryptApplComp.wdDoInit(EncryptApplComp.java:112)
      at encryptappl.comp.wdp.InternalEncryptApplComp.wdDoInit(InternalEncryptApplComp.java:126)
      at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
      at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:230)
      at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:249)
      at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:209)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:513)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1228)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:150)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:75)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:233)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:647)
      ... 41 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. [Problem with WSDL file parsing. See nested message.]
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:247)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:131)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:124)
      at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
      ... 67 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
      at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:585)
      at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:341)
      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.loadProxy(DGenericServiceImpl.java:130)
      at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:65)
      at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:240)
      ... 70 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: /D:/subordinate WSDL By Raju/Manager.wsdl (No such file or directory)
      at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
      at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
      at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
      at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:579)
      ... 74 more
    Caused by: java.io.FileNotFoundException: /D:/subordinate WSDL By Raju/Manager.wsdl (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
      at java.net.URL.openStream(URL.java:1007)
      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
      at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:282)
      at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:293)
      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
      at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
      at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:132)
      ... 77 more

    hi ,
    i tried to create model using url in address tab , but i am getting  error. This webservice is having authentication ,is this error bcoz of authentication????
    I am posting error below
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent' and service factory configuration '{DynamicProxy.ClassPath=D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.tc.cmi_10.0.0.080222130515/lib/com.sap.tc.cmi_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.exception_2.0.0.080222130515/lib/sap.comtcexceptionimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcblbasewebservices_libimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbliqlibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbljkernel_bootimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbljkernel_utilimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservices_apiimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservices_libimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservicesimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwssecclientimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwsseclibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwssecsrtlibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/com.sap.dictionary.runtime.mod_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/com.sap.dictionary.runtime.mod_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_mdi_util_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_mdi_util_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_runtime_mdi_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_runtime_mdi_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.services_10.0.0.080118105715/lib/com.sap.dictionary.services_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0.080222130515/lib/sap.comtcloggingjavaimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0.080222130515/lib/sap.comtcsapxmltoolkitsapxmltoolkit.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/activation.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jaxm-api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jaxrpc-api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jnet.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jsse.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/mail.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/saaj-api.jar;, DynamicProxy.HTTPPassword=, DynamicProxy.HTTPUserName=, DynamicProxy.Javac.path=D:\Program Files\java\jdk1.5.0_12\bin\javac, DynamicProxy.TempDir=C:\DOCUME1\kavita\LOCALS~1\Temp\}'
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
         at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSRename.loadNameSpacesAndModelClasses(PageAWSRename.java:996)
         at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSLocalFileClient$5$1.run(PageAWSLocalFileClient.java:283)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
         at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSLocalFileClient.getNextPage(PageAWSLocalFileClient.java:299)
         at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
         at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.nextPressed(NewModelWizardDialog.java:66)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
         at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.buttonPressed(NewModelWizardDialog.java:88)
         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
         at org.eclipse.jface.window.Window.open(Window.java:796)
         at com.sap.ide.cmi.core.internal.services.CreationServiceUI.createModel(CreationServiceUI.java:76)
         at com.sap.ide.cmi.core.browser.actions.CreateModelAction.run(CreateModelAction.java:60)
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionSingleAction.run(BaseSelectionSingleAction.java:39)
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.runInternal(BaseSelectionAction.java:78)
         at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.run(BaseSelectionAction.java:70)
         at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. [Problem with WSDL file parsing. See nested message.]
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:247)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:91)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:84)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
         ... 60 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:585)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:341)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.loadProxy(DGenericServiceImpl.java:130)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:65)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:240)
         ... 63 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
         at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
         at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
         at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:579)
         ... 67 more
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row=3, col=96) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:130)
         ... 70 more
    Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
         at com.sap.engine.lib.xml.parser.XMLParser.scanAttValue(XMLParser.java:1402)
         at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1576)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1719)
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2852)
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
         at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:282)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:293)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         ... 72 more

  • Thread: 11gPS2 : Error creating model from wsdl while creating a WebService

    Hi ,
    I am trying to create a Web Service Proxy using Jdev.I am using a WSDL file located in my local system for the same. I choose all default options but the proxy is not created due to the following error -
    "Error creating model from wsdl <wsdl_name> : A class/interface with the same name xyz already in use"
    https://picasaweb.google.com/sudipto.desmukh/ADFIssues?authkey=Gv1sRgCJeF2bWcoM_ZBg#5610073699826050514
    I found a few threads which had similar issues but the solutions didnot work for me -
    1)Error creating model from wsdl (Create separate model projects for proxies , since in the existing model project I already had generated files using create WebServiceData control wizard)
    2)Error when creating Web Service Proxy (there are no duplicate variables or schemas in my wsdl)
    Can someone please suggest what might be wrong ?
    Thanks

    Thanks for your reply Vishal.Pasting the wsdl -
    <definitions xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" targetNamespace="urn:schemas-iwaysoftware-com:iwse" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:schemas-iwaysoftware-com:iwse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"><types><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:schemas-iwaysoftware-com:iwse" elementFormDefault="qualified"><xs:element name="ibsinfo"><xs:complexType><xs:sequence><xs:element name="service" type="xs:string"/><xs:element name="method" type="xs:string"/><xs:element name="license" type="xs:string"/><xs:element name="disposition" type="xs:string" minOccurs="0"/><xs:element name="Username" type="xs:string" minOccurs="0"/><xs:element name="Password" type="xs:string" minOccurs="0"/><xs:element name="language" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="adapterexception"><xs:complexType><xs:sequence><xs:element name="error" type="xs:string"/></xs:sequence></xs:complexType></xs:element>
    </xs:schema><xs:schema xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:all><xs:element name="BELEGTYP" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="COMWA" type="rfc:VBCO6" minOccurs="0"/><xs:element name="I_BSTKD" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="35"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="I_VBELN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="N_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="V_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element></xs:sequence></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBCO6"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ETENR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="4"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
    </xs:schema><xs:schema xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOWResponse"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW.Response"><xs:complexType><xs:all><xs:element name="BELEGTYP_BACK" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
    </xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element>
    </xs:sequence><xs:attribute name="cid" use="required" type="xs:string"/></xs:complexType>
    </xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
    </xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
    </xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType></xs:schema>
    </types><message name="ZBAPI_SALES_DOC_FLOWIn"><part element="m1:ZBAPI_SALES_DOC_FLOW" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWOut"><part element="m11:ZBAPI_SALES_DOC_FLOWResponse" name="parameters"/>
    </message><message name="ZBAPI_SALES_DOC_FLOWHeader"><part element="tns:ibsinfo" name="header"/>
    </message><message name="AdapterException"><part element="tns:adapterexception" name="fault"/>
    </message><portType name="ZBAPI_SALES_DOC_FLOWSoap"><operation name="ZBAPI_SALES_DOC_FLOW"><documentation/><input message="tns:ZBAPI_SALES_DOC_FLOWIn"/><output message="tns:ZBAPI_SALES_DOC_FLOWOut"/><fault message="tns:AdapterException" name="AdapterExceptionFault"/></operation>
    </portType><binding name="ZBAPI_SALES_DOC_FLOWSoap" type="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="ZBAPI_SALES_DOC_FLOW"><soap:operation style="document" soapAction="ZBAPI_SALES_DOC_FLOW.ZBAPI_SALES_DOC_FLOWRequest@production@@"/><input><soap:body use="literal"/><soap:header message="tns:ZBAPI_SALES_DOC_FLOWHeader" use="literal" part="header"/>
    </input><output><soap:body use="literal"/>
    </output><fault name="AdapterExceptionFault"><soap:fault name="AdapterExceptionFault" use="literal"/></fault></operation>
    </binding><service name="ZBAPI_SALES_DOC_FLOW"><documentation/><port name="ZBAPI_SALES_DOC_FLOWSoap1" binding="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:address location="http://f4ofmsoaa01d.dev.life:8001/ibse/IBSEServlet/XDSOAPRouter"/></port></service></definitions>

  • WebService generation from existing WSDL file :(

    Hello,
    I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
    Here are my JDeveloper coordinates to give you the chance to follow up:
    - Studio Edition Version 11.1.1.1.0
    - Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Running JDeveloper in MacOSX:
    - Version 10.5.8
    - Build 9L31a
    Cheers,
    Chris
    *** ERROR STACK TRACE ***
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:637)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
         at $Proxy46.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
         ... 8 more
    Caused by: java.lang.NumberFormatException: For input string: "1 "
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
         at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
         at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
         at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
         at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
         ... 18 more

    Hello puthanampatti,
    that was exactly what I tried right now ;-)
    I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
    When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
    Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: !NLS Some Name
    Invoking command:
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command:
    Invoking command: New XML Schema
    Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
    Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Clear[ from oracle.ide.log.MessagePage ]
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
    Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.NullPointerException
      com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
      com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
      jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
      jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
      jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
      o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
      j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      j.a.Component.processMouseEvent(Component.java:6304)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
      j.a.Dialog$1.run(Dialog.java:1051)
      j.a.Dialog$3.run(Dialog.java:1103)
      j.security.AccessController.doPrivileged(Native Method)
      j.a.Dialog.show(Dialog.java:1101)
      j.a.Component.show(Component.java:1516)
      j.a.Component.setVisible(Component.java:1468)
      j.a.Window.setVisible(Window.java:841)
      j.a.Dialog.setVisible(Dialog.java:991)
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
      o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
      o.i.wizard.WizardManager$1.run(WizardManager.java:365)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager$2.run(WizardManager.java:373)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
      o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
      o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
      o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
      o.i.controller.IdeAction.performAction(IdeAction.java:524)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.AbstractButton.doClick(AbstractButton.java:389)
      jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
      com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
      jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
      j.a.Component.processMouseEvent(Component.java:6301)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
    Cheers,
    chris
    Edited by: Christoph E on Oct 19, 2009 4:30 PM

  • When to use Java Web Service from WSDL, Webservice proxy, Web Service DataControl -- JDeveloper 11.1.1.7

    Hi Experts!
    I am having confusion among these 3 services provided in Oracle ADF. When to use and what service needs to be used?
    Once we generate Webservice WSDL. With the WSDL we have 3  options in Jdeveloper to invoke this service.
    1. Java Web Service From WSDL.
    2. Web Service proxy,
    3. Web Service Data Control.
    Can anyone give us some brief description of these 3 services when do we need to use and which service is to be used for which scenario ?
    Please give me your valuable inputs.
    Thanks & Regards,
    Guravaiah Tata.

    Hi,
    Can you share your WSDL.
    You can send it to me at [email protected]
    -Vishal

Maybe you are looking for

  • Specifying Case-Insensitive Element Names in XML Schema

    Hope someone knows this! Is it possible to define an an XML Schema Definition so that Element names in the target XML File can be case insensitive. At the moment my Parser throws an error if the element names in the XML file do not have the exact sam

  • FTE report tab is missing in the MSS Role

    Hi All, We have installed BP's of MSS in the portal and it is working fine.but some users are facing the below issue. User is unable to see FTE report tab in the MSS Role in the portal inspite of having all the roles related to the MSS and BI system.

  • What is the best way to create a read more/collapse text box on the homepage of a site?

    What is the best way to create a read more/collapse text box on the homepage of a site?

  • Splitting "parts" of Photoshop Elements on two monitors

    I have two monitors, and would like to set up the following configuration: One monitor for full-screen editing of images, and one screen for the GUI's menus, buttons and tools. I have read a suggestion of moving each individual "panel" over to the se

  • Updating to 9.2.1

    Hello mac people, updating my blue imac 350 mhz from 9.1 to 9.2.1 and confused about the updates..Do i choose international 9.2.1 or North American 9.2.1 ? I live in North America but just want to make sure i'm downloading the right update..Does it e