Home Page › Forums › BizTalk 2004 – BizTalk 2010 › The part ‘input_xml’ of message ‘WebRequest_doc’ contained a null value at the end of the construct block › Re: The part ‘input_xml’ of message ‘WebRequest_doc’ contained a null value at the end of the construct block
Hi Tom,
Thanks for your time and help.
The web service’s request multi part message has only one part, namely input_xml and in Message Assignment shape’s expression this part is assigned value from input message like WebRequest_doc.input_xml = InboundDoc.input_xml; I also tried hard coding value into the part like WebRequest_doc.input_xml = “1234”; but I get the same error. The part input_xml is of String type and I need to pass a XML string to web method.
The web method’s description(Request/Response) in browser shows as below:
POST /c9sl/html/ISvcInterface.asmx HTTP/1.1 Host: lrk4aa Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.smek.com/imaging/240/AcquireDocuments" <?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" xmlnsoap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AcquireDocuments xmlns="http://www.smek.com/imaging/240"> <input_xml>string</input_xml> </AcquireDocuments> </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" xmlnsoap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AcquireDocumentsResponse xmlns="http://www.smek.com/imaging/240"> <AcquireDocumentsResult>string</AcquireDocumentsResult> </AcquireDocumentsResponse> </soap:Body> </soap:Envelope>
Thanks & Regards,
Sharad