Error referencing from WSDL to an XSD in another project in OEPE.

Hi,
I have 2 OSB projects in my workspace. 1 project contains my CDM files, the other one is a project which makes use of the CDM. No problem you would think but it seems that OEPE can't handle any more then 2 ../ to go up in my filetree?!?
For example this import is ok.....OEPE doesn't complain:
<xs:import namespace="http://www.mycompany.nl/schema/generic" schemaLocation="../../General/CDM/GenericTypes.xsd"/>
but this import gives a problem:
<xs:import namespace="http://www.mycompany.nl/schema/generic" schemaLocation="../../../General/CDM/GenericTypes.xsd"/>
This gives me the following error: The dependency is not configured in schema resource. Possible reason one or more import/include is not set correctly.
Im using Oracle workshop for weblogic Version: 10.3 Build id: 1137967.
When I check the files with XMLspy.....there is no problem at all.
Does anyone have a fix for this perhaps?
Much thanks!
Edited by: 860367 on 16-aug-2012 11:06

Hi Vijay,
The files are located like this on my file system
project
    -General
        -trunk
            -CDM
                -GenericTypes.xsd
    -Retail
        -trunk
            -OrderService
                -Schemas
                    -OrderService.xsdMy configuration project looks like this:
-OSB Configuration
    -CDM
        -GenericTypes.xsd
    -Retail
        -OrderService
            -Schemas
                -OrderService.xsdThe import in OrderService looks like this: ../../../../../General/trunk/CDM/GenericTypes.xsd but OEPE says its wrong but XMLspy does find it.
Edited by: 860367 on 16-aug-2012 14:58

