Hi,

I have a WSDL file (you can see it, wsdlModuloIR.xml attached to this
email). From it I have generated server side code to implement the described
services.
I have also generated client side code in order to access it.
Doing so I've got this exception:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Invalid element in
it.pisa.caribel.search.Caller - Id
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Invalid element in
it.pisa.caribel.search.Caller - Id
 faultActor:
 faultNode:
 faultDetail:

org.xml.sax.SAXException: Invalid element in it.pisa.caribel.search.Caller -
Id
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
60)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
9)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:1015)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
        at org.apache.crimson.parser.Parser2.parse(Unknown Source)
        at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at
it.pisa.caribel.search.RTSearchPortSoapBindingStub.getStatus(RTSearchPortSoa
pBindingStub.java:614)
        at it.pisa.caribel.search.testIvan.main(testIvan.java:41)


org.xml.sax.SAXException: Invalid element in it.pisa.caribel.search.Caller -
Id
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
60)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
9)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:1015)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.content(Unknown Source)
        at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
        at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
        at org.apache.crimson.parser.Parser2.parse(Unknown Source)
        at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at
it.pisa.caribel.search.RTSearchPortSoapBindingStub.getStatus(RTSearchPortSoa
pBindingStub.java:614)
        at it.pisa.caribel.search.testIvan.main(testIvan.java:41)

