Please also provide the tyoe definition of common:BaseRequest.

On 3/20/06, Marc Brette <[EMAIL PROTECTED]> wrote:
Here it is. It is quite complex because there are
dozens of operation and .xsd inclusion, so I just
extracted the relevant data structures (I can provide
the whole WSDL if needed).

WSDL:
[...]
<import
namespace="http://search.search.services.v1.wsapi.lexisnexis.com "
schemaLocation="Search.xsd"/>
[...]
<message name="Search-SearchReqMsg">
        <part element="search-search:Search"
name="SearchRequest"/>
</message>
<message name="Search-SearchRespMsg">
        <part element="search-search:SearchResponse"
name="SearchResponse"/>
</message>
[...]
<portType name="SearchSoapPort">
        <operation name="Search">
                <input message="tns:Search-SearchReqMsg"/>
                <output message="tns:Search-SearchRespMsg"/>
        </operation>
</portType>
[...]
<binding name="SearchSoapBinding"
type="tns:SearchSoapPort">
        <soap11:binding style="document"
transport=" http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Search">
                <soap11:operation soapAction=""/>
                <input>
                        <soap11:body use="literal"/>
                </input>
                <output>
                        <soap11:body use="literal"/>
                </output>
        </operation>
        <operation name="NarrowSearch">
                <soap11:operation soapAction=""/>
                <input>
                        <soap11:body use="literal"/>
                </input>
                <output>
                        <soap11:body use="literal"/>
                </output>
        </operation>
</binding>
[...]


Search.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"

targetNamespace="http://search.search.services.v1.wsapi.lexisnexis.com "

xmlns:tns="http://search.search.services.v1.wsapi.lexisnexis.com"

xmlns:common=" http://common.services.v1.wsapi.lexisnexis.com"

xmlns:result="http://result.common.services.v1.wsapi.lexisnexis.com"

xmlns:searchcommon=" http://common.search.services.v1.wsapi.lexisnexis.com"

xmlns:security=" http://security.common.services.v1.wsapi.lexisnexis.com"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="1.0">

  <import
namespace="http://common.services.v1.wsapi.lexisnexis.com"
          schemaLocation="Common.xsd"/>
  <import
namespace=" http://result.common.services.v1.wsapi.lexisnexis.com"
          schemaLocation="Result.xsd"/>
  <import
namespace=" http://common.search.services.v1.wsapi.lexisnexis.com"
          schemaLocation="SearchCommon.xsd"/>
  <import
namespace=" http://security.common.services.v1.wsapi.lexisnexis.com"
          schemaLocation="Security.xsd"/>

  <!-- Message elements -->
  <element name="Search" type="tns:Search">
    <annotation>
      <documentation>
        Represents a LexisNexis search and retrieval.
Many options are
        exposed to allow a user to customize the
search request.
      </documentation>
    </annotation>
  </element>

  <element name="SearchResponse"
type="result:SearchResponse">
    <annotation>
      <documentation>
        The response from a search request is a set of
search results,
        containing document identifiers along with
documents in the
        specified or default output format.
      </documentation>
    </annotation>
  </element>

  <!-- Types -->
  <complexType name="Search">
        <complexContent>
          <extension base="common:BaseRequest">
            <sequence>
              <element name="binarySecurityToken"
type="security:BinarySecurityToken">
                <annotation>
                  <documentation>

<example>f4348ad8876542bc93748c89fb98a7e</example>
                    Security token that must be provided on
all non-authentication
                    requests.
                  </documentation>
                </annotation>
              </element>
              <element name="sourceInformation"
type="searchcommon:SourceInformationChoice">
                <annotation>
                  <documentation>
                       Either a list of source identifiers or
a single secured
                      source identifier.
                  </documentation>
                </annotation>
              </element>
              <element name="query" type="string">
                <annotation>
                  <documentation>
                    <example>cats and dogs and
hamsters</example>
                      Query string for the search request,
formatted in the
                      appropriate syntax for the selected
search method.
                  </documentation>
                </annotation>
              </element>
              <element name="projectId"
