| RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method' |
- From: ISRAEL ANDRES LASO
- Subject: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method'
- Date: Fri, 20 May 2005 01:59:28 +1000
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hello Bill, ok, this is the wsdl for my web service(in the end I have put a instance for the parameter 'msg_Empleado' [parameter of the web method]) : <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:s1="http://LemonaSchemas.IncidenciasNomina_Out <http://LemonaSchemas.IncidenciasNomina_Out> " xmlns:http="http://schemas.xmlsoap.org/wsdl/http/ <http://schemas.xmlsoap.org/wsdl/http/> " xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ <http://schemas.xmlsoap.org/wsdl/soap/> " xmlns:s="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema> " xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/> " xmlns:tns="http://tempuri.org/ <http://tempuri.org/> " xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/ <http://microsoft.com/wsdl/mime/textMatching/> " xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/ <http://schemas.xmlsoap.org/wsdl/mime/> " targetNamespace="http://tempuri.org/ <http://tempuri.org/> " xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/ <http://schemas.xmlsoap.org/wsdl/> "> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/ <http://tempuri.org/> "> <s:import namespace="http://LemonaSchemas.IncidenciasNomina_Out <http://LemonaSchemas.IncidenciasNomina_Out> " /> <s:element name="ImportarIncidencias"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" ref="s1:msg_Empleado" /> </s:sequence> </s:complexType> </s:element> <s:element name="ImportarIncidenciasResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ImportarIncidenciasResult" type="s:string" /> </s:sequence> </s:complexType> </s:element> </s:schema> <s:schema elementFormDefault="qualified" targetNamespace="http://LemonaSchemas.IncidenciasNomina_Out <http://LemonaSchemas.IncidenciasNomina_Out> "> <s:element name="msg_Empleado" type="s1:Empleado" /> <s:complexType name="Empleado"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" form="unqualified" name="Incidencia" type="s1:EmpleadoIncidencia" /> </s:sequence> <s:attribute name="codigo" type="s:string" /> <s:attribute name="fecha" type="s:string" /> </s:complexType> <s:complexType name="EmpleadoIncidencia"> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" form="unqualified" name="Cantidad" type="s:string" /> </s:sequence> <s:attribute name="codigo" type="s:string" /> </s:complexType> </s:schema> </wsdl:types> <wsdl:message name="ImportarIncidenciasSoapIn"> <wsdl:part name="parameters" element="tns:ImportarIncidencias" /> </wsdl:message> <wsdl:message name="ImportarIncidenciasSoapOut"> <wsdl:part name="parameters" element="tns:ImportarIncidenciasResponse" /> </wsdl:message> <wsdl:portType name="WSIncidenciasNominaSoap"> <wsdl:operation name="ImportarIncidencias"> <wsdl:input message="tns:ImportarIncidenciasSoapIn" /> <wsdl:output message="tns:ImportarIncidenciasSoapOut" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="WSIncidenciasNominaSoap" type="tns:WSIncidenciasNominaSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http <http://schemas.xmlsoap.org/soap/http> " style="document" /> <wsdl:operation name="ImportarIncidencias"> <soap:operation soapAction="http://tempuri.org/ImportarIncidencias <http://tempuri.org/ImportarIncidencias> " 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="WSIncidenciasNomina"> <documentation xmlns="http://schemas.xmlsoap.org/wsdl/ <http://schemas.xmlsoap.org/wsdl/> " /> <wsdl:port name="WSIncidenciasNominaSoap" binding="tns:WSIncidenciasNominaSoap"> <soap:address location="http://webservices:8088/WSIncidenciasNominaMensuales/WSIncidenciasNominaMensuales.asmx <http://webservices:8088/WSIncidenciasNominaMensuales/WSIncidenciasNominaMensuales.asmx> " /> </wsdl:port> </wsdl:service> </wsdl:definitions> Instance of msg_Empleado: <?xml version="1.0" encoding="ISO-8859-1" ?> <ns0:IncidenciasMensuales mes="02/2005" xmlns:ns0="http://LemonaSchemas.IncidenciasNomina_In"> <Empleados> <ns1:Empleado codigo="580001/1" fecha="" xmlns:ns1=http://LemonaSchemas.IncidenciasNomina_Out> <Incidencia codigo="130"> <Cantidad>666</Cantidad> </Incidencia> <Incidencia codigo="9000"> <Cantidad>0,01</Cantidad> </Incidencia> <ns1:Empleado codigo="580001/1" fecha="" xmlns:ns1=http://LemonaSchemas.IncidenciasNomina_Out /> ...more elements... ... ... thanks, Israel. ________________________________ De: biztalkerlist@xxxxxxxxxxxxxxxxxxxxxx en nombre de Bill Chesnut Enviado el: jue 19/05/2005 15:39 Para: BizTalker@xxxxxxxxxxxxxxxxxxxxxx Asunto: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method' Israel, Is it possible for you to post to the list the wsdl for the web service that your are trying to call from BizTalk? Bill Chesnut Readify - Senior Consultant M: +61 0404 063 648 ________________________________ From: biztalkerlist@xxxxxxxxxxxxxxxxxxxxxx [mailto:biztalkerlist@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of ISRAEL ANDRES LASO Sent: Thursday, 19 May 2005 10:07 PM To: BizTalker@xxxxxxxxxxxxxxxxxxxxxx Subject: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method' Hello, i need help with a problem. I have orchestation where I consume a Web service. In the orchestation I have a 'Construct Message Shape' where I assign a source message to a target message(this last is a web message of mi web service). When the message is completed I call to the asp.net web service with this web message like parameter. But when I start the orchestation do not nothing and i find this error in Event Log: Tipe: XLANG/s Description: You must to implement the method Add(System.Objetc) in LemonaSchemas.webservices.WSIncidenciasNomina_.ImportarIncidencias_request because it inherits from IEnumerable. Exception type: InvalidOperationException Source: System.Xml Target Site: System.Type GetEnumeratorElementType(System.Type) Help Link: Additional error information: The asp.net Web service not is invoked(the IIS´s logs are in blank) regards and thanks, Israel Andrés. to unsubscribe to this list, please send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by http://www.readify.net to unsubscribe to this list, please send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by http://www.readify.net to unsubscribe to this list, please send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by http://www.readify.net
<<winmail.dat>>
(Click here for more information on the biztalkers mailling list)
- Prev by Date: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method'
- Next by Date: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method'
- Previous by thread: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method'
- Next by thread: RE: [BizTalker] XLANG Error- 'You must to implement Add(System.Object) method'
- Index(es):
