PDA

Visualizza la versione completa : eccezione netbeans su web services


giucof
26-03-2012, 14:59
ciao a tutti, vi posto il wsdl che provo a caricare su netbeans.


<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns="http://www.ncbi.nlm.nih.gov"
targetNamespace="http://www.ncbi.nlm.nih.gov">
<wsdl:import namespace="http://www.ncbi.nlm.nih.gov"
location="http://www.ncbi.nlm.nih.gov/data_specs/ver/20110222/schema_alt/NCBI_Blast4_20110222.xsd"/>
<wsdl:types/>
<wsdl:message name="SubmitSearchLiteRequest">
<wsdl:part name="request" element="ns:Blast4-queue-search-request-lite"/>
</wsdl:message>
<wsdl:message name="SubmitSearchResponse">
<wsdl:part name="rid" element="ns:Blast4-queue-search-reply"/>
</wsdl:message>
<wsdl:message name="SubmitSearchRequest">
<wsdl:part name="request" element="ns:Blast4-queue-search-request"/>
</wsdl:message>
<wsdl:message name="CheckSearchStatusRequest">
<wsdl:part name="request" element="ns:Blast4-get-search-status-request"/>
</wsdl:message>
<wsdl:message name="CheckSearchStatusResponse">
<wsdl:part name="status" element="ns:Blast4-get-search-status-reply"/>
</wsdl:message>
<wsdl:message name="GetSearchResultsRequest">
<wsdl:part name="request" element="ns:Blast4-get-search-results-request"/>
</wsdl:message>
<wsdl:message name="GetSearchResultsResponse">
<wsdl:part name="results" element="ns:Blast4-get-search-results-reply"/>
</wsdl:message>
<wsdl:message name="GetDatabasesRequest">
<wsdl:part name="parameter" element="ns:Blast4-request"/>
</wsdl:message>
<wsdl:message name="GetDatabasesResponse">
<wsdl:part name="databases" element="ns:Blast4-get-databases-reply"/>
</wsdl:message>
<wsdl:message name="GetSupportedMatricesRequest">
<wsdl:part name="parameter" element="ns:Blast4-request"/>
</wsdl:message>
<wsdl:message name="GetSupportedMatricesResponse">
<wsdl:part name="matrices" element="ns:Blast4-get-matrices-reply"/>
</wsdl:message>
<wsdl:message name="GetSupportedOptionsRequest">
<wsdl:part name="parameter" element="ns:Blast4-request"/>
</wsdl:message>
<wsdl:message name="GetSupportedOptionsResponse">
<wsdl:part name="options" element="ns:Blast4-get-parameters-reply"/>
</wsdl:message>
<wsdl:message name="GetSupportedTasksRequest">
<wsdl:part name="parameter" element="ns:Blast4-request"/>
</wsdl:message>
<wsdl:message name="GetSupportedTasksResponse">
<wsdl:part name="tasks" element="ns:Blast4-get-paramsets-reply"/>
</wsdl:message>
<wsdl:message name="GetSupportedProgramsRequest">
<wsdl:part name="parameter" element="ns:Blast4-request"/>
</wsdl:message>
<wsdl:message name="GetSupportedProgramsResponse">
<wsdl:part name="programs" element="ns:Blast4-get-programs-reply"/>
</wsdl:message>
<wsdl:message name="GetSequencesRequest">
<wsdl:part name="parameter" element="ns:Blast4-get-sequences-request"/>
</wsdl:message>
<wsdl:message name="GetSequencesResponse">
<wsdl:part name="bioseq" element="ns:Blast4-get-sequences-reply"/>
</wsdl:message>
<wsdl:message name="GetSearchStrategyRequest">
<wsdl:part name="request" element="ns:Blast4-get-search-strategy-request"/>
</wsdl:message>
<wsdl:message name="GetSearchStrategyResponse">
<wsdl:part name="reply" element="ns:Blast4-get-search-strategy-reply"/>
</wsdl:message>
<wsdl:portType name="BlastWS">
<wsdl:operation name="SubmitSearchLite">
<wsdl:input message="ns:SubmitSearchLiteRequest"/>
<wsdl:output message="ns:SubmitSearchResponse"/>
</wsdl:operation>
<wsdl:operation name="SubmitSearch">
<wsdl:input message="ns:SubmitSearchRequest"/>
<wsdl:output message="ns:SubmitSearchResponse"/>
</wsdl:operation>
<wsdl:operation name="CheckSearchStatus">
<wsdl:input message="ns:CheckSearchStatusRequest"/>
<wsdl:output message="ns:CheckSearchStatusResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSearchResults">
<wsdl:input message="ns:GetSearchResultsRequest"/>
<wsdl:output message="ns:GetSearchResultsResponse"/>
</wsdl:operation>
<wsdl:operation name="GetDatabases">
<wsdl:input message="ns:GetDatabasesRequest"/>
<wsdl:output message="ns:GetDatabasesResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSupportedMatrices">
<wsdl:input message="ns:GetSupportedMatricesRequest"/>
<wsdl:output message="ns:GetSupportedMatricesResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSupportedOptions">
<wsdl:input message="ns:GetSupportedOptionsRequest"/>
<wsdl:output message="ns:GetSupportedOptionsResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSupportedTasks">
<wsdl:input message="ns:GetSupportedTasksRequest"/>
<wsdl:output message="ns:GetSupportedTasksResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSupportedPrograms">
<wsdl:input message="ns:GetSupportedProgramsRequest"/>
<wsdl:output message="ns:GetSupportedProgramsResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSequences">
<wsdl:input message="ns:GetSequencesRequest"/>
<wsdl:output message="ns:GetSequencesResponse"/>
</wsdl:operation>
<wsdl:operation name="GetSearchStrategy">
<wsdl:input message="ns:GetSearchStrategyRequest"/>
<wsdl:output message="ns:GetSearchStrategyResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BlastWSBinding" type="ns:BlastWS">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SubmitSearchLite">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SubmitSearch">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="CheckSearchStatus">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSearchResults">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetDatabases">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSupportedMatrices">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSupportedOptions">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSupportedTasks">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSupportedPrograms">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSequences">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSearchStrategy">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="BlastWebService">
<wsdl:port name="BlastWebService" binding="ns:BlastWSBinding">
<soap:address location="http://www.ncbi.nlm.nih.gov/blast/netblast/blastws.cgi"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

netbeans non me lo carica perchè mi lancia la seguente eccezione:

[ERROR] Schema descriptor {http://www.ncbi.nlm.nih.gov}Blast4-queue-search-request-lite in message part "request" is not defined and could not be bound to Java. Perhaps the schema descriptor {http://www.ncbi.nlm.nih.gov}Blast4-queue-search-request-lite is not defined in the schema imported/included in the WSDL. You can either add such imports/includes or run wsimport and provide the schema location using -b switch.

qualcuno può aiutarmi?
grazie.

valia
26-03-2012, 15:05
hai provato con


You can either add such imports/includes or run wsimport and provide the schema location using -b switch. ?

Probabile sia il wsdl bacato cmq

alka
26-03-2012, 15:18
Originariamente inviato da giucof
ciao a tutti, vi posto il wsdl che provo a caricare su netbeans.


E' l'ennesima volta che sbagli sezione a postare (vedi qui (http://forum.html.it/forum/showthread.php?s=&threadid=1501541)).

Leggi e rispetta il Regolamento (http://forum.html.it/forum/showthread.php?s=&threadid=973887).

E non segnalare la discussione lamentandoti come l'ultima volta, visto che continui a sbagliare: cerca invece di fare più attenzione.

Loading