WSDL to java class

HI!
I'd like to generate java stub classes by using the WSDL document.
After parsing the WSDL document, a java class with all available method calls should be created.
With IBM WebService Development Kit this is possible with the Apache Axis project wsdl4java.
Does someone know another way to do this, maybe with SUN webservice toolkit?
mfg
MK

Thanks for these tips.
The problem with using such functionallity from JBuilder or IBM WebService Toolkit is, that i'd like built this proxies within my own program.
In my program you should be able to input the location of the WSDL file, receive it and the user can work with the proxy classes.
I need this functionallity in my own program without the help from any IDE.
The Apache Axis project offers a tool that do this, and i can use it, if I start it within a new process.
Helpful would be an API that offers me the functions, so that i can do this by calling some functions in my own program....
Thanks
MK

Similar Messages

  • How can i use JWSDP1.6 from Ant tool to convert .wsdl file into Java class

    Hi All,
    i m very new in the development field.plese help me...
    i have a .wsdl file and i have to make some modification in the file and return this file with build file used in Ant tool.
    means my requirement is to conver the .wsdl file into java class,modify it and convert back to wsdl file.how can i do it using JWSDP1.6 and Ant tool.
    thanks in advance...
    Vikram Singh

    lemilanais wrote:
    hello!
    I have developpe an animation with flash. before give it to othe person in order to use it, i would like to secure it by integrated a security module inside the software.Secure it from what? Being played? Copied? Deleted? Modified?
    Because, i am a java developper, i have choose Netbeans 6.1 to secure it.That has to be the most random thing I've read in some time.
    do you know how can i do to integrate my animation .swf inside my java class?Java can't play SWF files and Flash can't handle Java classes, so what you're suggesting here doesn't make a lot of sense.

  • Help on creating Java Classes from WSDL in JDev 10.1.3

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

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

  • WSDL generated from java class - how to include headers?

    I am using the servicegen ant task and generating a web service based on a java class. I would like to include a username and password in the soap header and read that info using a handler. I am able to get that working, but how do I get the auto-generated WSDL to include the username/password header information? Is there something that I have to do in the handler so that this information is included in the WSDL?
    Thanks,
    Mike

    I did do this and I got the following error when deploying to the Stand-alone OC4j:
    Operation failed with error:
    Error compiling
    :D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBOperationsWSApp-DBData-WS\WebServices: Error instantiating compiler: webservice artifact generation failed :oracle.j2ee.ws.common.tools.api.ValidationException : Exception declaration mismatch between Implementation: dbdatapackage.DBDataOperations and Interface: dbdatapackage.DBDataWS. Impl class Method: getData declares exceptions not declared by the interface (java.lang.Exception)
    I am quite sure what it is saying. It generated the code for the Interface: dbdatapackage.DVDataWS. Impl class. Why would it not do it right? What expection is it complaining about? java.lang.Exception?

  • Getting a Java class from WSDL file

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

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

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

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

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

  • Problem with servicegen and how to convert java classes to webservices

    I am a beginner and am trying to convert all my java code into webservices,I have
    a java class Test.java and number of other third party libraries and my own java
    files that are reffered in Test.java. I want to expose the public methods in Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalid class received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface, non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party class file also?I
    just need the public methods in Test.java exposed and Test.java will just use
    the third party library.
    also,is there a way to tell servicegen to include all these java files X,Y,Z to
    the war file/ear files but expose only the public methods of X in the WSDL.
    Please help
    thanks
    Suresh

    Hi Bruce,
    Thanks very much for the insight u provided.Yes one of my public methods was returning
    a element factory.
    But let me ask my question this way:
    Is there a way to tell servicegen to take only the specified public methods in
    a class to make them as webservices?
    by default servicegen is taking all the public methods..,i workaround i found
    is to deploy the webservice manually by writing the web-services.xml to include
    only the required public methods.
    thanks
    Suresh
    Bruce Stephens <[email protected]> wrote:
    Hi Suresh,
    Does your Test.java have a public method that returns the element
    factory of an XML document, like "public ElementFactory
    getElementFactory ();" or such?
    If so, you may want to check out the supported build-in and non-built-in
    data types:
    http://edocs.bea.com/wls/docs81/webserv/assemble.html#1060696
    Concerning your last question, you can use the excludeEJBs, includeEJBs
    (in combination with the ejbJar attribute) to specify which non-built-in
    data type components should be generated. Or if you use the
    javaClassComponents then simply use a comma separated list of class
    names.
    Hope this helps,
    Bruce
    suresh wrote:
    I am a beginner and am trying to convert all my java code into webservices,Ihave
    a java class Test.java and number of other third party libraries andmy own java
    files that are reffered in Test.java. I want to expose the public methodsin Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalidclass received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface,non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party classfile also?I
    just need the public methods in Test.java exposed and Test.java willjust use
    the third party library.
    also,is there a way to tell servicegen to include all these java filesX,Y,Z to
    the war file/ear files but expose only the public methods of X in theWSDL.
    Please help
    thanks
    Suresh

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Any difference in creating a web service from a java class or session bean?

    Hi,
    The JDeveloper tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm demonstrates creating a web service from a plain java class. I'm wondering:
    - Is it possible to create a web service from a stateless session bean instead of a java class? If so, what's the proper way to do this in JDeveloper? When I tried doing so in JDeveloper 10.1.3.0.4 (SU5) using the J2EE Web Service wizard, the wizard did not list the session bean in the Component To Publish dropdown (it does list any java classes available in the project). I can proceed by manually typing in the name of the session bean. After the wizard completes though, the @Stateless annotation that had been in my session bean class code is removed and replaced by a @WebService annotation. The end result is that it looks like it made no difference whether I had tried to create the web service from a session bean or plain java class as the annotations in the resulting web service code are the same (although if I had started from a session bean, the class for the web service still implements the Local/Remote EJB interface that the session bean originally implemented).
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean? I'm creating the web service from scratch so I also need to either build the java class or stateless session bean the web service would be based on from scratch too.
    Thanks for any ideas about this.

    Hi,
    EJB Session beans (EJB 3.0) are deployed as WebServices by annotating the class with @WebService and the methds with @WebMethod (both tags require you to add the JSR-181 library to your project (available in the JDeveloper list of libraries)). Unlike the J2E WebService, the EJB session bean service is turned into a WebService upon deployment. This means you obtain teh WSDL file after deployment
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean?
    The difference is that EJB Session bean based web services are integrated with the J2EE container, which means that they can leverage container services like transaction handling, data sources, security, JMS etc.
    Frank

  • Creating Web Service from Java Class-How to eliminate nillable="true"

    Does anyone know how to eliminate the attribute, nillable="true", from the element tags which describe the parameters in the WSDL created when creating a web service from a Java Class? It does this only for the string types. Is there something I need to set when creating the web service or before creating the web service? Or the only way is to modify this WSDL then recreate the web service from the WSDL.
    example part of wsdl:
    this is in the <types> tag:
    <complexType name="getData">
    <sequence>
    <element name="schema" type="string" nillable="true"/>
    <element name="table_or_view_name" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="getDataResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/>
    </sequence>
    </complexType>

    I did do this and I got the following error when deploying to the Stand-alone OC4j:
    Operation failed with error:
    Error compiling
    :D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBOperationsWSApp-DBData-WS\WebServices: Error instantiating compiler: webservice artifact generation failed :oracle.j2ee.ws.common.tools.api.ValidationException : Exception declaration mismatch between Implementation: dbdatapackage.DBDataOperations and Interface: dbdatapackage.DBDataWS. Impl class Method: getData declares exceptions not declared by the interface (java.lang.Exception)
    I am quite sure what it is saying. It generated the code for the Interface: dbdatapackage.DVDataWS. Impl class. Why would it not do it right? What expection is it complaining about? java.lang.Exception?

  • WEB SERVICE FROM JAVA CLASS

    Hi,
    I'm new to BPEL and I've a problem: i need to create a WEBSERVICE from Java class.
    This Java class contain functions to call other functions in other packages.
    These last function contain sql query: it's an java "interface" application between BPEL and an EXTERNAL Oracle database 10g.
    I want to create one WEB SERVICE from this application and i followed the steps (right click, menù, create j2ee webservice, etc) i obtain error:
    VALIDATION FAILED --- Files at the following URLs cannot be modified:
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/MyWebService1.webservice
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/IMyWebService.wsdl
    File:/C:/OraBPELPM1/integration/jdev/jdev/mywork/RichiesteWebService/ARRICH/app/src/controller/MyWebService1.dd
    Show the java class "interface":
    package controller;
    import java.util.*;
    import java.sql.*;
    import domain.*;
    import dao.*;
    import utility.*;
    public class Request_Incoming_Controller {
    public Request_Incoming_Controller() {}
    /* Update StatoTurismo */
    public static String aggiornaStTurismo(int numIncoming, String tur) {
    GregorianCalendar dp = FormatoData.dataDaDate1("00/00/0000");
    Request_Incoming ric = new Request_Incoming(numIncoming,"","",dp,dp,"","","",0,"",tur,"");
    // try {
    if(ric.aggiornaTurismo()<0)return "NO";
    return "OK";
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    /* Update StatoCassa */
    public static String aggiornaStCassa(int numIncoming,String cash) {
    GregorianCalendar dp = FormatoData.dataDaDate1("00/00/0000");
    Request_Incoming ric = new Request_Incoming(numIncoming,"","",dp,dp,"","","",0,"","",cash);
    // try {
    if(ric.aggiornaCassa()<0) return "NO";
    return "OK";
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    /* Lettura del NumIncoming assegnato dal sistema dopo il caricamento della
    * richiesta in base alla matricola del Dipendente
    public static int caricaNumDaDip(String dipendente){
    Request_Incoming ric = new Request_Incoming(0,dipendente);
    // try {
    ric.trovaNumIncoming();
    return ric.getNumIncoming();
    // } catch (SQLException ex) {
    // System.err.println("Eccezione durante l'aggiornamento "
    // + ex.getMessage()); }
    Can Anyone help?
    Is urgently.........thanks
    Daniele

    You should try to post it there:
    http://forums.oracle.com/forums/forum.jspa?forumID=97
    But if I look at the error, it looks like some files are Read-Only. Maybe you should check if they are or if you have the appropriate rights on the folder.
    Good luck

  • How  to get soap request in webservices (WSDL in java)

    hi ,,
    i did one helloworld app using soap protocol. In that , one soap client invokes the webservices(old java class with WSDL ).Now i want to get the soap document in the web service for to process the soap envelope and parsing and generating the o/p and append to the response then create the soap document for response. plz let me know how to do?
    Thanks in advance.

    Let me see whether I understand. Are you attempting to achieve something like this:
    test.cfc
    <cfcomponent output="no">
    <cffunction name="testFunction" returntype="any" access="remote">
    <cfargument name="soapInput">
    <cfset var inputXML = arguments.soapInput>
    <cfset var soapBodyText="">
    <cfset var noBodyTextError="">
    <cftry>
        <cfset soapBodyText = xmlSearch(inputXML,"//soapenv:Body/text()")[1].xmlValue>
        <cfsavecontent variable="noBodyTextError"><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope     xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.Exception: Body not found.</faultstring></cfsavecontent>
        <cfif trim(soapBodyText) is "">
        <cfthrow>
        </cfif>
        <cfreturn inputXML>
    <cfcatch type="any">
    <cfreturn noBodyTextError>
    </cfcatch>
    </cftry>
    </cffunction>
    </cfcomponent>
    tester.cfm
    <cfxml variable="mydata">
            <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wor="https://www.worldmilesafrica.com">
       <soapenv:Header/>
       <soapenv:Body>
       </soapenv:Body>
    </soapenv:Envelope>
    </cfxml>
    <cfinvoke webservice = "http://127.0.0.1:8500/workspace/wsTest/test.cfc?wsdl"
              method = "testFunction"
               returnVariable = "result">
           <cfinvokeargument name="soapInput" value="#trim(mydata)#" >
    </cfinvoke>
    <cfdump var="#result#">

  • Java stored proc from proxy Java classes generated from a web service?

    Hi gurus,
    I have searched "Java Stored Procedure" on this forum but could not find what I am looking for, so I have to post again.
    I need to use a web service and my client app is written in PowerBuilder 11 (Sybase), which claims that it will create a datawindow from a web service. Well, it turned out that PB can only handle simple stuff (it works with a very simple wsdl from the internet) but can't handle more complex ones that we need to use. So I am thinking about using Oracle JDeveloper(JDev) to create the web service proxy for the web service and then load it into Oracle as a Java stored procedure so that PowerBuilder can call the procedure. JDev succsfully generated the proxy and a few Java classes. My question is, do I need to load all the classes into the database? If yes, will the reference to the package work? For example, in a JDev generated class (the soap client class), it has package MyJdev.proxy; at the top. Or, will it work if I load all the classes included in package /MyJdev/proxy into the database?
    Thank you very much for any help.
    Ben

    For the java stored proc called from pl/sql, the example above that uses dynamic sql should word :
    CREATE OR REPLACE PACKAGE MyPackage AS
    TYPE Ref_Cursor_t IS REF CURSOR;
    FUNCTION get_good_ids RETURN VARCHAR2 ;
    FUNCTION get_plsql_table_A RETURN Ref_Cursor_t;
    END MyPackage;
    CREATE OR REPLACE PACKAGE BODY MyPackage AS
    FUNCTION get_good_ids RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'MyServer.getGoodIds() return java.lang.String';
    FUNCTION get_plsql_table_A RETURN Ref_Cursor_t
    IS table_cursor Ref_Cursor_t;
    good_ids VARCHAR2(100);
    BEGIN
    good_ids := get_good_ids();
    OPEN table_cursor FOR 'SELECT id, name FROM TableA WHERE id IN ( ' &#0124; &#0124; good_ids &#0124; &#0124; ')';
    RETURN table_cursor;
    END;
    END MyPackage;
    public class MyServer{
    public static String getGoodIds() throws SQLException {
    return "1, 3, 6 ";
    null

  • Java Class (Compiled with JDK6_u12) that works with UCCX 9.0.2, don´t work with UCCX 10.5

    I have a Java Class (Compiled with JDK6_u12) that works with UCCX 9.0.2, after upgrade it don´t work with UCCX 10.5
    I get the error message: "Failed to access the WSDL at: https://www.brightnavigator.se/brightservice/brightservice.asmx?WSDL. It failed with: Got java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty while opening stream from https://www.brightnavigator.se/brightservice/brightservice.asmx?WSDL.; nested exception is: javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://www.brightnavigator.se/brightservice/brightservice.asmx?WSDL. It failed with: Got java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty while opening stream from https://www.brightnavigator.se/brightservice/brightservice.asmx?WSDL. (line: 1, col: 47)
    Does anyone know about this ?

    Did you ever find a resolution to this issue? I have a similar issue after upgrading from 7 to 10.5. I have loaded all provided certificates to the tomcat-trust store, restarted Tomcat Services and still get the same error
    Thanks

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

Maybe you are looking for

  • CRMXIF_ORDER_SAVE Test Returns Error Exception CX_ST_REF_ACCESS

    Hello, We are on CRM 6.0 Landscape. I create a Web Service from FM CRMXIF_ORDER_SAVE and when I do a Test from WS Navigator by passing existing Quotation Number and a new Product ID in ITEM I get following error SOAP Response: <soap-env:Envelope xmln

  • New Quicktime doesnt play my AVI movies

    My .avi files worked on my old laptop, then I trade in for a new one, try to play my movies, and it doesnt work. Does anyone know any easy way to fix this. I have installed every plug-in i can find, and nothing. The files are fine, I can open them in

  • Posting problem in MB1A for previous period

    Hi! I have a material X having stock as on 30.11.2007 1023MT, as on date 503MT. I have tried a consumption to order (261 MVT Type) , but system is giving message " Deficit unrestricted prev - why this message is coming and how do I correct the same.

  • I think my phone is leaking..

    I have an iPhone 5S which is only three weeks old. I have a clear belkin case on it, and this afternoon I noticed there was liquid in the case - so I took it off and cleaned the phone and the case, and put the case back on.  I thought somehow somethi

  • HT204319 iMac and MacBook Pro

    Hello Guys !!! I really need your Help. I recently bought  a iMac mid 2010 from a Pawnshop and would like to install OS X Mavericks 10.9.5 ( which I am using with my MacBook Pro Mid-2010) Via Bootable USB. Will the MacBook Pro OS X Mavericks work on