12-06-05 10:54 PM
Samuel,
> I have exposed an orchestration as a web service and it seems to work
> fine...
> It is very simple, it just receives and sends a message of a schema type
> like this:
> <root>
> <name>ett</name>
> </root>
>
> It works fine to add a web reference to this WS in BizTalk.
> But when I set the maxOccurences property of the name-node to unbounded,
> something gets really messed. After re-deploying and re-publishing, I
> cannot
> add a web reference to this WS...
>
> The WS is found by the wizard, but when trying to add it an error message
> appears: "Failed to add a web reference". Additionally nothing in
> eventlog.
>
> Why?
BizTalk 2004 doesn't support array parameters in webservices directly in the
SOAP adapter (see
http://msdn.microsoft.com/library/d...abc4dd1d1fa.asp),
though they are supported in 2006.
My guess is that because of the way orchestrations are exposed as WS, you're
seeing this.
Two options come to mind:
- Don't directly call the webservice from biztalk, but wrap it in a .NET
component you call from the orchestration from an expression shape.
- Use the WSE adapter to do the calling, which I understand supports it.
Are you exposing the webservice and consuming it from the same biztalk
group, or are this separate biztalk groups entirely? Because if it is the
first case, then a much better option would really to avoid the webservice
at all and just use direct binding, instead.
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
[ Post a follow-up to this message ]
|