type="common:ProjectId" minOccurs="0">
                <annotation>
                  <documentation>
                    <example>Research Project 001</example>
                    Used for client or project identification
purposes.  This
                    identifier will be associated with each
search transaction
                    and will be reported on your
organization&apos;s invoice.
                     </documentation>
                </annotation>
              </element>
              <element name="searchOptions"
type="searchcommon:SearchOptions" minOccurs="0">
                <annotation>
                  <documentation>
                    Options pertaining to fine-tuning the
search.
                  </documentation>
                </annotation>
              </element>
              <element name="retrievalOptions"
type="result:RetrievalOptions" minOccurs="0">
                <annotation>
                  <documentation>
                    Options pertaining to the view, markup,
and range of documents retrieved from
                    the result set returned from the search.
                  </documentation>
                </annotation>
              </element>
            </sequence>
          </extension>
        </complexContent>
  </complexType>

</schema>


SearchCommon.xsd:
<?xml version=" 1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"

targetNamespace=" http://common.search.services.v1.wsapi.lexisnexis.com"

xmlns:tns="http://common.search.services.v1.wsapi.lexisnexis.com"

xmlns:result="http://result.common.services.v1.wsapi.lexisnexis.com"

xmlns:common=" http://common.services.v1.wsapi.lexisnexis.com"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="1.0">

  <import
namespace="http://result.common.services.v1.wsapi.lexisnexis.com"
        schemaLocation="Result.xsd"/>
  <import
namespace="http://common.services.v1.wsapi.lexisnexis.com"
                schemaLocation="Common.xsd"/>

  <!-- Common search request type definitions -->
  <complexType name="SourceInformationChoice">
    <sequence>
      <element name="sourceIdList"
type="common:SourceIdList" minOccurs="0">
        <annotation>
          <documentation>
            A grouping of LexisNexis sources.
Mutually exclusive of
            the securedSourceId element.
          </documentation>
        </annotation>
      </element>
      <element name="securedSourceId" type="string"
minOccurs="0">
        <annotation>
          <documentation>
            Unique identifier for a "secured"
LexisNexis source.  Mutually
            exclusive of the sourceIdList element.
          </documentation>
        </annotation>
      </element>
    </sequence>
  </complexType>
[...]

Common.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"

targetNamespace=" http://common.services.v1.wsapi.lexisnexis.com"

xmlns:tns="http://common.services.v1.wsapi.lexisnexis.com "
        elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0">

[...]

  <complexType name="SourceIdList">
    <sequence>
      <element ref="tns:sourceId" maxOccurs="10000">
        <annotation>
          <documentation>Unique identifier for a
standard LexisNexis source.</documentation>
        </annotation>
      </element>
    </sequence>
  </complexType>

  <element name="sourceId" type="integer">
    <annotation>
      <documentation>Unique identifier for a standard
LexisNexis source.</documentation>
    </annotation>
  </element>
[...]
--- Anne Thomas Manes <[EMAIL PROTECTED]> a écrit :

