|
Home > Archive > BizTalk Server General > February 2005 > XML Documents Across Machine Boundaries
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
XML Documents Across Machine Boundaries
|
|
| SriSamp 2005-02-11, 7:58 am |
| I have a web-service residing in a machine (MachineA) that takes as
input an "XMLDocument" and returns back an "XMLNode". An orchestration
runs on another machine (MachineB) that receives an XML document on an
HTTP port and then sends it off to the web-service in MachineA.
Earlier, when the orchestration and web-service were running on a single
machine, I was able to get everything to work. However, when multiple
machines are now involved, I get an "Object reference not set to an
instance ...". Basically, I get this error because I am using the XML
parameter coming in the web-service for further processing.
I tried using the XMLTransmit and PassThroughTransmit when calling the
web-service from the orchestration and both of them give me the same error.
How do I get this to work across machine boundaries?
--
HTH,
SriSamp
Email: srisamp@gmail.com
Blog: http://blogs.sqlxml.org/srinivassampath
URL: http://www32.brinkster.com/srisamp
| |
| Tomas Restrepo \(MVP\) 2005-02-13, 5:48 pm |
| SriSamp,
> I have a web-service residing in a machine (MachineA) that takes as
> input an "XMLDocument" and returns back an "XMLNode". An orchestration
> runs on another machine (MachineB) that receives an XML document on an
> HTTP port and then sends it off to the web-service in MachineA.
>
> Earlier, when the orchestration and web-service were running on a single
> machine, I was able to get everything to work. However, when multiple
> machines are now involved, I get an "Object reference not set to an
> instance ...". Basically, I get this error because I am using the XML
> parameter coming in the web-service for further processing.
>
> I tried using the XMLTransmit and PassThroughTransmit when calling the
> web-service from the orchestration and both of them give me the same
error.
>
> How do I get this to work across machine boundaries?
The fact that you're doing the call across machines should not have anything
to do with the issue... I'd check that the send port is configured
correctly, and use something like TcpTrace to check that BizTalk is indeed
connecting to the remote service and that is coming across the wire in both
directions really is what should be (a common problem is that some changes
where made to the service that affected the message structure, and so you
get a kind of mismatch between what BTS sends and what the service expects,
or vice versa).
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
|
|
|
|
|