|
Home > Archive > BizTalk Server General > February 2006 > WSE 2.0 Adapter problem
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 |
WSE 2.0 Adapter problem
|
|
|
| I use the WSE 2.0 Adapter on a send port to send an XML message to a web
service. The XML contains a root node, a parent node, and multiple child
nodes. When the receiving gets the message, the collection is empty.
I have logged the XML just prior to sending to the send port. The XML
matches the published XML.
The receiving party is asking me if I can trap the message with the SOAP
envelope and SOAP body so that we can see what's wrong. How would I do that?
Thanks in advance.
Mo
| |
| Tomas Restrepo \(MVP\) 2006-02-23, 2:53 am |
| Mo,
>I use the WSE 2.0 Adapter on a send port to send an XML message to a web
> service. The XML contains a root node, a parent node, and multiple child
> nodes. When the receiving gets the message, the collection is empty.
>
> I have logged the XML just prior to sending to the send port. The XML
> matches the published XML.
>
> The receiving party is asking me if I can trap the message with the SOAP
> envelope and SOAP body so that we can see what's wrong. How would I do
> that?
Sounds like a namespace problem to me.
I think you can just modify the BTSNTSvc.exe.config file to enable WSE's
tracing support to log requests to text files to catch them, btw. Remember
you''ll need to restart your biztalk hosts for the changes to take effect,
though.
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
| |
|
| Thanks. I turned on the log trace.
But, how can I see whether the SOAP envelope getting sent looks like what
the WebService says it wants:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
I am confident that the body is good - have been able to compare the XML
that I log to what the webservice wants. But can't see the header anywhere...
Thanks in advance.
Mo
"Tomas Restrepo (MVP)" wrote:
> Mo,
>
>
> Sounds like a namespace problem to me.
>
> I think you can just modify the BTSNTSvc.exe.config file to enable WSE's
> tracing support to log requests to text files to catch them, btw. Remember
> you''ll need to restart your biztalk hosts for the changes to take effect,
> though.
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>
| |
| Tomas Restrepo \(MVP\) 2006-02-26, 10:47 am |
| Mo,
> Thanks. I turned on the log trace.
>
> But, how can I see whether the SOAP envelope getting sent looks like what
> the WebService says it wants:
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>
> I am confident that the body is good - have been able to compare the XML
> that I log to what the webservice wants. But can't see the header
> anywhere...
You'll just have to compare it sort of manually. It's not very easy, I know,
but you'll just have to see the service's WSDL and compare the inline XSD
for the messages with what's in your SOAP envelope's body.
If you post them, we'll be happy to lend a hand.
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
| |
|
| Thanks for offering to lend a hand. I am reluctant to post the wdsl and xsd
since they are very large. I don't see a way to attach docs, here. I will see
if I can send you an email with the attachments.
Thanks,
Mo
"Tomas Restrepo (MVP)" wrote:
> Mo,
>
>
> You'll just have to compare it sort of manually. It's not very easy, I know,
> but you'll just have to see the service's WSDL and compare the inline XSD
> for the messages with what's in your SOAP envelope's body.
>
> If you post them, we'll be happy to lend a hand.
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>
| |
|
| Tomas, thanks for your time and your advice. It did turn out to be a
namespace issue. I had changed a node from "Qualified" to "Unqualified" and
that was what caused the problem. When I returned it to "Qualified", all was
well.
Many thanks.
Mo
"Tomas Restrepo (MVP)" wrote:
> Mo,
>
>
> You'll just have to compare it sort of manually. It's not very easy, I know,
> but you'll just have to see the service's WSDL and compare the inline XSD
> for the messages with what's in your SOAP envelope's body.
>
> If you post them, we'll be happy to lend a hand.
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>
|
|
|
|
|