2016-06-15 1 views
0

acessing 때, 그것은 suds.TypeNotFound: Type not found: '(schema, http://www.w3.org/2001/XMLSchema,)' 오류가 발생합니다 JavaEE 어플로, 그것은 결과였다 ./wsimport -keep -verbose http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl :suds.TypeNotFound (ASP.NET으로 작성)를 ASMX의 웹 서비스를 소비하는 비눗물을 사용하여 웹 서비스

parsing WSDL...

[WARNING] src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace ' http://www.w3.org/2001/XMLSchema ', but components from this namespace are not referenceable from schema document ' http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl#types?schema1 '. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to ' http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl#types?schema1 '.

line 65 of http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl#types?schema1

[WARNING] src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.

line 65 of http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl#types?schema1

[ERROR] undefined element declaration 's:schema'

line 65 of http://telemetriaws1.ana.gov.br/ServiceANA.asmx?wsdl

,536,913,632 10

그리고 마지막으로 많은 다른 오류가 있습니다.

요청의 설명이다

: 응답의 설명이다

POST /ServiceANA.asmx HTTP/1.1

Host: telemetriaws1.ana.gov.br

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: " http://MRCS/DadosHidrometeorologicos "

<?xml version="1.0" encoding="utf-8"?> 
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
    <soap:Body> 
    <DadosHidrometeorologicos xmlns="http://MRCS/"> 
     <codEstacao>string</codEstacao> 
     <dataInicio>string</dataInicio> 
     <dataFim>string</dataFim> 
    </DadosHidrometeorologicos> 
    </soap:Body> 
</soap:Envelope> 

:

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?> 
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
    <soap:Body> 
    <DadosHidrometeorologicosResponse xmlns="http://MRCS/"> 
     <DadosHidrometeorologicosResult>xmlxml</DadosHidrometeorologicosResult> 
    </DadosHidrometeorologicosResponse> 
    </soap:Body> 
</soap:Envelope> 

답변

관련 문제