Foros del Web » Programación para mayores de 30 ;) » Java »

Spring+WSDL+WS Client

Estas en el tema de Spring+WSDL+WS Client en el foro de Java en Foros del Web. Estimados sabes tengo el siguiente problema estoy tratando de implementar un cliente ws mediante spring el problema es que cuando trato de validar el siguiente ...
  #1 (permalink)  
Antiguo 27/09/2012, 14:02
 
Fecha de Ingreso: abril-2003
Ubicación: Santiago
Mensajes: 212
Antigüedad: 21 años
Puntos: 0
Spring+WSDL+WS Client

Estimados sabes tengo el siguiente problema estoy tratando de implementar un cliente ws mediante spring el problema es que cuando trato de validar el siguiente wsdl no funciona.
El wsdl que tengo es el siguinete
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.ibm.com/xmlns/db2/cm/webservices/1.0/schema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://www.ibm.com/xmlns/db2/cm/webservices/1.0/schema" xmlns:intf="http://www.ibm.com/xmlns/db2/cm/webservices/1.0/schema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://webservices.mm.ibm.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://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<element name="Multipart" nillable="true" type="apachesoap:Multipart"/>
</schema>
<schema targetNamespace="http://webservices.mm.ibm.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="CMBXMLResponse">
<sequence>
<element name="xmlResponseText" nillable="true" type="xsd:string"/>
<element name="attachments" nillable="true" type="apachesoap:Multipart"/>
</sequence>
</complexType>
<element name="CMBXMLResponse" nillable="true" type="tns1:CMBXMLResponse"/>
</schema>
</wsdl:types>
<wsdl:message name="processXMLRequestResponse">
<wsdl:part name="processXMLRequestReturn" type="tns1:CMBXMLResponse"/>
</wsdl:message>
<wsdl:message name="processXMLRequestRequest">
<wsdl:part name="xmlRequestText" type="xsd:string"/>
<wsdl:part name="mp" type="xsd:hexBinary"/>
</wsdl:message>
<wsdl:portType name="CMBGenericWebService">
<wsdl:operation name="processXMLRequest" parameterOrder="xmlRequestText mp">
<wsdl:input message="impl:processXMLRequestRequest" name="processXMLRequestRequest"/>
<wsdl:output message="impl:processXMLRequestResponse" name="processXMLRequestResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CMBGenericWebServiceSoapBinding" type="impl:CMBGenericWebService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="processXMLRequest">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="processXMLRequestRequest">
<mime:multipartRelated>
<mime:part>
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.ibm.com/xmlns/db2/cm/webservices/1.0/schema" parts="xmlRequestText" use="encoded"/>
</mime:part>
<mime:part>
<mime:content part="mp" type="multipart/*"/>
</mime:part>
</mime:multipartRelated>
</wsdl:input>
<wsdl:output name="processXMLRequestResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://www.ibm.com/xmlns/db2/cm/webservices/1.0/schema" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CMBGenericWebServiceService">
<wsdl:port binding="impl:CMBGenericWebServiceSoapBinding" name="CMBGenericWebService">
<wsdlsoap:address location="http://192.168.10.206:9082/CMBGenericWebService/services/CMBGenericWebService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
me gustria que em ayudaran mas con este tema ya que he leido y buscado bastante informacion pero no he podido implementar un cliente ws con este wsdl

Etiquetas: spring, wsdl
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 15:38.