Similar Messages

  • Copy wsdl and it xsd into the project

    Hi,
    is it possible to copy either webaservice wsdl and it xsd (defined in wsdl <import>) into the project?
    Its necessary for developing a bpel processes from infrastructure with no access to webservices directly.
    Adding a webservice i see only checkbox for "copy wsdl...".

    well you don't need aia in all cases, you just need the concept they're describing there (which works for the whole composite concept)
    http://blogs.oracle.com/soabpm/entry/reusing_common_metadata_wsdl_x
    http://biemond.blogspot.com/2009/07/using-shared-object-in-soa-suite-11g.html
    http://www.whitehorses.nl/whitebooks/2011/de-toegevoegde-waarde-van-oracle-metadata-services-mds (google translate this one dutch -> english)
    a few blogs about mds
    when you google abit on oracle soa suite mds you will find some good links

  • Unable to create web service from wsdl that contains xsd as import

    I have written a WSDL and tried to create the web services by weblogic workshop.
    Prior to that I have created the war file and able to deploy them properly. Also able to access any wsdl by hitting the server.
    But when I am trying to create the web services by weblogic workshop its throwing error as "URL is not well formed" for those XSDs which I have imported in my WSDL. I have kept all my XSDs and WSDLs in the same folder.
    The WSDL has given below :
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:intf="http://soapheader.ibm.com" xmlns:impl="http://soapheader.ibm.com" xmlns:MessageContext="MessageContext" xmlns:AlertUpdateRequest="AlertUpdateRequest" xmlns:AlertFetchResponse="AlertFetchResponse" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapheader.ibm.com">
         <import namespace="MessageContext" location="http://localhost:7001/WebApplicationWeb/gss/xsd/MessageContext.xsd"/>
         <import namespace="AlertUpdateRequest" location="http://localhost:7001/WebApplicationWeb/gss/xsd/AlertUpdateRequest.xsd"/>
         <import namespace="AlertFetchResponse" location="http://localhost:7001/WebApplicationWeb/gss/xsd/AlertFetchResponse.xsd"/>
         <wsdl:types>
              <schema elementFormDefault="qualified" targetNamespace="http://ggg.com" xmlns="http://www.w3.org/2001/XMLSchema">
              </schema>
         </wsdl:types>
         <wsdl:message name="alertUpdateRequest">
              <wsdl:part name="parameters" element="AlertUpdateRequest:AlertUpdateRequest"/>
              <wsdl:part name="request_header" element="MessageContext:MessageContext"/>
         </wsdl:message>
         <wsdl:message name="alertUpdateResponse">
              <wsdl:part name="parameters" element="AlertUpdateRequest:AlertUpdateRequest"/>
              <wsdl:part name="request_header" element="MessageContext:MessageContext"/>
         </wsdl:message>
         <wsdl:message name="alertFetchRequest">
              <wsdl:part name="parameters" element="AlertFetchResponse:AlertFetchResponse"/>
              <wsdl:part name="request_header" element="MessageContext:MessageContext"/>
         </wsdl:message>
         <wsdl:message name="alertFetchResponse">
              <wsdl:part name="parameters" element="AlertFetchResponse:AlertFetchResponse"/>
              <wsdl:part name="request_header" element="MessageContext:MessageContext"/>
         </wsdl:message>
         <wsdl:portType name="AlertUpdateService">
              <wsdl:operation name="getAlertUpdate">
                   <wsdl:input name="alertUpdateRequest" message="intf:alertUpdateRequest"/>
                   <wsdl:output name="alertUpdateResponse" message="intf:alertUpdateResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:portType name="AlertFetchService">
              <wsdl:operation name="getAlert">
                   <wsdl:input name="alertUpdateRequest" message="intf:alertFetchRequest"/>
                   <wsdl:output name="alertUpdateResponse" message="intf:alertFetchResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="AlertUpdateServiceSoapBinding" type="intf:AlertUpdateService">
              <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="getAlertUpdate">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:header message="intf:alertUpdateRequest" part="request_header" use="literal"/>
                        <wsdlsoap:body parts="parameters" use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:header message="intf:alertUpdateResponse" part="request_header" use="literal"/>
                        <wsdlsoap:body parts="parameters" use="literal"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:binding name="AlertFetchServiceSoapBinding" type="intf:AlertFetchService">
              <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="getAlert">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:header message="intf:alertFetchRequest" part="request_header" use="literal"/>
                        <wsdlsoap:body parts="parameters" use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:header message="intf:alertFetchResponse" part="request_header" use="literal"/>
                        <wsdlsoap:body parts="parameters" use="literal"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="AlertUpdateServiceService">
              <wsdl:port name="AlertUpdateService" binding="intf:AlertUpdateServiceSoapBinding">
                   <wsdlsoap:address location="http://localhost:9080/SOAPHeaderWeb/services/AlertUpdateService"/>
              </wsdl:port>
         </wsdl:service>
         <wsdl:service name="AlertFetchServiceService">
              <wsdl:port name="AlertFetchService" binding="intf:AlertFetchServiceSoapBinding">
                   <wsdlsoap:address location="http://localhost:9080/SOAPHeaderWeb/services/AlertFetchService"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    Hi,
    From your description I am assuming that you are using JAX-WS, if not get back to me as I might have another bug to look at.
    The problem is that the annotation @Oneway needs to be added to the methods in java files for this to work correctly. You can either do this manually or use the PI in the code editor. I have raised bug 6266513 to track the fact this annotation is not written out properly. I have logged bug 6266556 to track the nillable=true and extranious elements you will see when you do add @Oneway.
    Thanks for the quality of your bug report, and we would of course welcome any other feedback good or bad you would like to give us.
    Gerard Davison
    JDeveloper Web Services Team

  • Webservice from WSDL with imported XSD

    Hi all,
    Firstly, as a newbie to Jdeveloper forgive the ignorance....
    I'm trying to create and deploy a webservice (created top-down).
    I have an XSD, and a WSDL which imports this via a relative reference of the kind ../../ etc. - this validates OK in JDeveloper
    When I try to deploy this to WL I get a file not found error for this XSD, it can't find the XSD in the packaged archive to be deployed.
    So my question, for the import statement in my WSDL which is currently....
    <xsd:import namespace="http://xml.netbeans.org/schema/LoanApplication" schemaLocation="../../../LoanApprover.xsd"/> (i.e. XSD directory relative to WSDL directory at design time)
    ...what do I need to change it to so that when packaged it can find the XSD ?
    Thanks in advance
    MarkF

    Solved on JDeveloper forum.

  • Error return from JOB_SUBMIT / SUBMIT when running with another  username

    I am trying to run the program RSBDCSUB after setting up a BDC session.
    Due to our authorisations in the production environment I have to run this program under a generic user (l_ernam) that has the authorisations as most users do not.
    Here is the code I am using:
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    jobname = l_jobname
    IMPORTING
    JOBCOUNT = l_jobcount
    CHANGING
    RET = l_ret
    EXCEPTIONS
    CANT_CREATE_JOB = 1
    INVALID_JOB_DATA = 2
    JOBNAME_MISSING = 3
    OTHERS = 4
    Submit RSBDCSUB And Return
    User l_Ernam
    Via Job l_Jobname Number l_Jobcount
    with mappe = l_mappe .
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    jobcount = l_jobcount
    jobname = l_jobname
    STRTIMMED = 'X'
    EXCEPTIONS
    CANT_START_IMMEDIATE = 1
    INVALID_STARTDATE = 2
    JOBNAME_MISSING = 3
    JOB_CLOSE_FAILED = 4
    JOB_NOSTEPS = 5
    JOB_NOTEX = 6
    LOCK_FAILED = 7
    OTHERS = 8
    When I run this with a restricted user I get a return of 8 from the submit rsbdcsub - has anyone seen this before and can you offer advice on how to solve it?.
    I have also tried using JOB_SUBMIT with the following settings instead
    CALL FUNCTION 'JOB_SUBMIT'
    EXPORTING
    authcknam = l_ernam
    jobcount = l_jobcount
    jobname = l_jobname
    REPORT = l_report
    VARIANT = l_variant
    EXCEPTIONS
    BAD_PRIPARAMS = 1
    BAD_XPGFLAGS = 2
    INVALID_JOBDATA = 3
    JOBNAME_MISSING = 4
    JOB_NOTEX = 5
    JOB_SUBMIT_FAILED = 6
    LOCK_FAILED = 7
    PROGRAM_MISSING = 8
    PROG_ABAP_AND_EXTPG_SET = 9
    OTHERS = 10
    and in this case get a return of 3 (INVALID_JOBDATA) - anyone any ideas as to how to resolve this?.

    Hello Caroline,
    I do not know whether this issue is resolved at your end. I faced a similar problem and found that User Type for the generic user(l_Ernam) was the cause.
    We had initially defined User Type for the generic user as a 'Communication' and it was giving return code 8 after SUBMIT.
    We later changed the User Type to 'System' and it worked as intended. Job was created under the name of the user who executed the main program and the steps added using the generic user(l_Ernam).
    Please note that the user who is running the main program will need authorization to add job steps using the generic user.
    With Kind Regards,
    Jatin.

  • Error while generating java client code from wsdl file

    I am trying to generate a java client code from WSDL file um_workflowSaveCreateProfile.wsdl which includes um_workflowSaveCreateProfile_interface.wsdl file, so I am keeping both the files in the same folder and trying to generate the client code but it is showing me the below error highlighted .
    um_workflowSaveCreateProfile.wsdl
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="E:/DIPPWF/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:obinterface="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile">
         <import namespace="D:/DIPP/WSDL/um_workflowSaveCreateProfile_interface" location="um_workflowSaveCreateProfile_interface.wsdl"/>
         <service name="OblixIDXML_um_workflowSaveCreateProfile_Service">
              <port name="OblixIDXML_um_workflowSaveCreateProfile_Port" binding="obinterface:OblixIDXML_um_workflowSaveCreateProfile_Binding">
                   <soap:address location="http://localhost:7777/identity/oblix/apps/userservcenter/bin/userservcenter.cgi"/>
              </port>
         </service>
    </definitions>
    um_workflowSaveCreateProfile_interface.wsdl
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:oblixxmllocalschema="http://www.oblix.com/OblixXMLLocalSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface">
         <types>
              <xsd:schema targetNamespace="http://www.oblix.com/" elementFormDefault="qualified"
                   xmlns="http://www.oblix.com/"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                        <xsd:include schemaLocation="../XMLSchema/common_parameters.xsd" />
                        <xsd:include schemaLocation="../XMLSchema/common_authentication.xsd" />
                        <xsd:include schemaLocation="../XMLSchema/workflowSaveCreateProfile.xsd" />
              </xsd:schema>
              <xsd:schema targetNamespace="http://www.oblix.com/OblixXMLLocalSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                   <xsd:element name="request">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="params">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element ref="oblix:ObWorkflowName"/>
                                                 <xsd:element ref="oblix:ObDomainName"/>
                                                 <xsd:element ref="oblix:ObWfComment" minOccurs="0"/>
                                                 <xsd:element ref="oblix:noOfFields"/>
                                                 <xsd:element ref="oblix:AttributeParams"/>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                             <xsd:attribute name="version" type="xsd:string" use="optional"/>
                             <xsd:attribute name="application" type="xsd:string" use="required" />
                             <xsd:attribute name="function" type="xsd:string" use="required" />
                             <xsd:attribute name="mode" type="xsd:string" use="optional"/>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:schema>
         </types>
         <message name="OblixIDXMLInput">
              <part name="authentication" element="oblix:authentication"/>
              <part name="request" element="oblixxmllocalschema:request"/>
         </message>
         <message name="OblixIDXMLOutput">
              <part name="body" element="oblix:Oblix"/>
         </message>
         <portType name="OblixIDXMLPortType">
              <operation name="OblixIDXML_um_workflowSaveCreateProfile">
                   <input message="tns:OblixIDXMLInput"/>
                   <output message="tns:OblixIDXMLOutput"/>
              </operation>
         </portType>
         <binding name="OblixIDXML_um_workflowSaveCreateProfile_Binding" type="tns:OblixIDXMLPortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="OblixIDXML_um_workflowSaveCreateProfile">
                   <soap:operation soapAction="http://www.oblix.com/"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
         </binding>
    </definitions>
    I am using WSDL2 Java for generating the client code .
    Please suggest where am I wrong .
    E:\axis2-1.4\bin>WSDL2Java -uri E:\DIPPWF\um_workflowSaveCreateProfile.wsdl -p R
    ND -d adb -s -o build\client--http-proxy-host 10.74.93.35 --http-proxy-port 80
    Using AXIS2_HOME: E:\axis2-1.4
    Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_02
    Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
    Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
    ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
    ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
    owSaveCreateProfile.xsd'.
    Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
    rkflowSaveCreateProfile.xsd'.
    Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
    ma/workflowSaveCreateProfile.xsd'.
    Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
    omponent_basic.xsd'.
    Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
    nt_basic.xsd'.
    Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
    F/XMLSchema/workflowSaveCreateProfile.xsd'.
    Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
    Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
    ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
    ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
    owSaveCreateProfile.xsd'.
    Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
    rkflowSaveCreateProfile.xsd'.
    Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
    ma/workflowSaveCreateProfile.xsd'.
    Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
    omponent_basic.xsd'.
    Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
    nt_basic.xsd'.
    Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
    F/XMLSchema/workflowSaveCreateProfile.xsd'.
    *[ERROR] More than one part for message OblixIDXMLInput*
    org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
    More than one part for message OblixIDXMLInput
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1162)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1085)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
    ng(WSDL11ToAxisServiceBuilder.java:686)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    int(WSDL11ToAxisServiceBuilder.java:538)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    ints(WSDL11ToAxisServiceBuilder.java:489)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:363)
    at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
    llServices(WSDL11ToAllAxisServicesBuilder.java:107)
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:147)
    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
    Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
    : Error parsing WSDL
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:153)
    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
    Caused by: org.apache.axis2.AxisFault: More than one part for message OblixIDXML
    Input
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:397)
    at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
    llServices(WSDL11ToAllAxisServicesBuilder.java:107)
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:147)
    ... 2 more
    Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
    gException: More than one part for message OblixIDXMLInput
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1162)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1085)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
    ng(WSDL11ToAxisServiceBuilder.java:686)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    int(WSDL11ToAxisServiceBuilder.java:538)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    ints(WSDL11ToAxisServiceBuilder.java:489)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:363).
    Thanks in advance.
    akshay

    Hello,
    Were you able to resolve this issue ?
    I am seeing the same issue and at my wits end.
    regards
    Amit

  • Error from wsdl in java studio

    Hi folks,
    I'm trying to create a web service with Java Studio Enterprise from a wsdl file but it throw me this error:
    "error: in message "MessageRichiestaDaWccATtm", part "arg1" must specify a "type" attribute.
    The wsdl fie is validated by XmlSpy and I'm able to generate java classes with Axis, but I want generate all classes with Java Studio.
    Can anyone help me?
    Thank you very much.
    This is the wsdl file :
    <wsdl:definitions targetNamespace="http://www.your-company.com/totale.wsdl" xmlns:tns="http://www.your-company.com/totale.wsdl" name="totale" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <wsdl:types>
         <xsd:schema targetNamespace="http://www.your-company.com/totale.wsdl">
              <xsd:element name="richiestaDaWccATtm" type="tns:richiestaDaWccATtmType"/>
              <xsd:element name="rispostaDaTtmAWcc" type="tns:rispostaDaTtmAWccType"/>
                   <xsd:complexType name="richiestaDaWccATtmType">
                        <xsd:choice>
                             <xsd:element name="letturaListaClienti"      type="tns:IdCliente"/>
                             <xsd:element name="letturaListaOperatori"      type="tns:IdCliente"/>
                             <xsd:element name="letturaProfiloCliente"      type="tns:IdCliente"/>
                             <xsd:element name="letturaAnagrafica"           type="tns:SelezioneEntitaCliente"/>
                             <xsd:element name="aperturaPreReclamo"           type="tns:AperturaPreReclamo"/>
                             <xsd:element name="annullamentoReclamo"      type="tns:RichiestaSuReclamo"/>
                             <xsd:element name="inserimentoMemoCliente"      type="tns:InserimentoMemoCliente"/>
                             <xsd:element name="variazioneCriticita"      type="tns:VariazioneCriticita"/>
                             <xsd:element name="letturaCronologia"           type="tns:IdReclamo"/>
                             <xsd:element name="rifiutoChiusura"           type="tns:RifiutoChiusura"/>
                             <xsd:element name="accettazioneChiusura"      type="tns:AccettazioneChiusura"/>
                             <xsd:element name="ricercaReclami"                type="tns:RicercaReclami"/>
                             <xsd:element name="letturaReclamo"                type="tns:IdReclamo"/>
                        </xsd:choice>
                   </xsd:complexType>
              <xsd:complexType name="rispostaDaTtmAWccType">
                   <xsd:choice>
                        <xsd:element name="ackDaTtmAWcc"      type="tns:AckDaTtmAWcc"/>
                        <xsd:element name="nackDaTtmAWcc"      type="tns:NackDaTtmAWcc"/>
                   </xsd:choice>
              </xsd:complexType>
              <xsd:simpleType name="nomeReclamanteType1">
                   <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="30"/>
                        <xsd:minLength value="1"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="telefonoReclamanteType">
                   <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="14"/>
                        <xsd:minLength value="1"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType     name="idEntitaType1">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="40"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="noteReclamanteType">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="100"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="descrizioneAttivitaType">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="100"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="AperturaPreReclamo">
                   <xsd:sequence>
                        <xsd:element name="idCliente"                type="tns:IdCliente"/>
                        <xsd:element name="idOperatore"           type="tns:IdOperatore"/>
                        <xsd:element name="nomeReclamante"           type="tns:nomeReclamanteType1"/>
                        <xsd:element name="telefonoReclamante" type="tns:telefonoReclamanteType"/>
                        <xsd:element name="emailReclamante"      type="tns:Email"/>
                        <xsd:element name="codTipologiaEntita"      type="tns:CodTipologiaEntita"/>
                        <xsd:element name="idEntita"                type="tns:idEntitaType1"/>
                        <xsd:element name="codSede"                type="tns:CodSede"/>
                        <xsd:element name="sdf"                     type="tns:CodSdf"/>
                        <xsd:element name="noteReclamante"           type="tns:noteReclamanteType"/>
                        <xsd:element name="descrizioneAttivita" type="tns:descrizioneAttivitaType" minOccurs="0"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:simpleType name="singolaMemoType">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="400"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="InserimentoMemoCliente">
                   <xsd:complexContent>
                        <xsd:extension base="tns:RichiestaSuReclamo">
                             <xsd:sequence>
                                  <xsd:element name="singolaMemo" type="tns:singolaMemoType"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:complexType name="VariazioneCriticita">
                   <xsd:complexContent>
                        <xsd:extension base="tns:RichiestaSuReclamo">
                             <xsd:sequence>
                                  <xsd:element name="sdf" type="tns:CodSdf"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:simpleType name="progressivoType">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="10"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="RifiutoChiusura">
                   <xsd:complexContent>
                        <xsd:restriction base="tns:AccettazioneChiusura">
                             <xsd:sequence>
                                  <xsd:sequence>
                                       <xsd:element name="idCliente"      type="tns:IdCliente"/>
                                       <xsd:element name="anno"           type="xsd:gYear"/>
                                       <xsd:element name="progressivo" type="tns:progressivoType"/>
                                  </xsd:sequence>
                                  <xsd:sequence>
                                       <xsd:element name="idOperatore" type="tns:IdOperatore"/>
                                  </xsd:sequence>
                                  <xsd:sequence>
                                       <xsd:element name="note"           type="tns:NoteChiusura"/>
                                  </xsd:sequence>
                             </xsd:sequence>
                        </xsd:restriction>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:complexType name="AccettazioneChiusura">
                   <xsd:complexContent>
                        <xsd:extension base="tns:RichiestaSuReclamo">
                             <xsd:sequence>
                                  <xsd:element name="note" type="tns:NoteChiusura" minOccurs="0"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:complexType name="statiType">
                   <xsd:sequence maxOccurs="unbounded">
                        <xsd:element name="Stato" type="tns:Stato"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:simpleType name="nomeReclamanteType2">
                   <xsd:restriction base="tns:CampoRicercaLike">
                        <xsd:maxLength value="30"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="RicercaReclami">
                   <xsd:complexContent>
                        <xsd:extension base="tns:SelezioneEntitaCliente">
                             <xsd:sequence>
                                  <xsd:element name="includiCreatiPrereclami"      type="xsd:boolean"/>
                                  <xsd:element name="includiCreatiReclamo"           type="xsd:boolean"/>
                                  <xsd:element name="includiCreatiAllarme"           type="xsd:boolean"/>
                                  <xsd:element name="stati"                               type="tns:statiType" minOccurs="0"/>
                                  <xsd:element name="nomeReclamante"                     type="tns:nomeReclamanteType2" minOccurs="0"/>
                                  <xsd:element name="sdf"                               type="tns:CodSdf" minOccurs="0"/>
                                  <xsd:element name="dataOraInizioSegnalazioneDa" type="xsd:dateTime" minOccurs="0"/>
                                  <xsd:element name="dataOraInizioSegnalazioneA" type="xsd:dateTime" minOccurs="0"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:complexType name="RichiestaSuReclamo">
                   <xsd:complexContent>
                        <xsd:extension base="tns:IdReclamo">
                             <xsd:sequence>
                                  <xsd:element name="idOperatore" type="tns:IdOperatore"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:simpleType name="descrSedeType">
                   <xsd:restriction base="tns:CampoRicercaLike">
                        <xsd:maxLength value="50"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="descrTipologiaEntitaType">
                   <xsd:restriction base="tns:CampoRicercaLike">
                        <xsd:maxLength value="128"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="idEntitaType2">
                   <xsd:restriction base="tns:CampoRicercaLike">
                        <xsd:maxLength value="40"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="SelezioneEntitaCliente">
                   <xsd:sequence>
                        <xsd:element name="idCliente"                     type="tns:IdCliente"/>
                        <xsd:element name="codSede"                     type="tns:CodSede" minOccurs="0"/>
                        <xsd:element name="descrSede"                     type="tns:descrSedeType" minOccurs="0"/>
                        <xsd:element name="codTipologiaEntita"           type="tns:CodTipologiaEntita" minOccurs="0"/>
                        <xsd:element name="descrTipologiaEntita"      type="tns:descrTipologiaEntitaType" minOccurs="0"/>
                        <xsd:element name="idEntita"                     type="tns:idEntitaType2" minOccurs="0"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="AckDaTtmAWcc">
                   <xsd:choice>
                        <xsd:element name="rispostaLetturaListaClienti"      type="tns:RispostaLetturaListaClienti"/>
                        <xsd:element name="rispostaLetturaListaOperatori"      type="tns:RispostaLetturaListaOperatori"/>
                        <xsd:element name="rispostaLetturaProfiloCliente"      type="tns:RispostaLetturaProfiloCliente"/>
                        <xsd:element name="rispostaLetturaAnagrafica"           type="tns:RispostaLetturaAnagrafica"/>
                        <xsd:element name="rispostaAperturaPreReclamo"           type="tns:RispostaAperturaPreReclamo"/>
                        <xsd:element name="rispostaAnnullamentoReclamo"      type="tns:Ack"/>
                        <xsd:element name="rispostaInserimentoMemoCliente"      type="tns:Ack"/>
                        <xsd:element name="rispostaVariazioneCriticita"      type="tns:Ack"/>
                        <xsd:element name="rispostaLetturaCronologia"           type="tns:RispostaLetturaCronologia"/>
                        <xsd:element name="rispostaRifiutoChiusura"           type="tns:Ack"/>
                        <xsd:element name="rispostaAccettazioneChiusura"      type="tns:Ack"/>
                        <xsd:element name="rispostaRicercaReclami"                type="tns:RispostaRicercaReclami"/>
                        <xsd:element name="rispostaLetturaReclamo"                type="tns:RispostaLetturaReclamo"/>
                   </xsd:choice>
              </xsd:complexType>
              <xsd:simpleType name="problemaType">
                   <xsd:restriction base="xsd:string">
                        <xsd:enumeration value="CLI_ERR"/>
                        <xsd:enumeration value="CAT_CLI_ERR"/>
                        <xsd:enumeration value="OP_ERR"/>
                        <xsd:enumeration value="CLI_NO_ABI"/>
                        <xsd:enumeration value="IMP_ERR"/>
                        <xsd:enumeration value="DATI_ERR"/>
                        <xsd:enumeration value="OP_SU_RECL_NON_AMM"/>
                        <xsd:enumeration value="REC_ERR"/>
                        <xsd:enumeration value="CONN_DB_ESA"/>
                        <xsd:enumeration value="NO_DB"/>
                        <xsd:enumeration value="TTM_ERR"/>
                        <xsd:enumeration value="NO_XML"/>
                        <xsd:enumeration value="XML_ERR"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="dettaglioType">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="300"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="NackDaTtmAWcc">
                   <xsd:sequence>
                        <xsd:element name="problema" type="tns:problemaType"/>
                        <xsd:element name="dettaglio" type="tns:dettaglioType" minOccurs="0"/>
                   </xsd:sequence>
              </xsd:complexType>
                             <xsd:simpleType name="codiceFiscaleType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="16"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="cittaType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="30"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="indirizzoType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="capType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="6"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="provinciaType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="2"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="referenteType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="30"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="telefonoType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="14"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="faxType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="14"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="emailType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="categoriaType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="descrizione50Type">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="descrizione128Type">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:maxLength value="128"/>
                                       <xsd:minLength value="1"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:complexType name="sdfType">
                                  <xsd:sequence>
                                       <xsd:element name="codice" type="tns:CodSdf"/>
                                       <xsd:element name="descrizione" type="tns:descrizione50Type"/>
                                  </xsd:sequence>
                             </xsd:complexType>
                             <xsd:complexType name="tipologiaEntitaType">
                                  <xsd:sequence>
                                       <xsd:element name="codice" type="tns:CodTipologiaEntita"/>
                                       <xsd:element name="descrizione" type="tns:descrizione128Type"/>
                                  </xsd:sequence>
                             </xsd:complexType>
              <xsd:complexType name="RispostaLetturaProfiloCliente">
                   <xsd:sequence>
                        <xsd:element name="ragioneSociale"                type="tns:RagioneSociale"/>
                        <xsd:element name="codiceFiscale"                type="tns:codiceFiscaleType" minOccurs="0"/>
                        <xsd:element name="citta"                          type="tns:cittaType" minOccurs="0"/>
                        <xsd:element name="indirizzo"                     type="tns:indirizzoType" minOccurs="0"/>
                        <xsd:element name="cap"                          type="tns:capType" minOccurs="0"/>
                        <xsd:element name="provincia"                     type="tns:provinciaType" minOccurs="0"/>
                        <xsd:element name="referente"                     type="tns:referenteType" minOccurs="0"/>
                        <xsd:element name="telefono"                     type="tns:telefonoType" minOccurs="0"/>
                        <xsd:element name="fax"                          type="tns:faxType" minOccurs="0"/>
                        <xsd:element name="email"                          type="tns:emailType" minOccurs="0"/>
                        <xsd:element name="soglia1"                     type="tns:Soglia"/>
                        <xsd:element name="soglia2"                     type="tns:Soglia"/>
                        <xsd:element name="soglia3"                     type="tns:Soglia"/>
                        <xsd:element name="flagStoriaGuasto"           type="xsd:boolean"/>
                        <xsd:element name="flagConfermaChiusura"      type="xsd:boolean"/>
                        <xsd:element name="flagVariazioneCriticita" type="xsd:boolean"/>
                        <xsd:element name="flagInglese"                type="xsd:boolean"/>
                        <xsd:element name="categoria"                     type="tns:categoriaType" minOccurs="0"/>
                        <xsd:element name="sdf"                          type="tns:sdfType" minOccurs="0" maxOccurs="unbounded"/>
                        <xsd:element name="tipologiaEntita"           type="tns:tipologiaEntitaType" minOccurs="0" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="entitaType">
                   <xsd:sequence>
                        <xsd:element name="idEntita" type="tns:IdEntita"/>
                        <xsd:element name="tipologiaEntita" type="tns:CodTipologiaEntita"/>
                        <xsd:element name="sede" type="tns:Sede"/>
                        <xsd:element name="sede2" type="tns:Sede" minOccurs="0"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaLetturaAnagrafica">
                   <xsd:sequence>
                        <xsd:element name="entita" type="tns:entitaType" minOccurs="0" maxOccurs="unbounded"/>
                        <xsd:element name="flagRisultatoParziale" type="xsd:boolean"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaAperturaPreReclamo">
                   <xsd:complexContent>
                        <xsd:extension base="tns:IdReclamo">
                             <xsd:sequence>
                                  <xsd:element name="dataOraSegnalazione" type="xsd:dateTime"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
                             <xsd:complexType name="variazioneStatoType">
                                  <xsd:complexContent>
                                       <xsd:extension base="tns:VariazioneReclamo">
                                            <xsd:sequence>
                                                 <xsd:element name="stato" type="tns:Stato"/>
                                            </xsd:sequence>
                                       </xsd:extension>
                                  </xsd:complexContent>
                             </xsd:complexType>
              <xsd:complexType name="RispostaLetturaCronologia">
                   <xsd:sequence>
                        <xsd:element name="variazioneStato" type="tns:variazioneStatoType" minOccurs="0" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaRicercaReclami">
                   <xsd:sequence>
                        <xsd:element name="reclamo" type="tns:Reclamo" minOccurs="0" maxOccurs="unbounded"/>
                        <xsd:element name="flagRisultatoParziale" type="xsd:boolean"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaLetturaReclamo">
                   <xsd:complexContent>
                        <xsd:extension base="tns:Reclamo">
                             <xsd:sequence>
                                  <xsd:element name="memo" type="tns:Memo" minOccurs="0" maxOccurs="unbounded"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
              <xsd:simpleType name="idType">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="5"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:complexType name="operatoreWebType">
                   <xsd:sequence>
                        <xsd:element name="id" type="tns:idType"/>
                        <xsd:element name="descrizione" type="tns:DescrizioneOperatore"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaLetturaListaOperatori">
                   <xsd:sequence>
                        <xsd:element name="operatoreWeb" type="tns:operatoreWebType" minOccurs="0" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="clienteType">
                   <xsd:sequence>
                        <xsd:element name="id" type="tns:IdCliente"/>
                        <xsd:element name="ragioneSociale" type="tns:RagioneSociale"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="RispostaLetturaListaClienti">
                   <xsd:sequence>
                        <xsd:element name="cliente" type="tns:clienteType" minOccurs="0" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="VariazioneReclamo">
                   <xsd:sequence>
                        <xsd:element name="dataVariazione" type="xsd:dateTime"/>
                        <xsd:element name="operatore" type="tns:DescrizioneOperatore" minOccurs="0"/>
                        <xsd:element name="flagVariazioneTramiteWeb" type="xsd:boolean" minOccurs="0"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="Memo">
                   <xsd:complexContent>
                        <xsd:extension base="tns:VariazioneReclamo">
                             <xsd:sequence>
                                  <xsd:element name="singolaMemo" type="tns:singolaMemoType"/>
                             </xsd:sequence>
                        </xsd:extension>
                   </xsd:complexContent>
              </xsd:complexType>
                             <xsd:simpleType name="codMalfunzionamentoType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="4"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="noteChiusuraType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="140"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="descrizioneRiparazioneType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="tipoAperturaType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:enumeration value="Reclamo"/>
                                       <xsd:enumeration value="PreReclamo"/>
                                       <xsd:enumeration value="Allarme"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="modalitaAperturaType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:enumeration value="Manuale"/>
                                       <xsd:enumeration value="Automatica"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                                            <xsd:simpleType name="tipoType">
                                                 <xsd:restriction base="xsd:string">
                                                      <xsd:enumeration value="SISU"/>
                                                      <xsd:enumeration value="SCON"/>
                                                 </xsd:restriction>
                                            </xsd:simpleType>
                                            <xsd:simpleType name="tempoType">
                                                 <xsd:restriction base="xsd:string">
                                                      <xsd:enumeration value="Risposta"/>
                                                      <xsd:enumeration value="Intervento"/>
                                                      <xsd:enumeration value="Ripristino"/>
                                                 </xsd:restriction>
                                            </xsd:simpleType>
                                            <xsd:simpleType name="noteType" >
                                                 <xsd:restriction base="xsd:string">
                                                      <xsd:minLength value="1"/>
                                                      <xsd:maxLength value="50"/>
                                                 </xsd:restriction>
                                            </xsd:simpleType>
                             <xsd:complexType name="sospensioneType">
                                  <xsd:sequence>
                                       <xsd:element name="tipo" type="tns:tipoType"/>
                                       <xsd:element name="tempo" type="tns:tempoType"/>
                                       <xsd:element name="inizio" type="xsd:dateTime"/>
                                       <xsd:element name="fine" type="xsd:dateTime" minOccurs="0"/>
                                       <xsd:element name="noteType" minOccurs="0"/>
                                  </xsd:sequence>
                             </xsd:complexType>
              <xsd:complexType name="Reclamo">
                   <xsd:sequence>
                        <xsd:element name="idReclamo" type="tns:IdReclamo"/>
                        <xsd:element name="creatoDa" type="tns:DescrizioneOperatore"/>
                        <xsd:element name="nomeReclamante" type="tns:nomeReclamanteType1"/>
                        <xsd:element name="telefonoReclamante" type="tns:telefonoReclamanteType"/>
                        <xsd:element name="emailReclamante" type="tns:Email" minOccurs="0"/>
                        <xsd:element name="sede" type="tns:Sede"/>
                        <xsd:element name="tipologiaEntita" type="tns:CodTipologiaEntita"/>
                        <xsd:element name="idEntita" type="tns:IdEntita"/>
                        <xsd:element name="sdf" type="tns:CodSdf"/>
                        <xsd:element name="stato" type="tns:Stato"/>
                        <xsd:element name="operatore" type="tns:DescrizioneOperatore" minOccurs="0"/>
                        <xsd:element name="dataOraSegnalazione" type="xsd:dateTime"/>
                        <xsd:element name="dataOraChiusura" type="xsd:dateTime" minOccurs="0"/>
                        <xsd:element name="codMalfunzionamento" type="tns:codMalfunzionamentoType" minOccurs="0"/>
                        <xsd:element name="noteChiusura" type="tns:noteChiusuraType" minOccurs="0"/>
                        <xsd:element name="noteReclamante" type="tns:noteReclamanteType" minOccurs="0"/>
                        <xsd:element name="descrizioneRiparazione" type="tns:descrizioneRiparazioneType" minOccurs="0"/>
                        <xsd:element name="flagMemoClientiEsistenti" type="xsd:boolean"/>
                        <xsd:element name="flagConRiserva" type="xsd:boolean"/>
                        <xsd:element name="tipoApertura" type="tns:tipoAperturaType"/>
                        <xsd:element name="modalitaApertura" type="tns:modalitaAperturaType"/>
                        <xsd:element name="sospensione" type="tns:sospensioneType" minOccurs="0" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
                             <xsd:simpleType name="codiceType">
                                  <xsd:restriction base="xsd:long">
                                       <xsd:totalDigits value="8"/>
                                       <xsd:minInclusive value="0"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
                             <xsd:simpleType name="descrizioneType">
                                  <xsd:restriction base="xsd:string">
                                       <xsd:minLength value="1"/>
                                       <xsd:maxLength value="50"/>
                                  </xsd:restriction>
                             </xsd:simpleType>
              <xsd:complexType name="Sede">
                   <xsd:sequence>
                        <xsd:element name="codice" type="tns:codiceType"/>
                        <xsd:element name="descrizione" type="tns:descrizioneType"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="IdReclamo">
                   <xsd:sequence>
                        <xsd:element name="idCliente" type="tns:IdCliente"/>
                        <xsd:element name="anno" type="xsd:gYear"/>
                        <xsd:element name="progressivo" type="tns:progressivoType"/>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:simpleType name="CampoRicercaLike">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="IdOperatore">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="5"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="CodSede">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="8"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="NoteChiusura">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="140"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="Ack">
                   <xsd:restriction base="xsd:dateTime"/>
              </xsd:simpleType>
              <xsd:simpleType name="DescrizioneOperatore">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="30"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="RagioneSociale">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="150"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="Soglia">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="6"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="IdEntita">
                   <xsd:restriction base="xsd:string">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="40"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="IdCliente">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="15" fixed="true"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="Stato">
                   <xsd:restriction base="xsd:string">
                        <xsd:enumeration value="Accettato"/>
                        <xsd:enumeration value="Annullato"/>
                        <xsd:enumeration value="Chiuso"/>
                        <xsd:enumeration value="In lavorazione"/>
                        <xsd:enumeration value="Preso in carico"/>
                        <xsd:enumeration value="Proposto in chiusura"/>
                        <xsd:enumeration value="Rifiutato"/>
                        <xsd:enumeration value="In coda"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="CodTipologiaEntita">
                   <xsd:restriction base="xsd:long">
                        <xsd:totalDigits value="5"/>
                        <xsd:minInclusive value="0"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="CodSdf">
                   <xsd:restriction base="xsd:byte">
                        <xsd:minInclusive value="-1"/>
                        <xsd:maxInclusive value="100"/>
                   </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType name="Email">
                   <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="50"/>
                        <xsd:pattern value="[^\s@]+@[^\s@]+\.[^\s@]+"/>
                   </xsd:restriction>
              </xsd:simpleType>
         </xsd:schema>
         </wsdl:types>
         <wsdl:message name="MessageRichiestaDaWccATtm">
              <wsdl:part name="arg1" element="tns:richiestaDaWccATtm"/>
         </wsdl:message>
         <wsdl:message name="MessageRispostaDaTtmAWcc">
              <wsdl:part name="arg1" element="tns:rispostaDaTtmAWcc"/>
         </wsdl:message>
         <wsdl:portType name="totalePortType">
              <wsdl:operation name="richiestaServizio">
                   <wsdl:input message="tns:MessageRichiestaDaWccATtm" name="messageInput"/>
                   <wsdl:output message="tns:MessageRispostaDaTtmAWcc" name="messageOutput"/>
              </wsdl:operation>
         </wsdl:portType>
    <wsdl:binding name="TtmBinding" type="tns:totalePortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="richiestaServizio">
    <soap:operation soapAction="" style="rpc"/>
    <wsdl:input name="messageInput">
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.your-company.com/totale.wsdl"/>
    </wsdl:input>
    <wsdl:output name="messageOutput">
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.your-company.com/totale.wsdl"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TTM">
    <wsdl:port binding="tns:TtmBinding" name="TtmBindingPort">
    <soap:address location="http://localhost:8080/axis/services/TtmBindingPort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    This is an RPC/encoded web service. In such a service the parts of a message must have a type attribute,
    not element attributes.
    <wsdl:message name="MessageRichiestaDaWccATtm">
    <wsdl:part name="arg1" element="tns:richiestaDaWccATtm"/>
    </wsdl:message>
    <wsdl:message name="MessageRispostaDaTtmAWcc">
    <wsdl:part name="arg1" element="tns:rispostaDaTtmAWcc"/>
    </wsdl:message>
    these should be something like:
    <wsdl:message name="MessageRichiestaDaWccATtm">
    <wsdl:part name="arg1" type="tns:richiestaDaWccATtmType"/>
    </wsdl:message>
    <wsdl:message name="MessageRispostaDaTtmAWcc">
    <wsdl:part name="arg1" type="tns:rispostaDaTtmAWccType"/>
    </wsdl:message>
    I should not that the schema in this WSDL include xsd:choice so you are likely to get an error or have
    the schema fragments bound to a SOAPElement.
    In JAXRPC 2.0 due out next year choice will have better binding.

  • Error loading schemas from wsdl

    Hello,
    Can someone please tell me the meaning of the error ->
    "Error loading schemas from wsdl"
    In our production environment , I see this error for one of the domains , whenever we restart services during the weekend .
    The exact error log is :
    <2007-09-22 05:11:26,749> <INFO> <Receipts.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/Receipts/ReceiptController~1.2/'
    domain='Receipts'
    WSDL location='receiptReaderService.wsdl'
    portType='Read_ptt'
    operation='Read'
    activation properties={BAERCVDET=/export/bpel/data/prod/outgoing, BAERCVDETARCH=/export/bpel/data/prod/archive, portType=Read_ptt}
    <2007-09-22 05:11:26,750> <INFO> <Receipts.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - endpointActivation for portType=Read_ptt, operation=Read
    <2007-09-22 05:11:26,910> <ERROR> <Receipts.collaxa.cube.activation> <AdapterFramework::Inbound> Error while performing endpoint Activation: ORABPEL-09701
    Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "file:/oracle/product/10gas/busintel/integration/orabpel/domains/Receipts/tmp/.bpel_ReceiptController_1.2.jar/receiptReaderService.wsdl". The reason is Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "file:/oracle/product/10gas/busintel/integration/orabpel/domains/Receipts/tmp/.bpel_ReceiptController_1.2.jar/receiptReaderService.wsdl". The reason is Connection refused.
    Please verify the schemas defined in wsdl.
    Please verify the schemas defined in wsdl.
    <2007-09-22 05:11:26,914> <ERROR> <Receipts.collaxa.cube.activation> <AdapterFramework::Inbound>
    ORABPEL-09701
    Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "file:/oracle/product/10gas/busintel/integration/orabpel/domains/Receipts/tmp/.bpel_ReceiptController_1.2.jar/receiptReaderService.wsdl". The reason is Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "file:/oracle/product/10gas/busintel/integration/orabpel/domains/Receipts/tmp/.bpel_ReceiptController_1.2.jar/receiptReaderService.wsdl". The reason is Connection refused.
    Please verify the schemas defined in wsdl.
    Please verify the schemas defined in wsdl.
         at com.collaxa.cube.xml.xsd.xerces.WSDLSchemaManager.loadAllSchemas(WSDLSchemaManager.java:314)
         at com.collaxa.cube.ws.wsdl.WSDLManager.getWSDLSchemaManager(WSDLManager.java:368)
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:406)
         at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.activateInboundJcaEndpoint(JCAActivationAgent.java:869)
         at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.initiateInboundJcaEndpoint(JCAActivationAgent.java:856)
         at oracle.tip.adapter.fw.agent.jca.JCAActivationAgent.init(JCAActivationAgent.java:399)
         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:324)
         at com.collaxa.cube.engine.core.BaseCubeProcess.notifyActivationAgents(BaseCubeProcess.java:558)
         at com.collaxa.cube.engine.core.BaseCubeProcess.enableActivationAgents(BaseCubeProcess.java:490)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.setDefaultRevision(CubeProcessHolder.java:1166)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.setDefaultRevision(CubeProcessHolder.java:1098)
         at com.collaxa.cube.engine.CubeEngine.setDefaultRevision(CubeEngine.java:1047)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.setDefaultRevision(CubeEngineBean.java:530)
         at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.setDefaultRevision(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java:2345)
         at com.collaxa.cube.engine.dispatch.message.process.SetDefaultMessageHandler.handle(SetDefaultMessageHandler.java:42)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    <2007-09-22 05:11:27,035> <ERROR> <Receipts.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube engine": Could not initialize activation agent.
    An error occured while initializing an activation agent for process "ReceiptController", revision "1.2".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    ORABPEL-09903
    How can i further troubleshoot this . later on when I restart again ...it works .
    Help appreciated .
    Amith

    Hello,
    Thanks for your response.
    U see ..this happens only when the all the services / databases etc come back up after a cold backup during the weekend . And like I u have mentioned , I thought this could be due to the BPEL service trying to connect to one of the databases as mentioned in the oc4j-ra.xml ( there are 3 distinct database connections to 3 diff databases ) . So I made sure that all the dbs are up and running before this particular service is started . It wroks at times ..but then it fails at times . So I have started wondering whether this is a different issue . And I am not able to troubleshoot it any further .
    What exactly should I check in the wsdl file ..
    Appreciate your help !
    Amith

  • 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.

  • Error in generating .cs file from wsdl

    hi ,
    I am trying to generate .cs file from wsdl using commond
    wsdl
    http://pni3w274:8080/tc5_services/WebServices/ModelEntity?wsdl /language:CS /out:rt.cs /protocol:SOAP
    it give following errors
    Error: Unable to import binding 'ModelEntitySoapBinding' from namespace 'http://
    teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity'.
    - Unable to import operation 'getListOfClasses'.
    - The datatype 'http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelE
    ntity:GetListOfClassesInputParams' is missing.
    my wsdl is
    ModelEntityService.wsdl
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    targetNamespace="http://teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"
    xmlns:imp0="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    xmlns:imp1="http://teamcenter.com/webservices/2005-06/schemas/WSFaults"
    xmlns:tns="http://teamcenter.com/TCENT/webservices/2005-06/services/ModelEntity">
    <wsdl:documentation>
    The service provides Model Entity related operation.
    </wsdl:documentation>
    <wsdl:types>
    <xs:schema>
    <xs:import namespace="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity" schemaLocation="ModelEntity.xsd" />
    <xs:import namespace="http://teamcenter.com/webservices/2005-06/schemas/WSFaults" schemaLocation="WSFaults.xsd" />
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="PresentationTierFault">
    <wsdl:part name="ex0" element="imp1:RequestManangerFault" />
    </wsdl:message>
    <wsdl:message name="getListOfClassesRequest">
    <wsdl:part name="in0" element="imp0:GetListOfClassesInputParams" />
    </wsdl:message>
    <wsdl:message name="getListOfClassesResponse">
    <wsdl:part name="out" element="imp0:GetListOfClassesOutputParams" />
    </wsdl:message>
    <wsdl:message name="getCreateAttributesRequest">
    <wsdl:part name="in0" element="imp0:GetCreateAttributesInputParams" />
    </wsdl:message>
    <wsdl:message name="getCreateAttributesResponse">
    <wsdl:part name="out" element="imp0:GetCreateAttributesOutputParams" />
    </wsdl:message>
    <wsdl:message name="createModelEntityRequest">
    <wsdl:part name="in0" element="imp0:CreateModelEntityInputParams" />
    </wsdl:message>
    <wsdl:message name="createModelEntityResponse">
    <wsdl:part name="out" element="imp0:CreateModelEntityOutputParams" />
    </wsdl:message>
    <wsdl:message name="getValueSetForAttributeRequest">
    <wsdl:part name="in0" element="imp0:GetValueSetForAttributeInputParams" />
    </wsdl:message>
    <wsdl:message name="getValueSetForAttributeResponse">
    <wsdl:part name="out" element="imp0:GetValueSetForAttributeOutputParams" />
    </wsdl:message>
    <wsdl:portType name="ModelEntity">
    <wsdl:operation name="getListOfClasses">
    <wsdl:documentation>
    Gets List Of all ModelEntity Classes.
    </wsdl:documentation>
    <wsdl:input message="tns:getListOfClassesRequest" name="getListOfClassesRequest" />
    <wsdl:output message="tns:getListOfClassesResponse" name="getListOfClassesResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="getCreateAttributes">
    <wsdl:documentation>
    Gets ModelEntity Create Attributes.
    </wsdl:documentation>
    <wsdl:input message="tns:getCreateAttributesRequest" name="getCreateAttributesRequest" />
    <wsdl:output message="tns:getCreateAttributesResponse" name="getCreateAttributesResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="createModelEntity">
    <wsdl:documentation>
    Creates Model Entity.
    </wsdl:documentation>
    <wsdl:input message="tns:createModelEntityRequest" name="createModelEntityRequest" />
    <wsdl:output message="tns:createModelEntityResponse" name="createModelEntityResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    <wsdl:operation name="getValueSetForAttribute">
    <wsdl:documentation>
    Gets Value Set For Attribute.
    </wsdl:documentation>
    <wsdl:input message="tns:getValueSetForAttributeRequest" name="getValueSetForAttributeRequest" />
    <wsdl:output message="tns:getValueSetForAttributeResponse" name="getValueSetForAttributeResponse" />
    <wsdl:fault message="tns:PresentationTierFault" name="PresentationTierError" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ModelEntitySoapBinding" type="tns:ModelEntity">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getListOfClasses">
    <soap:operation style="document" soapAction="getListOfClasses" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getCreateAttributes">
    <soap:operation style="document" soapAction="getCreateAttributes" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="createModelEntity">
    <soap:operation style="document" soapAction="createModelEntity" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="getValueSetForAttribute">
    <soap:operation style="document" soapAction="getValueSetForAttribute" />
    <wsdl:input><soap:body use="literal" /></wsdl:input>
    <wsdl:output><soap:body use="literal" /></wsdl:output>
    <wsdl:fault name="PresentationTierError"><soap:fault name="PresentationTierError" use="literal" /></wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ModelEntityService">
    <wsdl:port binding="tns:ModelEntitySoapBinding" name="ModelEntity">
    <soap:address
    location="http://localhost:80/PTierApp/WebServices/ModelEntity" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    and xsd is ModelEntity.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    bcprt
    This software and related documentation are proprietary to UGS Corp.
    COPYRIGHT 2006 UGS CORP. ALL RIGHTS RESERVED
    ecprt
    -->
    <xsd:schema targetNamespace="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wsc="http://teamcenter.com/TCENT/webservices/2005-06/schemas/Common"
    xmlns:wlt="http://teamcenter.com/TCENT/webservices/2005-06/schemas/ModelEntity"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    <!-- ================================================================== -->
    <!-- Package: ModelEntity -->
    <!-- ================================================================== -->
    <xsd:annotation>
    <xsd:documentation>
    The ModelEntity package defines elements and data types
    for the parameters used by operations/messages of the ModelEntity Web Service.
    </xsd:documentation>
    </xsd:annotation>
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity List Of Classes: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetListOfClassesInputParams"
    type="wlt:GetListOfClassesInputType"/>
    <xsd:complexType name="GetListOfClassesInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity List Of Classes : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity List Of Classes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetListOfClassesOutputParams"
    type="wlt:GetListOfClassesOutputType"/>
    <xsd:complexType name="GetListOfClassesOutputType">
    <xsd:sequence>
    <xsd:element name="ClassList" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Classes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Create Attributes: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetCreateAttributesInputParams"
    type="wlt:GetCreateAttributesInputType"/>
    <xsd:complexType name="GetCreateAttributesInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ClassName" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Create Attributes : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Create Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetCreateAttributesOutputParams"
    type="wlt:GetCreateAttributesOutputType"/>
    <xsd:complexType name="GetCreateAttributesOutputType">
    <xsd:sequence>
    <xsd:element name="Attributes" type="wlt:ModelEntityCreateAttributes"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Create Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Value Set For Attribute: INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetValueSetForAttributeInputParams"
    type="wlt:GetValueSetForAttributeInputType"/>
    <xsd:complexType name="GetValueSetForAttributeInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="Attribute" type="xsd:string"/>
    <!-- optional criteria -->
    <xsd:element name="Criteria" type="wlt:ModelEntityNameValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <!-- optional class name -->
    <xsd:element name="ClassName" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Value Set For Attribute : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Get Model Entity Value Set For Attribute : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="GetValueSetForAttributeOutputParams"
    type="wlt:GetValueSetForAttributeOutputType"/>
    <xsd:complexType name="GetValueSetForAttributeOutputType">
    <xsd:sequence>
    <xsd:element name="StaticValues" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Get Model Entity Value Set For Attribute : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN: Create Model Entity : INPUT -->
    <!-- ================================================================== -->
    <xsd:element name="CreateModelEntityInputParams"
    type="wlt:CreateModelEntityInputType"/>
    <xsd:complexType name="CreateModelEntityInputType">
    <xsd:sequence>
    <xsd:element name="UserName" type="xsd:string"/>
    <xsd:element name="Password" type="xsd:string"/>
    <xsd:element name="Locale" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ClassName" type="xsd:string"/>
    <xsd:element name="Attributes" type="wlt:ModelEntityNameValuePair"
    maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity : INPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Create Model Entity : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:element name="CreateModelEntityOutputParams"
    type="wlt:CreateModelEntityOutputType"/>
    <xsd:complexType name="CreateModelEntityOutputType">
    <xsd:sequence>
    <xsd:element name="ObjectHandle" type="xsd:string"/>
    <xsd:element name="ReturnType" type="xsd:boolean"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Create Model Entity Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <xsd:complexType name="ModelEntityCreateAttributes">
    <xsd:sequence>
    <xsd:element name="DisplayedName" type="xsd:string"/>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="StaticValues" type="wlt:ModelEntityValueDisplayedValuePair"
    minOccurs="0" maxOccurs="unbounded" />
    <xsd:element name="IsRequired" type="xsd:boolean"/>
    <xsd:element name="HasValueSet" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Create Model Entity Attributes : OUTPUT -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- BEGIN : Model Entity Pairs : INPUT/OUTPUT -->
    <!-- ================================================================== -->
    <xsd:complexType name="ModelEntityNameValuePair">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="Value" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ModelEntityValueDisplayedValuePair">
    <xsd:sequence>
    <xsd:element name="Value" type="xsd:string"/>
    <xsd:element name="DisplayedValue" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <!-- ================================================================== -->
    <!-- END : Model Entity Pairs : INPUT/OUTPUT -->
    <!-- ================================================================== -->
    </xsd:schema>

    check metalink note
    Adpatch Fails With Error : adogjf() Unable to copy Registry.Dat.
    Note:282153.1
    also check (Adogjf() Unable To Copy Registry.Dat).
    Note:382695.1 about the correct on the $806_ORACLE_HOME/forms60/java where it should be 755
    make sure that you soruce the env fiel before adpatch and that ORACLE_HOME is poinitng to the correct oracle_home
    fadi

  • Error in generating adobe interactive form created from WSDL file

    Hi,
    I have created a form in SFP from a WSDL file.Copy paste the below program and when i run the program it gives me error message
    "_Adobe reader could not open ..Because it is either not supported file type or has been damaged (...)"_. I am not sure whether i am doing right.If this is not the right one, then how can i generate a interactive PDF from WSDL.
    DATA: ie_outputparams TYPE sfpoutputparams.
    DATA: i_name TYPE fpname,
    i_funcname TYPE funcname.
    DATA: fp_docparams TYPE sfpdocparams.
    DATA: fp_formoutput TYPE fpformoutput.
    DATA: data_tab TYPE solix_tab.
    ie_outputparams-getpdf = 'X'.
    ie_outputparams-nodialog = 'X'. " suppress printer dialog popup
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = ie_outputparams.
    TRY.
       i_name = 'ZSPADOBE01'. "your form name
      i_name = 'Z....'. "your form name
        CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
          EXPORTING
            i_name     = i_name
          IMPORTING
            e_funcname = i_funcname.
      CATCH cx_fp_api_repository.
      CATCH cx_fp_api_usage.
      CATCH cx_fp_api_internal.
    ENDTRY.
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'US'.
    fp_docparams-fillable = 'X'.
    CALL FUNCTION i_funcname
      EXPORTING
        /1bcdwb/docparams  = fp_docparams
      IMPORTING
        /1bcdwb/formoutput = fp_formoutput
      EXCEPTIONS
        usage_error        = 1
        system_error       = 2
        internal_error     = 3.
    CALL FUNCTION 'FP_JOB_CLOSE'
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 3
        OTHERS         = 4.
    DATA: filename TYPE string,
    path TYPE string,
    fullpath TYPE string,
    default_extension TYPE string VALUE 'PDF'.
    cl_gui_frontend_services=>file_save_dialog(
    EXPORTING
    default_extension = default_extension
    CHANGING
    filename = filename
    path = path
    fullpath = fullpath ).
    CHECK fullpath IS NOT INITIAL.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer     = fp_formoutput-pdf
      TABLES
        binary_tab = data_tab.
    cl_gui_frontend_services=>gui_download(
    EXPORTING
    filename = filename
    filetype = 'BIN'
    CHANGING
    data_tab = data_tab ).
    cl_gui_frontend_services=>execute(
    EXPORTING
    document = filename ).

    Hi Sanu,
    Hope this link help you.
    [CALLING WEB SERVICES IN INTERACTIVE ADOBE FORMS|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20280d13-7b93-2e10-51a0-ba05fd26355a]
    Regards,
    Shaira

  • Error while Generating WSDL File from SAP WSDLGenerator

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at WebServiceDescription.SelectOperation.ShowUDOsList(String sessionID)
       at WebServiceDescription.SelectOperation..ctor(String sessionID)
       at WebServiceDescription.WsdlServicesGenerator.ShowOptions()
       at WebServiceDescription.Form1.btCreateWsdl_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    WsdlServicesGenerator
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files/SAP/SAP%20Business%20One%20Web%20Services/WsdlServicesGenerator/WsdlServicesGenerator.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    axh7tjvl
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    o_2nbqv_
        Assembly Version: 1.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    I am facing problem While Generating WSDL File from WSDL Geerator which is provided by SAP Business One
    If any body has resolved this. Please help Me...!
    Thanks
    Mritunjay

    Hi.
    We've seen that error too few times.
    We downloaded the sourcecode for the wdsl generator and discovered,
    that in our case, it was because we had no user defined objects.
    Its actually a bug as far as I can see, where the wdsl generator tries
    to enumerate a empty recordset, and crashes.
    Regards
    Jørgen T.

  • _OBJC_IVAR_$_        Referenced From Error while trying to deploy in iphone

    Hi All,
    I am facing one problem. any one who are aware of this project please help me.
    My problem is:
    i have Mac OS of 10.5.8 and xcode of 3.1.4
    while i am trying to implement a application of audio files i want the frame work called "AVFoundation.Framework" i didn't found that frame work in my library.
    so i added that framework from "MACOS10.4" .
    but in simulator 3.1 it works fine. while trying to deploy in my iphone i am getting error like:
    "-(avTouchcontroller updatecurrenttime)", referenced from:
    _OBJC_IVAR_$_ avTouchcontroller._ivlmeter_in in avTouchController.o

    Why don't you post here (again) and you might get some answers:
    http://discussions.apple.com/message.jspa?messageID=10512489#10512489

  • Error when generating a Web Service from WSDL (Weblogic Workshop)

    Hi,
    I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
    Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
    org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
         at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
         ... 8 more
    I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
    If anyone has any idea on this please suggest a solution.
    Thanks in advance
    -AKJ

    Yes, I assume you are talking about ANT_HOME:
    see this Screenshot which shows my current settings
    [http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
    Regards
    -AKJ

  • Error creating web service from WSDL in 11.1.2.0.0

    Hello,
    I have just installed JDeveloper 11.1.2.0.0. I tried to test a web service created (and successfully tested) in 11.1.1.5.0. The service is deployed to internal WebLogic server but when I call "Test Web Service" this is the error I get:
    The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read.
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.ServiceTester$3.run(ServiceTester.java:262)
         at java.lang.Thread.run(Thread.java:662)
    Then I tried to create a new project and Java web service from WSDL, but on the second step of the "Java Web Service from WSDL" wizard when I select WSDL file from the disk and click "Next" I get
    java.lang.IllegalStateException: SSLContextImpl is not initialized
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:484)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I performed fresh install of this new JDeveloper version in new Middleware home with all the default options and this is the first thing I tried.
    Any hints?
    Thanks,
    Bruno

    Hi Vishal,
    no, I don't see any HTTPS security settings defined. The thing is that this worked just fine in 11.1.1.5.0 version. I installed 11.1.2.0.0 and the first thing I tried was testing this web service. Right away I get this error. I also tried creating Web Service Client Proxy for this web service and I get the same exception. I looks to me that this happens when wizard tries parsing WSDL...
    But, I got another error when I opened "Java Web Service Editor" for this web service and selected "Methods":
    NPE in o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel:702
    Performing action (35) Project Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService.jpr, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:02 AM IndexFacade runQuery
    INFO: Having to guess workspace
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:28 AM IndexFacade runQuery
    INFO: Having to guess workspace
    Performing action (23) Find... [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (56) Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:09:32 AM IndexFacade runQuery
    INFO: Having to guess workspace
    java.lang.NullPointerException
    java.lang.NullPointerException
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.populateListImpl(SelectMethodsPanel.java:702)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.access$600(SelectMethodsPanel.java:82)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel$4$1.run(SelectMethodsPanel.java:603)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1046)
    j.a.Dialog$3.run(Dialog.java:1098)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1096)
    j.a.Component.show(Component.java:1585)
    j.a.Component.setVisible(Component.java:1537)
    j.a.Window.setVisible(Window.java:842)
    j.a.Dialog.setVisible(Dialog.java:986)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
    o.i.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
    o.ji.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:313)
    o.ji.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1672)
    o.ji.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
    o.i.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1469)
    o.i.controller.IdeAction.performAction(IdeAction.java:662)
    o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
    o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.AbstractButton.doClick(AbstractButton.java:357)
    jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
    j.a.Component.processMouseEvent(Component.java:6289)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6054)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4652)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$2.run(EventQueue.java:617)
    j.a.EventQueue$2.run(EventQueue.java:615)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:614)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Regards,
    Bruno

Maybe you are looking for