Web Reference Problem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Web Reference Problem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Web Reference Problem  
Samuel L


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-06-05 12:48 PM

Hi!

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?

Thanks for all comments and ideas!







[ Post a follow-up to this message ]



    Re: Web Reference Problem  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Web Reference Problem  
Samuel L


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-06-05 10:54 PM

Thanks for your reply Tomas!

> BizTalk 2004 doesn't support array parameters in webservices
Ok, so the soap representation of the unbounded record is an array, or?

> - Use the WSE adapter to do the calling, which I understand supports it.
Seems like a nice solution... Where can I find it?

> Are you exposing the webservice and consuming it from the same biztalk
> group, or are this separate biztalk groups entirely?
Currently I'm consuming it from the same BizTalk group, but that's just for
development purposes. I want to be able to make a reference to any web
service from my orchestration.

Thanks again!






[ Post a follow-up to this message ]



    Re: Web Reference Problem  
Tomas Restrepo \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-07-05 01:49 AM

Hi Samuel,
 
> Seems like a nice solution... Where can I find it?

It can be downloaded from the MS website:
http://www.microsoft.com/biztalk/ev...
ew.mspx

> Currently I'm consuming it from the same BizTalk group, but that's just
> for
> development purposes. I want to be able to make a reference to any web
> service from my orchestration.

Ohh, of course, I understand. I merely asked because I've seen other people
using it for really group-local only escenarios in ways which are very
inneficient considering how nice direct binding is 


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:26 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register