> Would you please supply the rest of the WSDL? (or at
> least the bits that
> describe the message and element structure)
>
> Anne
>
> On 3/16/06, Marc Brette <[EMAIL PROTECTED]> wrote:
> >
> > Then this may not be the same issue. The binding
> is
> > defined as follow:
> > <binding name="SearchSoapBinding"
> > type="tns:SearchSoapPort">
> >   <soap11:binding style="document"
> > transport="http://schemas.xmlsoap.org/soap/http"/>
> >   <operation name="Search">
> >     <soap11:operation soapAction=""/>
> >     <input>
> >       <soap11:body use="literal"/>
> >     </input>
> >     <output>
> >       <soap11:body use="literal"/>
> >     </output>
> >   </operation>
> >   <operation name="NarrowSearch">
> >     <soap11:operation soapAction=""/>
> >     <input>
> >       <soap11:body use="literal"/>
> >     </input>
> >     <output>
> >       <soap11:body use="literal"/>
> >     </output>
> >   </operation>
> > </binding>
> >
> > See below the axis 1.1 request (that works) and
> the
> > axis 1.3 request:
> > 1.1: (I cut some part for simplicity sake)
> > <?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>
> >   <Search
> >
>
xmlns="http://search.search.services.v1.wsapi.lexisnexis.com ">
> >
> <binarySecurityToken>[...]</binarySecurityToken>
> >    <sourceInformation>
> >     <ns1:sourceIdList
> >
>
xmlns:ns1=" http://common.search.services.v1.wsapi.lexisnexis.com">
> >      <ns2:sourceId
> >
>
xmlns:ns2="http://common.services.v1.wsapi.lexisnexis.com
> > ">274668</ns2:sourceId>
> >     </ns1:sourceIdList>
> >    </sourceInformation>
> >    <query>[...]</query>
> >    <projectId>[...]</projectId>
> >    <searchOptions>[...]
> >    </searchOptions>
> >    <retrievalOptions>[...]
> >    </retrievalOptions>
> >   </Search>
> > </soapenv:Body>
> > </soapenv:Envelope>
> >
> > 1.3 (look at the difference in the sourceIdList
> tag)
> > <?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>
> >     <Search
> >
>
xmlns="http://search.search.services.v1.wsapi.lexisnexis.com">
> >
> <binarySecurityToken>[...]</binarySecurityToken>
> >       <sourceInformation>
> >         <ns1:sourceIdList xsi:type="xsd:integer"
> >
>
xmlns:ns1=" http://common.search.services.v1.wsapi.lexisnexis.com
> > ">274668</ns1:sourceIdList>
> >       </sourceInformation>
> >       <query>[...]</query>
> >       <projectId>[...]</projectId>
> >       <searchOptions>[...]</searchOptions>
> >       <retrievalOptions>[...]</retrievalOptions>
> >     </Search>
> >   </soapenv:Body>
> > </soapenv:Envelope>
> >
> > --- Anne Thomas Manes <[EMAIL PROTECTED]> a écrit
> :
> >
> > > Sorry -- that was a typo:
> > >
> > > You *cannot* use soapenc:array or SOAP encoding
> with
> > > use="literal".
> > >
> > > Anne
> > >
> > > On 3/15/06, Dies Koper <[EMAIL PROTECTED] >
> wrote:
> > > >
> > > > Hello Anne,
> > > >
> > > > Recently, I noticed a few issues with WSDL
> files
> > > that used soapenc:array
> > > > or simple types such as soapenc:int with
> > > use=literal. What are the
> > > > consequences of this mixing? What should be
> > > happening?
> > > >
> > > > For example, the JAX-RPC specification says
> that
> > > all soapenc types are
> > > > nillable. Does that mean <element
> > > type="soapenc:int" nillable="false"/>
> > > > still maps to Integer (not int)? Or only when
> > > use="encoded"?
> > > >
> > > > >   <wsdlsoap:body encodingStyle="
> > > > http://schemas.xmlsoap.org/soap/encoding/"
> > > > >
> > > namespace="http://demo.radialpoint.com/service "
> > > use="literal" />
> > > > >
> > > > > It should say:
> > > > >
> > > > >   <wsdlsoap:body encodingStyle="
> > > > http://schemas.xmlsoap.org/soap/encoding/"
> > > > >
> > > namespace=" http://demo.radialpoint.com/service"
> > > use="encoded" />
> > > > >
> > > > > You can use soapenc:array or SOAP encoding
> with
> > > use="literal".
> > > >
> > > > If you can, does that mean that Erik could
> also
> > > fix it like this?
> > > >
> > > >     <wsdlsoap:body
> > > namespace=" http://demo.radialpoint.com/service"
> > > > use="literal" />
> > > >
> > > > Thanks,
> > > > Dies
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
___________________________________________________________________________
> > Nouveau : téléphonez moins cher avec Yahoo!
> Messenger ! Découvez les
> > tarifs exceptionnels pour appeler la France et
> l'international.
> > Téléchargez sur http://fr.messenger.yahoo.com
> >
>







___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

Reply via email to