I have also tried to get the WSDL from the deployed service: using it I'm
not able to generated client code (I'm using Eclipse 2.x + Lomboz plugin).
Also that file is attached to the email (RTSearchPort.xml).

anyone can help in identify the problem?
Thanks in advance

-- Ivan
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://caribel.pisa.it/search/"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://caribel.pisa.it/search/"; xmlns:intf="http://caribel.pisa.it/search/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns1="http://search.focuseek.com"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";><wsdl:types><schema targetNamespace="http://caribel.pisa.it/search/"; xmlns="http://www.w3.org/2001/XMLSchema";><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><simpleType name="CallerGroup"><restriction base="xsd:string"><enumeration value="RT"/><enumeration value="URP"/><enumeration value="GUEST"/><enumeration value="UNDEFINED"/><enumeration value="1"/><enumeration value="0"/></restriction></simpleType><simpleType name="QueryParser"><restriction base="xsd:string"><enumeration value="NOPARSER"/><enumeration value="RPNPARSER"/><enumeration value="SOAPARSER"/><enumeration value="ALGPARSER"/></restriction></simpleType><complexType name="MimeType"><sequence><element name="Key" nillable="true" type="xsd:string"/><element name="Value" nillable="true" type="xsd:string"/></sequence></complexType><complexType name="ArrayOfMimeType"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:MimeType[]"/></restriction></complexContent></complexType><complexType name="IrDocument"><sequence><element name="mimetypes" nillable="true" type="impl:ArrayOfMimeType"/><element name="content" type="xsd:base64Binary"/></sequence></complexType><simpleType name="QueryInfo"><restriction base="xsd:string"><enumeration value="NOINFO"/><enumeration value="URL"/><enumeration value="TITLE"/><enumeration value="CONTEXT"/></restriction></simpleType><simpleType name="QueryAtomType"><restriction base="xsd:string"><enumeration value="WORD"/><enumeration value="NOT"/><enumeration value="AND"/><enumeration value="OR"/><enumeration value="NEAR_SET"/><enumeration value="NEAR_SEQ"/><enumeration value="META"/></restriction></simpleType><complexType name="ArrayOfstring"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/></restriction></complexContent></complexType><complexType name="ArrayOfint"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/></restriction></complexContent></complexType><complexType name="QueryResult"><sequence><element name="ID" nillable="true" type="xsd:string"/><element name="Url" nillable="true" type="xsd:string"/><element name="Title" nillable="true" type="xsd:string"/><element name="MimeType" nillable="true" type="xsd:string"/><element name="Contexts" nillable="true" type="impl:ArrayOfstring"/><element name="Timestamp" type="xsd:int"/><element name="ServerTime" type="xsd:int"/><element name="Score" type="xsd:int"/><element name="Archives" nillable="true" type="impl:ArrayOfint"/><element name="Categories" nillable="true" type="xsd:string"/></sequence></complexType><complexType name="Term"><sequence><element name="Value" nillable="true" type="xsd:string"/></sequence></complexType><simpleType name="PageFormat"><restriction base="xsd:string"><enumeration value="ORIGINAL"/><enumeration value="PARSED"/><enumeration value="HTML"/></restriction></simpleType><simpleType name="QuerySort"><restriction base="xsd:string"><enumeration value="NOSORT"/><enumeration value="SCORE"/><enumeration value="SCORE_AGED"/><enumeration value="TIME_NEWER"/><enumeration value="TIME_OLDER"/></restriction></simpleType><complexType name="QueryAtom"><sequence><element name="Type" nillable="true" type="impl:QueryAtomType"/><element name="Meta" nillable="true" type="xsd:string"/><element name="Param" nillable="true" type="xsd:string"/></sequence></complexType><complexType name="ArrayOfQueryAtom"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:QueryAtom[]"/></restriction></complexContent></complexType><complexType name="QuerySpec"><sequence><element maxOccurs="1" minOccurs="0" name="FirstDoc" nillable="true" type="xsd:int"/><element maxOccurs="1" minOccurs="0" name="LastDoc" nillable="true" type="xsd:int"/><element maxOccurs="1" minOccurs="0" name="MinTime" nillable="true" type="xsd:int"/><element maxOccurs="1" minOccurs="0" name="MaxTime" nillable="true" type="xsd:int"/><element maxOccurs="1" minOccurs="0" name="MinScore" nillable="true" type="xsd:int"/><element maxOccurs="1" minOccurs="0" name="Info" nillable="true" type="impl:QueryInfo"/><element maxOccurs="1" minOccurs="0" name="Sort" nillable="true" type="impl:QuerySort"/><element maxOccurs="1" minOccurs="0" name="Parser" nillable="true" type="impl:QueryParser"/><element maxOccurs="1" minOccurs="0" name="Query" nillable="true" type="impl:ArrayOfQueryAtom"/><element name="QueryString" nillable="true" type="xsd:string"/></sequence></complexType><complexType name="Caller"><sequence><element name="id" nillable="true" type="xsd:string"/><element name="idGroup" nillable="true" type="impl:CallerGroup"/></sequence></complexType><complexType name="ExtendedStatus"><complexContent><extension base="tns1:ExtendedStatus"><sequence/></extension></complexContent></complexType><complexType name="ArrayOfIrDocument"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:IrDocument[]"/></restriction></complexContent></complexType><complexType name="ArrayOfQueryResult"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:QueryResult[]"/></restriction></complexContent></complexType><complexType name="ArrayOfExtendedStatus"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ExtendedStatus[]"/></restriction></complexContent></complexType><complexType name="ArrayOfTerm"><complexContent><restriction base="soapenc:Array"><attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Term[]"/></restriction></complexContent></complexType></schema><schema targetNamespace="http://search.focuseek.com"; xmlns="http://www.w3.org/2001/XMLSchema";><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ExtendedStatus"><sequence><element name="Key" nillable="true" type="xsd:string"/><element name="Value" nillable="true" type="xsd:string"/></sequence></complexType></schema></wsdl:types>
  <wsdl:message name="addArchiveDocumentResponse">
    <wsdl:part name="docid" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="getThesaurusTermsRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="term" type="impl:Term"/>
  </wsdl:message>
  <wsdl:message name="addArchiveDocumentsRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="irdocuments" type="impl:ArrayOfIrDocument"/>
  </wsdl:message>
  <wsdl:message name="replaceArchiveDocumentRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="docid" type="xsd:string"/>
    <wsdl:part name="irdocument" type="impl:IrDocument"/>
  </wsdl:message>
  <wsdl:message name="addArchiveDocumentRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="irdocument" type="impl:IrDocument"/>
  </wsdl:message>
  <wsdl:message name="queryResponse">
    <wsdl:part name="results" type="impl:ArrayOfQueryResult"/>
    <wsdl:part name="maxresults" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="getCachedPageResponse">
    <wsdl:part name="type" type="xsd:string"/>
    <wsdl:part name="content" type="xsd:base64Binary"/>
  </wsdl:message>
  <wsdl:message name="getArchiveDocumentURLResponse">
    <wsdl:part name="url" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="replaceArchiveDocumentResponse">
  </wsdl:message>
  <wsdl:message name="getDocumentIDResponse">
    <wsdl:part name="ID" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getStatusRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
  </wsdl:message>
  <wsdl:message name="addArchiveDocumentsResponse">
    <wsdl:part name="docids" type="impl:ArrayOfint"/>
  </wsdl:message>
  <wsdl:message name="queryRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="query" type="impl:QuerySpec"/>
  </wsdl:message>
  <wsdl:message name="getDocumentIDRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="url" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getThesaurusTermsResponse">
    <wsdl:part name="terms" type="impl:ArrayOfTerm"/>
  </wsdl:message>
  <wsdl:message name="getStatusResponse">
    <wsdl:part name="status" type="impl:Status"/>
    <wsdl:part name="extendedstatus" type="impl:ArrayOfExtendedStatus"/>
  </wsdl:message>
  <wsdl:message name="removeArchiveDocumentResponse">
  </wsdl:message>
  <wsdl:message name="removeArchiveDocumentRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="docid" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getArchiveDocumentURLRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="docid" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="getCachedPageRequest">
    <wsdl:part name="caller" type="impl:Caller"/>
    <wsdl:part name="ID" type="xsd:string"/>
    <wsdl:part name="format" type="impl:PageFormat"/>
  </wsdl:message>
  <wsdl:portType name="RTSearchPortType">
    <wsdl:operation name="addArchiveDocument" parameterOrder="caller irdocument docid">
      <wsdl:input message="impl:addArchiveDocumentRequest" name="addArchiveDocumentRequest"/>
      <wsdl:output message="impl:addArchiveDocumentResponse" name="addArchiveDocumentResponse"/>
    </wsdl:operation>
    <wsdl:operation name="addArchiveDocuments" parameterOrder="caller irdocuments docids">
      <wsdl:input message="impl:addArchiveDocumentsRequest" name="addArchiveDocumentsRequest"/>
      <wsdl:output message="impl:addArchiveDocumentsResponse" name="addArchiveDocumentsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="replaceArchiveDocument" parameterOrder="caller docid irdocument">
      <wsdl:input message="impl:replaceArchiveDocumentRequest" name="replaceArchiveDocumentRequest"/>
      <wsdl:output message="impl:replaceArchiveDocumentResponse" name="replaceArchiveDocumentResponse"/>
    </wsdl:operation>
    <wsdl:operation name="removeArchiveDocument" parameterOrder="caller docid">
      <wsdl:input message="impl:removeArchiveDocumentRequest" name="removeArchiveDocumentRequest"/>
      <wsdl:output message="impl:removeArchiveDocumentResponse" name="removeArchiveDocumentResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getDocumentID" parameterOrder="caller url ID">
      <wsdl:input message="impl:getDocumentIDRequest" name="getDocumentIDRequest"/>
      <wsdl:output message="impl:getDocumentIDResponse" name="getDocumentIDResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getArchiveDocumentURL" parameterOrder="caller docid url">
      <wsdl:input message="impl:getArchiveDocumentURLRequest" name="getArchiveDocumentURLRequest"/>
      <wsdl:output message="impl:getArchiveDocumentURLResponse" name="getArchiveDocumentURLResponse"/>
    </wsdl:operation>
    <wsdl:operation name="query" parameterOrder="caller query results maxresults">
      <wsdl:input message="impl:queryRequest" name="queryRequest"/>
      <wsdl:output message="impl:queryResponse" name="queryResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getCachedPage" parameterOrder="caller ID format type content">
      <wsdl:input message="impl:getCachedPageRequest" name="getCachedPageRequest"/>
      <wsdl:output message="impl:getCachedPageResponse" name="getCachedPageResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getStatus" parameterOrder="caller status extendedstatus">
      <wsdl:input message="impl:getStatusRequest" name="getStatusRequest"/>
      <wsdl:output message="impl:getStatusResponse" name="getStatusResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getThesaurusTerms" parameterOrder="caller term terms">
      <wsdl:input message="impl:getThesaurusTermsRequest" name="getThesaurusTermsRequest"/>
      <wsdl:output message="impl:getThesaurusTermsResponse" name="getThesaurusTermsResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="RTSearchPortSoapBinding" type="impl:RTSearchPortType">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="addArchiveDocument">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="addArchiveDocumentRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="addArchiveDocumentResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="addArchiveDocuments">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="addArchiveDocumentsRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="addArchiveDocumentsResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="replaceArchiveDocument">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="replaceArchiveDocumentRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="replaceArchiveDocumentResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="removeArchiveDocument">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="removeArchiveDocumentRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="removeArchiveDocumentResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getDocumentID">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getDocumentIDRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getDocumentIDResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getArchiveDocumentURL">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getArchiveDocumentURLRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getArchiveDocumentURLResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="query">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="queryRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="queryResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getCachedPage">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getCachedPageRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getCachedPageResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getStatus">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getStatusRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getStatusResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getThesaurusTerms">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getThesaurusTermsRequest">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:input>
      <wsdl:output name="getThesaurusTermsResponse">
        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://caribel.pisa.it/search/"; use="encoded"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="RTSearchService">
    <wsdl:port binding="impl:RTSearchPortSoapBinding" name="RTSearchPort">
      <wsdlsoap:address location="http://192.168.1.130:8080/axis/services/RTSearchPort"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
<?xml version='1.0' encoding='UTF-8' ?>

<!-- root element definitions defines set of related services -->

<definitions name="RTSearch"
    targetNamespace="http://caribel.pisa.it/search/";
    xmlns:wsdlns   ="http://caribel.pisa.it/search/";
    xmlns:typens   ="http://caribel.pisa.it/search/";
    xmlns:soap     ="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:xsd      ="http://www.w3.org/2001/XMLSchema";
    xmlns          ="http://schemas.xmlsoap.org/wsdl/"; 
>
<!-- types encapsulates schema types; here using xsd -->
<types>
<!-- all type declarations are in a chunk of xsd -->
<schema targetNamespace="http://caribel.pisa.it/search/";
    xmlns              ="http://www.w3.org/2001/XMLSchema"; 
    elementFormDefault = "qualified" 
    xmlns:xsd          ="http://www.w3.org/2001/XMLSchema";
    xmlns:soap         ="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:soapenc      ="http://schemas.xmlsoap.org/soap/encoding/";
    xmlns:wsdl         ="http://schemas.xmlsoap.org/wsdl/";
>



<!-- define enum QueryParser-->

<xsd:simpleType name="QueryParser">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="NOPARSER" />
   <xsd:enumeration value ="RPNPARSER" />
   <xsd:enumeration value ="SOAPARSER" />
   <xsd:enumeration value ="ALGPARSER" />
</xsd:restriction>
</xsd:simpleType>



<!-- define enum QueryInfo-->

<xsd:simpleType name="QueryInfo">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="NOINFO" />
   <xsd:enumeration value ="URL" />
   <xsd:enumeration value ="TITLE" />
   <xsd:enumeration value ="CONTEXT" />
</xsd:restriction>
</xsd:simpleType>



<!-- define enum QuerySort-->

<xsd:simpleType name="QuerySort">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="NOSORT" />
   <xsd:enumeration value ="SCORE" />
   <xsd:enumeration value ="SCORE_AGED" />
   <xsd:enumeration value ="TIME_NEWER" />
   <xsd:enumeration value ="TIME_OLDER" />
</xsd:restriction>
</xsd:simpleType>


<!-- define enum QueryAtomType-->

<xsd:simpleType name="QueryAtomType">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="WORD" />
   <xsd:enumeration value ="NOT" />
   <xsd:enumeration value ="AND" />
   <xsd:enumeration value ="OR" />
   <xsd:enumeration value ="NEAR_SET" />
   <xsd:enumeration value ="NEAR_SEQ" />
   <xsd:enumeration value ="META" />
</xsd:restriction>
</xsd:simpleType>

<!-- define enum CallerGroup-->

<xsd:simpleType name="CallerGroup">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="RT" />
   <xsd:enumeration value ="URP" />
   <xsd:enumeration value ="GUEST" />
   <xsd:enumeration value ="UNDEFINED" />
</xsd:restriction>
</xsd:simpleType>

<!-- define struct Caller-->

<complexType name="Caller">
<xsd:sequence>
   <xsd:element name="Id" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="IdGroup" minOccurs="1" maxOccurs="1" type="typens:CallerGroup" />
</xsd:sequence>
</complexType>


<!-- define struct QueryAtom-->

<complexType name="QueryAtom">
<xsd:sequence>
   <xsd:element name="Type" minOccurs="1" maxOccurs="1" type="typens:QueryAtomType" />
   <xsd:element name="Meta" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Param" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>
</complexType>



<!-- define struct QuerySpec-->

<complexType name="QuerySpec">
<xsd:sequence>
   <xsd:element name="FirstDoc" minOccurs="0" maxOccurs="1" type="xsd:int" />
   <xsd:element name="LastDoc" minOccurs="0" maxOccurs="1" type="xsd:int" />
   <xsd:element name="MinTime" minOccurs="0" maxOccurs="1" type="xsd:int" />
   <xsd:element name="MaxTime" minOccurs="0" maxOccurs="1" type="xsd:int" />
   <xsd:element name="MinScore" minOccurs="0" maxOccurs="1" type="xsd:int" />
   <xsd:element name="Info" minOccurs="0" maxOccurs="1" type="typens:QueryInfo" />
   <xsd:element name="Sort" minOccurs="0" maxOccurs="1" type="typens:QuerySort" />
   <xsd:element name="Parser" minOccurs="0" maxOccurs="1" type="typens:QueryParser" />
   <xsd:element name="Query" minOccurs="0" maxOccurs="1" type="typens:ArrayOfQueryAtom" />
   <xsd:element name="QueryString" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>
</complexType>


<!-- define struct QueryResult-->

<complexType name="QueryResult">
<xsd:sequence>
   <xsd:element name="ID" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Url" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Title" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="MimeType" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Contexts" minOccurs="1" maxOccurs="1" type="typens:ArrayOfstring" />
   <xsd:element name="Timestamp" minOccurs="1" maxOccurs="1" type="xsd:int" />
   <xsd:element name="ServerTime" minOccurs="1" maxOccurs="1" type="xsd:int" />
   <xsd:element name="Score" minOccurs="1" maxOccurs="1" type="xsd:int" />
   <xsd:element name="Archives" minOccurs="1" maxOccurs="1" type="typens:ArrayOfint" />
   <xsd:element name="Categories" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>
</complexType>



<!-- define enum PageFormat-->

<xsd:simpleType name="PageFormat">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="ORIGINAL" />
   <xsd:enumeration value ="PARSED" />
   <xsd:enumeration value ="HTML" />
</xsd:restriction>
</xsd:simpleType>


<!-- define enum Status -->

<xsd:simpleType name="Status">
<xsd:restriction base="xsd:string">
   <xsd:enumeration value ="NOTRUNNING" />
   <xsd:enumeration value ="CRASHED" />
   <xsd:enumeration value ="INITIALIZING" />
   <xsd:enumeration value ="RUNNING" />
   <xsd:enumeration value ="UNDEFINED" />
   <xsd:enumeration value ="CALLERUNKNOWN" />
   <xsd:enumeration value ="CALLERNOTALLOWED" />
</xsd:restriction>
</xsd:simpleType>


<!-- define struct ExtendedStatus -->

<complexType name="ExtendedStatus">
<xsd:sequence>
   <xsd:element name="Key" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Value" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>
</complexType>



<!-- define struct MimeType -->

<complexType name="MimeType">
<xsd:sequence>
   <xsd:element name="Key" minOccurs="1" maxOccurs="1" type="xsd:string" />
   <xsd:element name="Value" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>

<complexType name="ArrayOfMimeType">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:MimeType[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>
</complexType>

<complexType name="IrDocument">
<xsd:sequence>
   <xsd:element name="mimetypes" minOccurs="1" maxOccurs="1" type="typens:ArrayOfMimeType" />
   <xsd:element name="content" minOccurs="1" maxOccurs="1" type="xsd:base64Binary" />
</xsd:sequence>
</complexType>

<complexType name="ArrayOfIrDocument">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:IrDocument[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>

-->
<!-- define struct Term -->

<complexType name="Term">
<xsd:sequence>
   <xsd:element name="Value" minOccurs="1" maxOccurs="1" type="xsd:string" />
</xsd:sequence>
</complexType>


<complexType name="ArrayOfTerm">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:Term[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>


<complexType name="ArrayOfExtendedStatus">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:ExtendedStatus[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>




<complexType name="ArrayOfQueryAtom">
  <xsd:complexContent>
      <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:QueryAtom[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>



<complexType name="ArrayOfQueryResult">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:QueryResult[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>


<complexType name="ArrayOfint">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>


<complexType name="ArrayOfstring">
  <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
      <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
    </xsd:restriction>
  </xsd:complexContent>
</complexType>

</schema>

</types>




<!-- define operation: AddArchiveDocument-->
<message name="AddArchiveDocumentRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="irdocument" type="typens:IrDocument" />
</message>

<message name="AddArchiveDocumentResponse" >
      <part name="docid" type="xsd:int" />
</message>

<!-- define operation: AddArchiveDocuments -->
<message name="AddArchiveDocumentsRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="irdocuments" type="typens:ArrayOfIrDocument" />
</message>

<message name="AddArchiveDocumentsResponse" >
      <part name="docids" type="typens:ArrayOfint" />
</message>


<!-- define operation: ReplaceArchiveDocument-->
<message name="ReplaceArchiveDocumentRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="docid" type="xsd:string" />
   <part name="irdocument" type="typens:IrDocument" />
</message>

<message name="ReplaceArchiveDocumentResponse" >
</message>


<!-- define operation: RemoveArchiveDocument-->
<message name="RemoveArchiveDocumentRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="docid" type="xsd:string" />
</message>

<message name="RemoveArchiveDocumentResponse" >
</message>


<!-- define operation: GetDocumentID-->
<message name="GetDocumentIDRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="url" type="xsd:string" />
</message>

<message name="GetDocumentIDResponse" >
   <part name="ID" type="xsd:string" />
</message>


<!-- define operation: GetArchiveDocumentURL-->
<message name="GetArchiveDocumentURLRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="docid" type="xsd:string" />
</message>

<message name="GetArchiveDocumentURLResponse" >
   <part name="url" type="xsd:string" />
</message>


<!-- define operation: Query-->
<message name="QueryRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="query" type="typens:QuerySpec" />
</message>

<message name="QueryResponse" >
   <part name="results" type="typens:ArrayOfQueryResult" />
   <part name="maxresults" type="xsd:int" />
</message>


<!-- define operation: GetCachedPage-->
<message name="GetCachedPageRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="ID" type="xsd:string" />
   <part name="format" type="typens:PageFormat" />
</message>

<message name="GetCachedPageResponse" >
   <part name="type" type="xsd:string" />
   <part name="content" type="xsd:base64Binary" />
</message>


<!-- define operation: GetStatus -->
<message name="GetStatusRequest" >
   <part name="caller" type="typens:Caller" />
</message>

<message name="GetStatusResponse" >
   <part name="status" type="typens:Status" />
   <part name="extendedstatus" type="typens:ArrayOfExtendedStatus" />
</message>


<!-- define operation: GetThesaurusTerms -->
<message name="GetThesaurusTermsRequest" >
   <part name="caller" type="typens:Caller" />
   <part name="term" type="typens:Term" />
</message>

<message name="GetThesaurusTermsResponse" >
   <part name="terms" type="typens:ArrayOfTerm" />
</message>



<portType name="RTSearchPortType">

  <operation name="AddArchiveDocument" parameterOrder="caller irdocument docid">
    <input message="wsdlns:AddArchiveDocumentRequest" />
    <output message="wsdlns:AddArchiveDocumentResponse" />
  </operation>


 <operation name="AddArchiveDocuments" parameterOrder="caller irdocuments docids">
    <input message="wsdlns:AddArchiveDocumentsRequest" />
    <output message="wsdlns:AddArchiveDocumentsResponse" />
  </operation>

  <operation name="ReplaceArchiveDocument" parameterOrder="caller docid irdocument">
    <input message="wsdlns:ReplaceArchiveDocumentRequest" />
    <output message="wsdlns:ReplaceArchiveDocumentResponse" />
  </operation>

  <operation name="RemoveArchiveDocument" parameterOrder="caller docid">
    <input message="wsdlns:RemoveArchiveDocumentRequest" />
    <output message="wsdlns:RemoveArchiveDocumentResponse" />
  </operation>

  <operation name="GetDocumentID" parameterOrder="caller url ID">
    <input message="wsdlns:GetDocumentIDRequest" />
    <output message="wsdlns:GetDocumentIDResponse" />
  </operation>

  <operation name="GetArchiveDocumentURL" parameterOrder="caller docid url">
    <input message="wsdlns:GetArchiveDocumentURLRequest" />
    <output message="wsdlns:GetArchiveDocumentURLResponse" />
  </operation>

  <operation name="Query" parameterOrder="caller query results maxresults">
    <input message="wsdlns:QueryRequest" />
    <output message="wsdlns:QueryResponse" />
  </operation>

  <operation name="GetCachedPage" parameterOrder="caller ID format type content">
    <input message="wsdlns:GetCachedPageRequest" />
    <output message="wsdlns:GetCachedPageResponse" />
  </operation>

<operation name="GetStatus" parameterOrder="caller status extendedstatus">
    <input message="wsdlns:GetStatusRequest" />
    <output message="wsdlns:GetStatusResponse" />
  </operation>
   
<operation name="GetThesaurusTerms" parameterOrder="caller term terms">
    <input message="wsdlns:GetThesaurusTermsRequest" />
    <output message="wsdlns:GetThesaurusTermsResponse" />
  </operation>

</portType>



<binding  name="RTSearchBinding"  type="wsdlns:RTSearchPortType">

  <soap:binding  style="rpc" transport="http://schemas.xmlsoap.org/soap/http"; />

  <operation name="AddArchiveDocument" >
   <soap:operation soapAction="http://caribel.pisa.it/search/AddArchiveDocument"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>


 
  <operation name="AddArchiveDocuments" >
   <soap:operation soapAction="http://caribel.pisa.it/search/AddArchiveDocuments"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>
 
  
  <operation name="ReplaceArchiveDocument" >
   <soap:operation soapAction="http://caribel.pisa.it/search/ReplaceArchiveDocument"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

  <operation name="RemoveArchiveDocument" >
   <soap:operation soapAction="http://caribel.pisa.it/search/RemoveArchiveDocument"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

  <operation name="GetDocumentID" >
   <soap:operation soapAction="http://caribel.pisa.it/search/GetDocumentID"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

  <operation name="GetArchiveDocumentURL" >
   <soap:operation soapAction="http://caribel.pisa.it/search/GetArchiveDocumentURL"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

  <operation name="Query" >
   <soap:operation soapAction="http://caribel.pisa.it/search/Query"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

  <operation name="GetCachedPage" >
   <soap:operation soapAction="http://caribel.pisa.it/search/GetCachedPage"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

<operation name="GetStatus" >
   <soap:operation soapAction="http://caribel.pisa.it/search/GetStatus"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

<operation name="GetThesaurusTerms" >
   <soap:operation soapAction="http://caribel.pisa.it/search/GetThesaurusTerms"; />
   <input> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </input> 
   <output> 
     <soap:body use="encoded" namespace="http://caribel.pisa.it/search/"; 
	encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
   </output> 
  </operation>

</binding>




<service  name="RTSearchService" >
 <port name="RTSearchPort" binding="wsdlns:RTSearchBinding" >
     <soap:address location="http://192.168.1.135:8080/soap"; />
 </port>
</service>


</definitions> 

Reply via email to