Java - error al generar Client de web service

 
Vista:
sin imagen de perfil

error al generar Client de web service

Publicado por karolina (2 intervenciones) el 22/06/2007 01:28:59
Hola neceisto ayuda estoy conswtruyendo un web services y un cliente ok, el servidor ya esta y funciona recibe lo cree en Workshop y genera el wsdl en un paso. ese wsdl lo importo a eclipse para poder crear el client como sabran hay un plugin qu egenera el clinete si tienen un wsdl pero a mi me paraca el siguiente error:

IWAB0399E Error in generating Java from WSDL: java.io.IOException: Element STATUS_DEV_REQUEST is referenced but not defined.

Creo saber que e sporque rceibe datos complejos algo asi peor no he logrado entender bien eso este es mi WSDL:


<?xml version="1.0" encoding="utf-8"?>
<!-- @editor-info:link autogen="true" source="WebSevicesFastel.jws" -->
<wsdl:definitions xmlns="" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.openuri.org/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema">
<s:import/>
<s:element name="actualizaStatusDelPP">
<s:complexType>
<s:sequence>
<s:element ref="STATUS_DEV_REQUEST"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="actualizaStatusDelPPResponse">
<s:complexType>
<s:sequence>
<s:element name="actualizaStatusDelPPResult" type="s:string" minOccurs="0"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
<!--W3C Schema generated by XMLSpy v2006 U (http://www.altova.com)-->
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="STATUS_DEV_REQUEST">
<xs:complexType>
<xs:sequence>
<xs:element name="FOLIO" type="xs:string"/>
<xs:element name="TIPO_DEV" type="xs:string"/>
<xs:element name="STATUS" type="xs:string"/>
<xs:element name="OBSERVACIONES" type="xs:string"/>
<xs:element name="FECHA_CAMBIO" type="xs:string"/>
<xs:element name="FECHA_RECOLECCION_RECHAZO" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

</wsdl:types>
<wsdl:message name="actualizaStatusDelPPSoapIn">
<wsdl:part name="parameters" element="s0:actualizaStatusDelPP"/>
</wsdl:message>
<wsdl:message name="actualizaStatusDelPPSoapOut">
<wsdl:part name="parameters" element="s0:actualizaStatusDelPPResponse"/>
</wsdl:message>
<wsdl:portType name="WebSevicesFastelSoap">
<wsdl:operation name="actualizaStatusDelPP">
<wsdl:input message="s0:actualizaStatusDelPPSoapIn"/>
<wsdl:output message="s0:actualizaStatusDelPPSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WebSevicesFastelSoap" type="s0:WebSevicesFastelSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="actualizaStatusDelPP">
<soap:operation soapAction="http://www.openuri.org/actualizaStatusDelPP" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WebSevicesFastel">
<wsdl:port name="WebSevicesFastelSoap" binding="s0:WebSevicesFastelSoap">
<soap:address location="http://localhost:7001/WSFAstel/WebSevicesFastel.jws"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder