Talk About Network

Google





Software > Biz Talk Application Integration > Problem consumi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1238 of 1303
Post > Topic >>

Problem consuming a .NET web service from Biztalk

by =?Utf-8?B?eG1hbjcx?= <xman71@[EMAIL PROTECTED] > Jun 2, 2008 at 12:01 PM

Hi all,

    I am running into this issue when trying to consume a .NET remote web 
service from a Biztalk 2004 orchestration. In my orchestration, I have a 
scope shape, where the send and receive shapes calling the web service
****t 
are located, and an exception handler shape to output (to a file) any SOAP

exception messages generated from the web service call.
    When I run the orchestration, I get the following message output in
the 
error file:

  <?xml version="1.0" ?> 
  <string><ns0:NACK Type="NACK" 
xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{5CB0B401-8765-4BBB-BFAC-21272021256C}</NAckID><ErrorCode>System.InvalidOperationException:

There is an error in XML do***ent (1, 2). ---> 
System.InvalidOperationException: <Envelope 
xmlns='http://schemas.xmlsoap.org/soap/envelope/'>
was not expected. at 
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read4_GetPayees()

--- End of inner exception stack trace --- at 
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, 
String encodingStyle, XmlDeserializationEvents events) at 
System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, 
XmlDeserializationEvents events) at 
System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at 
Microsoft.BizTalk.Soap.SoapMessage.DeserializeMessagePart(Type type,
Stream 
stream) at Microsoft.BizTalk.Soap.SoapMessage.DeserializeParameters() at 
Microsoft.BizTalk.Soap.SoapMessage.SetMethodAndParameters(String
operation) 
at Microsoft.BizTalk.Soap.SoapMessage.GetMethod(String operation) at 
Microsoft.BizTalk.Soap.SoapMessage.Prepare() at 
Microsoft.BizTalk.SoapTrans****t.ProcessMessage(IBaseMessage 
message)</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>There

is an error in XML do***ent (1,
2).</ErrorDescription><ErrorDetail><Envelope 
xmlns='http://schemas.xmlsoap.org/soap/envelope/'>
was not 
expected.</ErrorDetail></ns0:NACK></string> 

    The web service request operation gets passed the following XML
content:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:urn="urn:bmchp.org:production:clckservice:messages:v1">
  <soapenv:Header />
  <soapenv:Body>
    <urn:GetPayees />
  </soapenv:Body>
</soapenv:Envelope>

    I have verified that this XML content is well-formed and tested it
using 
SoapUI tool, which returns the appropriate response. I have googled around

and have not found any information that would help me resolve this issue,
so 
I am hoping that someone on this forum can point me in the right
direction...

    Thanks for any help you can provide!

    Daniel.
 




 3 Posts in Topic:
Problem consuming a .NET web service from Biztalk
=?Utf-8?B?eG1hbjcx?= <  2008-06-02 12:01:03 
RE: Problem consuming a .NET web service from Biztalk
=?Utf-8?B?UmFuZGFsIHZhbiB  2008-06-03 23:38:00 
RE: Problem consuming a .NET web service from Biztalk
=?Utf-8?B?eG1hbjcx?= <  2008-06-04 07:11:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 22:35:11 PST 2009.