04-25-05 10:51 PM
Do your 20 elements have the same tag name? If so, check your schema to see
that the minOccur and maxOccur properties of the node have the corrrect
values. By default, minOccur = 1 and maxOccur = 1. Try to set maxOccur =
unbounded.
Michel
"Janusz Jezowicz" <jezowicz@gmail.com> wrote in message
news:26d03b2a.0504241402.41df6632@posting.google.com...
>I have a webservice (specified below) and for testing purposes I
> wanted to generate a message (request message for webservice) using
> the Construct message a message assignment in Biztalk editor.
> Everything is fine. Message is constructed and is sent to a file
> adapter. However, only first element is shown even though the request
> message for webservice has about 20 elements.
>
> My orchestration looks like:
>
> 1. request some message from the file adapter (just for activation of
> orchestration)
>
> 2. construct ProcessLeadRequest message (I am assigning static values
> in biztalk expression)
>
> 3. send constructed message to file adapter
>
> The received file is:
>
> <?xml version="1.0" encoding="utf-8"?>
> <string>xxxx</string>
>
> Where xxxx is the content of ID element in ProcessLeadRequest (which
> is the first element defined in WSDL). I do not know if it is
> coincidence.
>
> Why is not the whole message transmitted to the file?
>
>
>
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:s="http://www.w3.org/2001/XMLSchema"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:tns="http://leadbay.co.uk"
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> targetNamespace="http://leadbay.co.uk"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
> <wsdl:types>
> <s:schema elementFormDefault="qualified"
> targetNamespace="http://leadbay.co.uk">
> <s:element name="ProcessLead">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="ID"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Title"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="First_Name"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Surname"
> type="s:string" />
> <s:element minOccurs="1" maxOccurs="1" name="DOBDay"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="DOBMonth"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="DOBYear"
> type="s:int" />
> <s:element minOccurs="0" maxOccurs="1" name="Adr1"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Adr2"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Town"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="County"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Postcode"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Home_Phone"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Work_Phone"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Mobile_Phone"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="Email"
> type="s:string" />
> <s:element minOccurs="1" maxOccurs="1"
> name="Mortgage_Type" type="s:int" />
> <s:element minOccurs="1" maxOccurs="1"
> name="Mortgage_Size" type="s:int" />
> <s:element minOccurs="1" maxOccurs="1"
> name="Property_Value" type="s:int" />
> <s:element minOccurs="1" maxOccurs="1"
> name="Mortgage_Time_Scale" type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="Payment_Term"
> type="s:int" />
> <s:element minOccurs="0" maxOccurs="1" name="Other_Info"
> type="s:string" />
> <s:element minOccurs="1" maxOccurs="1" name="SelfCert"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="BadCredit"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="FTB"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="FP"
> type="s:int" />
> <s:element minOccurs="1" maxOccurs="1" name="AffiliateID"
> type="s:int" />
> <s:element minOccurs="0" maxOccurs="1" name="Password"
> type="s:string" />
> </s:sequence>
> </s:complexType>
> </s:element>
> <s:element name="ProcessLeadResponse">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1"
> name="ProcessLeadResult">
> <s:complexType mixed="true">
> <s:sequence>
> <s:any />
> </s:sequence>
> </s:complexType>
> </s:element>
> </s:sequence>
> </s:complexType>
> </s:element>
> </s:schema>
> </wsdl:types>
> <wsdl:message name="ProcessLeadSoapIn">
> <wsdl:part name="parameters" element="tns:ProcessLead" />
> </wsdl:message>
> <wsdl:message name="ProcessLeadSoapOut">
> <wsdl:part name="parameters" element="tns:ProcessLeadResponse" />
> </wsdl:message>
> <wsdl:message name="ProcessLeadHttpGetIn">
> <wsdl:part name="ID" type="s:string" />
> <wsdl:part name="Title" type="s:string" />
> <wsdl:part name="First_Name" type="s:string" />
> <wsdl:part name="Surname" type="s:string" />
> <wsdl:part name="DOBDay" type="s:string" />
> <wsdl:part name="DOBMonth" type="s:string" />
> <wsdl:part name="DOBYear" type="s:string" />
> <wsdl:part name="Adr1" type="s:string" />
> <wsdl:part name="Adr2" type="s:string" />
> <wsdl:part name="Town" type="s:string" />
> <wsdl:part name="County" type="s:string" />
> <wsdl:part name="Postcode" type="s:string" />
> <wsdl:part name="Home_Phone" type="s:string" />
> <wsdl:part name="Work_Phone" type="s:string" />
> <wsdl:part name="Mobile_Phone" type="s:string" />
> <wsdl:part name="Email" type="s:string" />
> <wsdl:part name="Mortgage_Type" type="s:string" />
> <wsdl:part name="Mortgage_Size" type="s:string" />
> <wsdl:part name="Property_Value" type="s:string" />
> <wsdl:part name="Mortgage_Time_Scale" type="s:string" />
> <wsdl:part name="Payment_Term" type="s:string" />
> <wsdl:part name="Other_Info" type="s:string" />
> <wsdl:part name="SelfCert" type="s:string" />
> <wsdl:part name="BadCredit" type="s:string" />
> <wsdl:part name="FTB" type="s:string" />
> <wsdl:part name="FP" type="s:string" />
> <wsdl:part name="AffiliateID" type="s:string" />
> <wsdl:part name="Password" type="s:string" />
> </wsdl:message>
> <wsdl:message name="ProcessLeadHttpGetOut">
> <wsdl:part name="Body" />
> </wsdl:message>
> <wsdl:message name="ProcessLeadHttpPostIn">
> <wsdl:part name="ID" type="s:string" />
> <wsdl:part name="Title" type="s:string" />
> <wsdl:part name="First_Name" type="s:string" />
> <wsdl:part name="Surname" type="s:string" />
> <wsdl:part name="DOBDay" type="s:string" />
> <wsdl:part name="DOBMonth" type="s:string" />
> <wsdl:part name="DOBYear" type="s:string" />
> <wsdl:part name="Adr1" type="s:string" />
> <wsdl:part name="Adr2" type="s:string" />
> <wsdl:part name="Town" type="s:string" />
> <wsdl:part name="County" type="s:string" />
> <wsdl:part name="Postcode" type="s:string" />
> <wsdl:part name="Home_Phone" type="s:string" />
> <wsdl:part name="Work_Phone" type="s:string" />
> <wsdl:part name="Mobile_Phone" type="s:string" />
> <wsdl:part name="Email" type="s:string" />
> <wsdl:part name="Mortgage_Type" type="s:string" />
> <wsdl:part name="Mortgage_Size" type="s:string" />
> <wsdl:part name="Property_Value" type="s:string" />
> <wsdl:part name="Mortgage_Time_Scale" type="s:string" />
> <wsdl:part name="Payment_Term" type="s:string" />
> <wsdl:part name="Other_Info" type="s:string" />
> <wsdl:part name="SelfCert" type="s:string" />
> <wsdl:part name="BadCredit" type="s:string" />
> <wsdl:part name="FTB" type="s:string" />
> <wsdl:part name="FP" type="s:string" />
> <wsdl:part name="AffiliateID" type="s:string" />
> <wsdl:part name="Password" type="s:string" />
> </wsdl:message>
> <wsdl:message name="ProcessLeadHttpPostOut">
> <wsdl:part name="Body" />
> </wsdl:message>
> <wsdl:portType name="ProcessLeadWebserviceSoap">
> <wsdl:operation name="ProcessLead">
> <wsdl:input message="tns:ProcessLeadSoapIn" />
> <wsdl:output message="tns:ProcessLeadSoapOut" />
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:portType name="ProcessLeadWebserviceHttpGet">
> <wsdl:operation name="ProcessLead">
> <wsdl:input message="tns:ProcessLeadHttpGetIn" />
> <wsdl:output message="tns:ProcessLeadHttpGetOut" />
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:portType name="ProcessLeadWebserviceHttpPost">
> <wsdl:operation name="ProcessLead">
> <wsdl:input message="tns:ProcessLeadHttpPostIn" />
> <wsdl:output message="tns:ProcessLeadHttpPostOut" />
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:binding name="ProcessLeadWebserviceSoap"
> type="tns:ProcessLeadWebserviceSoap">
> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document" />
> <wsdl:operation name="ProcessLead">
> <soap:operation soapAction="http://leadbay.co.uk/ProcessLead"
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:binding name="ProcessLeadWebserviceHttpGet"
> type="tns:ProcessLeadWebserviceHttpGet">
> <http:binding verb="GET" />
> <wsdl:operation name="ProcessLead">
> <http:operation location="/ProcessLead" />
> <wsdl:input>
> <http:urlEncoded />
> </wsdl:input>
> <wsdl:output>
> <mime:content part="Body" type="text/xml" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:binding name="ProcessLeadWebserviceHttpPost"
> type="tns:ProcessLeadWebserviceHttpPost">
> <http:binding verb="POST" />
> <wsdl:operation name="ProcessLead">
> <http:operation location="/ProcessLead" />
> <wsdl:input>
> <mime:content type="application/x-www-form-urlencoded" />
> </wsdl:input>
> <wsdl:output>
> <mime:content part="Body" type="text/xml" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:service name="ProcessLeadWebservice">
> <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
> <wsdl:port name="ProcessLeadWebserviceSoap"
> binding="tns:ProcessLeadWebserviceSoap">
> <soap:address
> location="http://test.leadbay.co.uk/webservice/process_lead_webservice.asp
x"
> />
> </wsdl:port>
> <wsdl:port name="ProcessLeadWebserviceHttpGet"
> binding="tns:ProcessLeadWebserviceHttpGet">
> <http:address
> location="http://test.leadbay.co.uk/webservice/process_lead_webservice.asp
x"
> />
> </wsdl:port>
> <wsdl:port name="ProcessLeadWebserviceHttpPost"
> binding="tns:ProcessLeadWebserviceHttpPost">
> <http:address
> location="http://test.leadbay.co.uk/webservice/process_lead_webservice.asp
x"
> />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
[ Post a follow-up to this message ]
|