|
Home > Archive > BizTalk Server General > August 2004 > Web service issue
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]
|
|
| ian.thomas@online.nospam 2004-08-11, 5:52 pm |
| Hi,
I'm currently having a problem that is driving me nuts and I was hoping
someone has experienced something similar.
I've basically got an orchestration that is exposes a port as a web service.
I then have a second orchestration that consumes this web service with a
message of the type generated by the web reference created from the wsdl of
the consumed service.
The issue is that although I use a transform to set up the parameters in the
message to be sent to the web service by the time the message arrives at the
invoked orchestration some of the data is still there, some has disappeared
completely and some new data has appeared.
I have debugged the orchestration and just before the send shape I can
confirm that the message to be despatched to the web service does have the
correct data in it. I have then also debugged the invoked orchestration and
confirmed that the message is incorrect by the time it is received.
Interestingly, though, I have also used the soap toolkit to examine the
message on the wire and the incorrect message is being sent, so it would
appear to be a problem at the sending end.
As a result it would seem that sometime between the creation of the message
to be sent and the actual physical building of the soap message the
underlying engine is messing up my message.
Anybody got any ideas why this might be happening?
Help!
Ian
| |
| ian.thomas@online.nospam 2004-08-11, 5:53 pm |
| Some extra information that I've worked out since:
- The extra information was appearing because there were mandatory fields I
hadn't set which the soap toolkit was obviously creating elements for
- The data that I've set up in the message via the transform only disappears
from the soap message if the values are the default ones
Hence i still have a problem but it's slightly different: for some reason
whenever I set elements up in the message that have the default values the
soap infrastructure seems to ignore them and not send them to the server. In
order to test this propostion I have set the elements to non-default values
in the transform instead and these are successfully passed to the server.
Why would default values that I have explicitly set in the message not turn
up in the soap message?
Thanks again
Ian
"ian.thomas@online.nospam" wrote:
> Hi,
>
> I'm currently having a problem that is driving me nuts and I was hoping
> someone has experienced something similar.
>
> I've basically got an orchestration that is exposes a port as a web service.
>
> I then have a second orchestration that consumes this web service with a
> message of the type generated by the web reference created from the wsdl of
> the consumed service.
>
> The issue is that although I use a transform to set up the parameters in the
> message to be sent to the web service by the time the message arrives at the
> invoked orchestration some of the data is still there, some has disappeared
> completely and some new data has appeared.
>
> I have debugged the orchestration and just before the send shape I can
> confirm that the message to be despatched to the web service does have the
> correct data in it. I have then also debugged the invoked orchestration and
> confirmed that the message is incorrect by the time it is received.
> Interestingly, though, I have also used the soap toolkit to examine the
> message on the wire and the incorrect message is being sent, so it would
> appear to be a problem at the sending end.
>
> As a result it would seem that sometime between the creation of the message
> to be sent and the actual physical building of the soap message the
> underlying engine is messing up my message.
>
> Anybody got any ideas why this might be happening?
>
> Help!
>
> Ian
| |
| larry franks 2004-08-11, 5:53 pm |
| Hi Ian, this is by design. We use XML serialization (from the .net
namespace) to put the message into the messagebox. XML serialization knows
about the schema and if there is an element that contains a value matching
the default value then it won't be serialized as the schema already
describes it.
I think this may be a SOAP standard thing based on serialization rule 9
listed at http://www.w3.org/TR/2001/WD-soap12...11217/#encrules ,
but at the least it's by design in the serializer we use.
If you need to populate fields with a default value and you're using SOAP,
then you'll need to use a map or logic in an orchestration to check for an
empty element and fill in the value you want.
If you'd like to change this behavior you can open a case with Microsoft
Product Support Services and file a design change request against the
product. You can also send mail to ebizwish@microsoft.com detailing this
issue and suggesting that this be changed for future versions of the
product.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Thread-Topic: Web service issue
| thread-index: AcR/vYSaFInuIsEJSR2+3GqUfoqdDg==
| X-WBNR-Posting-Host: 194.63.116.72
| From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
<ian.thomas@online.nospam>
| References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
| Subject: RE: Web service issue
| Date: Wed, 11 Aug 2004 09:09:02 -0700
| Lines: 55
| Message-ID: <0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18335
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| Some extra information that I've worked out since:
|
| - The extra information was appearing because there were mandatory fields
I
| hadn't set which the soap toolkit was obviously creating elements for
| - The data that I've set up in the message via the transform only
disappears
| from the soap message if the values are the default ones
|
| Hence i still have a problem but it's slightly different: for some reason
| whenever I set elements up in the message that have the default values
the
| soap infrastructure seems to ignore them and not send them to the server.
In
| order to test this propostion I have set the elements to non-default
values
| in the transform instead and these are successfully passed to the server.
|
| Why would default values that I have explicitly set in the message not
turn
| up in the soap message?
|
| Thanks again
|
| Ian
|
| "ian.thomas@online.nospam" wrote:
|
| > Hi,
| >
| > I'm currently having a problem that is driving me nuts and I was hoping
| > someone has experienced something similar.
| >
| > I've basically got an orchestration that is exposes a port as a web
service.
| >
| > I then have a second orchestration that consumes this web service with
a
| > message of the type generated by the web reference created from the
wsdl of
| > the consumed service.
| >
| > The issue is that although I use a transform to set up the parameters
in the
| > message to be sent to the web service by the time the message arrives
at the
| > invoked orchestration some of the data is still there, some has
disappeared
| > completely and some new data has appeared.
| >
| > I have debugged the orchestration and just before the send shape I can
| > confirm that the message to be despatched to the web service does have
the
| > correct data in it. I have then also debugged the invoked
orchestration and
| > confirmed that the message is incorrect by the time it is received.
| > Interestingly, though, I have also used the soap toolkit to examine the
| > message on the wire and the incorrect message is being sent, so it
would
| > appear to be a problem at the sending end.
| >
| > As a result it would seem that sometime between the creation of the
message
| > to be sent and the actual physical building of the soap message the
| > underlying engine is messing up my message.
| >
| > Anybody got any ideas why this might be happening?
| >
| > Help!
| >
| > Ian
|
| |
| ian.thomas@online.nospam 2004-08-12, 7:49 am |
| Larry,
Thanks for the response. Can I just check something, though: I am setting
the values for the elements in a map within the orchestration directly before
the send shape. I can see (via orch debug in HAT) that the message contains
the elements that I want to send. When should I be checking whether they are
empty since as far as I can see my last chance to do this is in the map
directly before the send?
Although the values have been explictly set within the orch, though, they
are still being thrown away by the serializer. This is causing some problems
on the server side as although I want the values to be default I still want
the elements to exist in the message rather than not be there at all.
Thanks again
Ian
""larry franks"" wrote:
> Hi Ian, this is by design. We use XML serialization (from the .net
> namespace) to put the message into the messagebox. XML serialization knows
> about the schema and if there is an element that contains a value matching
> the default value then it won't be serialized as the schema already
> describes it.
> I think this may be a SOAP standard thing based on serialization rule 9
> listed at http://www.w3.org/TR/2001/WD-soap12...11217/#encrules ,
> but at the least it's by design in the serializer we use.
>
> If you need to populate fields with a default value and you're using SOAP,
> then you'll need to use a map or logic in an orchestration to check for an
> empty element and fill in the value you want.
>
> If you'd like to change this behavior you can open a case with Microsoft
> Product Support Services and file a design change request against the
> product. You can also send mail to ebizwish@microsoft.com detailing this
> issue and suggesting that this be changed for future versions of the
> product.
>
> Larry Franks
>
> This posting is provided "AS IS" with no warranties,and confers no rights.
> Subscribe at
> http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn
> --------------------
> | Thread-Topic: Web service issue
> | thread-index: AcR/vYSaFInuIsEJSR2+3GqUfoqdDg==
> | X-WBNR-Posting-Host: 194.63.116.72
> | From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
> <ian.thomas@online.nospam>
> | References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
> | Subject: RE: Web service issue
> | Date: Wed, 11 Aug 2004 09:09:02 -0700
> | Lines: 55
> | Message-ID: <0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18335
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | Some extra information that I've worked out since:
> |
> | - The extra information was appearing because there were mandatory fields
> I
> | hadn't set which the soap toolkit was obviously creating elements for
> | - The data that I've set up in the message via the transform only
> disappears
> | from the soap message if the values are the default ones
> |
> | Hence i still have a problem but it's slightly different: for some reason
> | whenever I set elements up in the message that have the default values
> the
> | soap infrastructure seems to ignore them and not send them to the server.
> In
> | order to test this propostion I have set the elements to non-default
> values
> | in the transform instead and these are successfully passed to the server.
> |
> | Why would default values that I have explicitly set in the message not
> turn
> | up in the soap message?
> |
> | Thanks again
> |
> | Ian
> |
> | "ian.thomas@online.nospam" wrote:
> |
> | > Hi,
> | >
> | > I'm currently having a problem that is driving me nuts and I was hoping
> | > someone has experienced something similar.
> | >
> | > I've basically got an orchestration that is exposes a port as a web
> service.
> | >
> | > I then have a second orchestration that consumes this web service with
> a
> | > message of the type generated by the web reference created from the
> wsdl of
> | > the consumed service.
> | >
> | > The issue is that although I use a transform to set up the parameters
> in the
> | > message to be sent to the web service by the time the message arrives
> at the
> | > invoked orchestration some of the data is still there, some has
> disappeared
> | > completely and some new data has appeared.
> | >
> | > I have debugged the orchestration and just before the send shape I can
> | > confirm that the message to be despatched to the web service does have
> the
> | > correct data in it. I have then also debugged the invoked
> orchestration and
> | > confirmed that the message is incorrect by the time it is received.
> | > Interestingly, though, I have also used the soap toolkit to examine the
> | > message on the wire and the incorrect message is being sent, so it
> would
> | > appear to be a problem at the sending end.
> | >
> | > As a result it would seem that sometime between the creation of the
> message
> | > to be sent and the actual physical building of the soap message the
> | > underlying engine is messing up my message.
> | >
> | > Anybody got any ideas why this might be happening?
> | >
> | > Help!
> | >
> | > Ian
> |
>
>
| |
| larry franks 2004-08-12, 5:52 pm |
| The reason they are thrown away is because of the default values specified
in the schema. Remove the default values in the schema and instead use the
map to populate any empty elements. The issue appears to only occur when
you have default values in the schema.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Thread-Topic: Web service issue
| thread-index: AcSATAIbcfy22jdHQ0updzWl4kHT9w==
| X-WBNR-Posting-Host: 81.155.252.147
| From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
<ian.thomas@online.nospam>
| References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
<0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
<gzlEJq8fEHA.3636@cpmsftngxa06.phx.gbl>
| Subject: RE: Web service issue
| Date: Thu, 12 Aug 2004 02:09:01 -0700
| Lines: 145
| Message-ID: <B9E7DE01-BA44-4373-9EFE-8C404684F231@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18370
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| Larry,
|
| Thanks for the response. Can I just check something, though: I am
setting
| the values for the elements in a map within the orchestration directly
before
| the send shape. I can see (via orch debug in HAT) that the message
contains
| the elements that I want to send. When should I be checking whether they
are
| empty since as far as I can see my last chance to do this is in the map
| directly before the send?
|
| Although the values have been explictly set within the orch, though, they
| are still being thrown away by the serializer. This is causing some
problems
| on the server side as although I want the values to be default I still
want
| the elements to exist in the message rather than not be there at all.
|
| Thanks again
|
| Ian
|
| ""larry franks"" wrote:
|
| > Hi Ian, this is by design. We use XML serialization (from the .net
| > namespace) to put the message into the messagebox. XML serialization
knows
| > about the schema and if there is an element that contains a value
matching
| > the default value then it won't be serialized as the schema already
| > describes it.
| > I think this may be a SOAP standard thing based on serialization rule 9
| > listed at http://www.w3.org/TR/2001/WD-soap12...11217/#encrules
,
| > but at the least it's by design in the serializer we use.
| >
| > If you need to populate fields with a default value and you're using
SOAP,
| > then you'll need to use a map or logic in an orchestration to check for
an
| > empty element and fill in the value you want.
| >
| > If you'd like to change this behavior you can open a case with
Microsoft
| > Product Support Services and file a design change request against the
| > product. You can also send mail to ebizwish@microsoft.com detailing
this
| > issue and suggesting that this be changed for future versions of the
| > product.
| >
| > Larry Franks
| >
| > This posting is provided "AS IS" with no warranties,and confers no
rights.
| > Subscribe at
| >
http://support.microsoft.com/defaul...msdn/nospam.asp
| > &SD=msdn
| > --------------------
| > | Thread-Topic: Web service issue
| > | thread-index: AcR/vYSaFInuIsEJSR2+3GqUfoqdDg==
| > | X-WBNR-Posting-Host: 194.63.116.72
| > | From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
| > <ian.thomas@online.nospam>
| > | References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
| > | Subject: RE: Web service issue
| > | Date: Wed, 11 Aug 2004 09:09:02 -0700
| > | Lines: 55
| > | Message-ID: <0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.biztalk.general
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18335
| > | X-Tomcat-NG: microsoft.public.biztalk.general
| > |
| > | Some extra information that I've worked out since:
| > |
| > | - The extra information was appearing because there were mandatory
fields
| > I
| > | hadn't set which the soap toolkit was obviously creating elements for
| > | - The data that I've set up in the message via the transform only
| > disappears
| > | from the soap message if the values are the default ones
| > |
| > | Hence i still have a problem but it's slightly different: for some
reason
| > | whenever I set elements up in the message that have the default
values
| > the
| > | soap infrastructure seems to ignore them and not send them to the
server.
| > In
| > | order to test this propostion I have set the elements to non-default
| > values
| > | in the transform instead and these are successfully passed to the
server.
| > |
| > | Why would default values that I have explicitly set in the message
not
| > turn
| > | up in the soap message?
| > |
| > | Thanks again
| > |
| > | Ian
| > |
| > | "ian.thomas@online.nospam" wrote:
| > |
| > | > Hi,
| > | >
| > | > I'm currently having a problem that is driving me nuts and I was
hoping
| > | > someone has experienced something similar.
| > | >
| > | > I've basically got an orchestration that is exposes a port as a web
| > service.
| > | >
| > | > I then have a second orchestration that consumes this web service
with
| > a
| > | > message of the type generated by the web reference created from the
| > wsdl of
| > | > the consumed service.
| > | >
| > | > The issue is that although I use a transform to set up the
parameters
| > in the
| > | > message to be sent to the web service by the time the message
arrives
| > at the
| > | > invoked orchestration some of the data is still there, some has
| > disappeared
| > | > completely and some new data has appeared.
| > | >
| > | > I have debugged the orchestration and just before the send shape I
can
| > | > confirm that the message to be despatched to the web service does
have
| > the
| > | > correct data in it. I have then also debugged the invoked
| > orchestration and
| > | > confirmed that the message is incorrect by the time it is received.
| > | > Interestingly, though, I have also used the soap toolkit to examine
the
| > | > message on the wire and the incorrect message is being sent, so it
| > would
| > | > appear to be a problem at the sending end.
| > | >
| > | > As a result it would seem that sometime between the creation of the
| > message
| > | > to be sent and the actual physical building of the soap message the
| > | > underlying engine is messing up my message.
| > | >
| > | > Anybody got any ideas why this might be happening?
| > | >
| > | > Help!
| > | >
| > | > Ian
| > |
| >
| >
|
| |
| ian.thomas@online.nospam 2004-08-12, 5:52 pm |
| Larry,
Thanks. Have removed the default values and everything now works fine.
I'm on a hideously steep learning curve at the moment whilst building a
really complicated POC and so am really struggling ! Your help is much
appreciated.
Thanks again
Ian
""larry franks"" wrote:
> The reason they are thrown away is because of the default values specified
> in the schema. Remove the default values in the schema and instead use the
> map to populate any empty elements. The issue appears to only occur when
> you have default values in the schema.
>
> Larry Franks
>
> This posting is provided "AS IS" with no warranties,and confers no rights.
> Subscribe at
> http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn
> --------------------
> | Thread-Topic: Web service issue
> | thread-index: AcSATAIbcfy22jdHQ0updzWl4kHT9w==
> | X-WBNR-Posting-Host: 81.155.252.147
> | From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
> <ian.thomas@online.nospam>
> | References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
> <0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
> <gzlEJq8fEHA.3636@cpmsftngxa06.phx.gbl>
> | Subject: RE: Web service issue
> | Date: Thu, 12 Aug 2004 02:09:01 -0700
> | Lines: 145
> | Message-ID: <B9E7DE01-BA44-4373-9EFE-8C404684F231@microsoft.com>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18370
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | Larry,
> |
> | Thanks for the response. Can I just check something, though: I am
> setting
> | the values for the elements in a map within the orchestration directly
> before
> | the send shape. I can see (via orch debug in HAT) that the message
> contains
> | the elements that I want to send. When should I be checking whether they
> are
> | empty since as far as I can see my last chance to do this is in the map
> | directly before the send?
> |
> | Although the values have been explictly set within the orch, though, they
> | are still being thrown away by the serializer. This is causing some
> problems
> | on the server side as although I want the values to be default I still
> want
> | the elements to exist in the message rather than not be there at all.
> |
> | Thanks again
> |
> | Ian
> |
> | ""larry franks"" wrote:
> |
> | > Hi Ian, this is by design. We use XML serialization (from the .net
> | > namespace) to put the message into the messagebox. XML serialization
> knows
> | > about the schema and if there is an element that contains a value
> matching
> | > the default value then it won't be serialized as the schema already
> | > describes it.
> | > I think this may be a SOAP standard thing based on serialization rule 9
> | > listed at http://www.w3.org/TR/2001/WD-soap12...11217/#encrules
> ,
> | > but at the least it's by design in the serializer we use.
> | >
> | > If you need to populate fields with a default value and you're using
> SOAP,
> | > then you'll need to use a map or logic in an orchestration to check for
> an
> | > empty element and fill in the value you want.
> | >
> | > If you'd like to change this behavior you can open a case with
> Microsoft
> | > Product Support Services and file a design change request against the
> | > product. You can also send mail to ebizwish@microsoft.com detailing
> this
> | > issue and suggesting that this be changed for future versions of the
> | > product.
> | >
> | > Larry Franks
> | >
> | > This posting is provided "AS IS" with no warranties,and confers no
> rights.
> | > Subscribe at
> | >
> http://support.microsoft.com/defaul...msdn/nospam.asp
> | > &SD=msdn
> | > --------------------
> | > | Thread-Topic: Web service issue
> | > | thread-index: AcR/vYSaFInuIsEJSR2+3GqUfoqdDg==
> | > | X-WBNR-Posting-Host: 194.63.116.72
> | > | From: =?Utf-8?B?aWFuLnRob21hc0BvbmxpbmUubm9zcGFt?=
> | > <ian.thomas@online.nospam>
> | > | References: <B1B6C115-8D2E-4EC3-AE5D-D7FE7063032C@microsoft.com>
> | > | Subject: RE: Web service issue
> | > | Date: Wed, 11 Aug 2004 09:09:02 -0700
> | > | Lines: 55
> | > | Message-ID: <0A50CA70-4542-4624-AD79-24790A75EFA5@microsoft.com>
> | > | MIME-Version: 1.0
> | > | Content-Type: text/plain;
> | > | charset="Utf-8"
> | > | Content-Transfer-Encoding: 7bit
> | > | X-Newsreader: Microsoft CDO for Windows 2000
> | > | Content-Class: urn:content-classes:message
> | > | Importance: normal
> | > | Priority: normal
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | > | Newsgroups: microsoft.public.biztalk.general
> | > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> | > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | > | Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:18335
> | > | X-Tomcat-NG: microsoft.public.biztalk.general
> | > |
> | > | Some extra information that I've worked out since:
> | > |
> | > | - The extra information was appearing because there were mandatory
> fields
> | > I
> | > | hadn't set which the soap toolkit was obviously creating elements for
> | > | - The data that I've set up in the message via the transform only
> | > disappears
> | > | from the soap message if the values are the default ones
> | > |
> | > | Hence i still have a problem but it's slightly different: for some
> reason
> | > | whenever I set elements up in the message that have the default
> values
> | > the
> | > | soap infrastructure seems to ignore them and not send them to the
> server.
> | > In
> | > | order to test this propostion I have set the elements to non-default
> | > values
> | > | in the transform instead and these are successfully passed to the
> server.
> | > |
> | > | Why would default values that I have explicitly set in the message
> not
> | > turn
> | > | up in the soap message?
> | > |
> | > | Thanks again
> | > |
> | > | Ian
> | > |
> | > | "ian.thomas@online.nospam" wrote:
> | > |
> | > | > Hi,
> | > | >
> | > | > I'm currently having a problem that is driving me nuts and I was
> hoping
> | > | > someone has experienced something similar.
> | > | >
> | > | > I've basically got an orchestration that is exposes a port as a web
> | > service.
> | > | >
> | > | > I then have a second orchestration that consumes this web service
> with
> | > a
> | > | > message of the type generated by the web reference created from the
> | > wsdl of
> | > | > the consumed service.
> | > | >
> | > | > The issue is that although I use a transform to set up the
> parameters
> | > in the
> | > | > message to be sent to the web service by the time the message
> arrives
> | > at the
> | > | > invoked orchestration some of the data is still there, some has
> | > disappeared
> | > | > completely and some new data has appeared.
> | > | >
> | > | > I have debugged the orchestration and just before the send shape I
> can
> | > | > confirm that the message to be despatched to the web service does
> have
> | > the
> | > | > correct data in it. I have then also debugged the invoked
> | > orchestration and
> | > | > confirmed that the message is incorrect by the time it is received.
>
> | > | > Interestingly, though, I have also used the soap toolkit to examine
> the
> | > | > message on the wire and the incorrect message is being sent, so it
> | > would
> | > | > appear to be a problem at the sending end.
> | > | >
> | > | > As a result it would seem that sometime between the creation of the
> | > message
> | > | > to be sent and the actual physical building of the soap message the
> | > | > underlying engine is messing up my message.
> | > | >
> | > | > Anybody got any ideas why this might be happening?
> | > | >
> | > | > Help!
> | > | >
> | > | > Ian
> | > |
> | >
> | >
> |
>
>
|
|
|
|
|