Re: Web Reference Problem



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/default.asp?url=/library/en-us/BTS_2004WP/html/5cab05ab-6848-4f6c-8d11-9abc4dd1d1fa.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@xxxxxxxx
http://www.winterdom.com/


.



Relevant Pages

  • RE: question on messages getting lost , BAM.....
    ... You're right that we provide Tracking Profile Editor as an easy way to configure the interceptor for orchestrations. ... have not seen anyone having the need to use the interceptor directly within the orchestration. ... Check that the BizTalk service is still running. ... >also publisher's receive port is exposed as a webservice. ...
    (microsoft.public.biztalk.general)
  • RE: Manual Invokation of orchestration from remote machine.
    ... I have a question regarding the orchestration as a webservice. ... The wizard created the webservice which is in turn calling the ... >> BTSHttpReceive.dll is the piece that allows BizTalk to receive messages from HTTP. ...
    (microsoft.public.biztalk.general)
  • question on messages getting lost , BAM.....
    ... editor when baming orchestration data. ... also publisher's receive port is exposed as a webservice. ... see Help and Support Center at ... 3)when does biztalk archive the bamed data? ...
    (microsoft.public.biztalk.general)
  • Re: There were not enough free threads in the ThreadPool object to com
    ... > i am calling a webservice from a orchestration. ... > has some obne else faced this problem in biztalk 2004.does 'hot fix' fixes ...
    (microsoft.public.biztalk.general)
  • Re: How To use BizTalk Server Synchronous Calls - Pls help
    ... We have separate platform for BizTalk Server, ... orchestraton communicates web services, and executes process steps. ... Orchestration communicates web services. ... When you receive the intial request the pipeline publishes to the messagebox ...
    (microsoft.public.biztalk.general)

Loading